[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mhng-e1c39f7c-9667-4711-b2fc-0875cd0695a9@palmerdabbelt-glaptop>
Date: Tue, 03 Aug 2021 21:18:36 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: bmeng.cn@...il.com
CC: geert@...ux-m68k.org, lewis.hanly@...rochip.com,
Atish Patra <Atish.Patra@....com>,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
bin.meng@...driver.com
Subject: Re: [PATCH 2/2] riscv: dts: microchip: Add ethernet0 to the aliases node
On Tue, 03 Aug 2021 20:55:56 PDT (-0700), bmeng.cn@...il.com wrote:
> On Wed, Aug 4, 2021 at 11:55 AM Palmer Dabbelt <palmer@...belt.com> wrote:
>>
>> On Fri, 16 Jul 2021 04:34:02 PDT (-0700), geert@...ux-m68k.org wrote:
>> > Hi Bin,
>> >
>> > On Fri, Jul 16, 2021 at 12:14 PM Bin Meng <bmeng.cn@...il.com> wrote:
>> >> On Fri, Jul 16, 2021 at 5:23 PM Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
>> >> > On Fri, Jul 2, 2021 at 3:44 AM Bin Meng <bmeng.cn@...il.com> wrote:
>> >> > > --- a/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi
>> >> > > +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi
>> >> > > @@ -9,6 +9,10 @@ / {
>> >> > > model = "Microchip MPFS Icicle Kit";
>> >> > > compatible = "microchip,mpfs-icicle-kit";
>> >> > >
>> >> > > + aliases {
>> >> > > + ethernet0 = &emac1;
>> >> > > + };
>> >> > > +
>> >> > > chosen {
>> >> > > };
>> >> >
>> >> > This should be added to the board DTS (microchip-mpfs-icicle-kit.dts)
>> >> > instead.
>> >>
>> >> I was wondering the same thing before doing this, but when I checked
>> >> all other DTS in arch/riscv/boot I found the aliases node is put in
>> >> the SoC dtsi file instead of the board on so I think that's the
>> >> convention.
>> >
>> > The numbering of the aliases is supposed to match the labels on the
>> > board, hence it is board-specific, not SoC-specific.
>> >
>> > Gr{oetje,eeting}s,
>> >
>> > Geert
>>
>> I don't see a v2 of this.
>
> Will send v2 soon.
Thanks. I'm assuming you're going to send both patches.
Powered by blists - more mailing lists