From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sagar Kadam Date: Wed, 24 Jun 2020 06:53:17 +0000 Subject: [PATCH v4 2/4] riscv: dts: hifive-unleashed-a00: add cpu aliases In-Reply-To: References: <1592745008-17196-1-git-send-email-sagar.kadam@sifive.com> <1592745008-17196-3-git-send-email-sagar.kadam@sifive.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Bin, > -----Original Message----- > From: Bin Meng > Sent: Wednesday, June 24, 2020 6:52 AM > To: Sagar Kadam > Cc: U-Boot Mailing List ; Rick Chen > ; Lukasz Majewski ; Jagan Teki > ; Pragnesh Patel > ; Anup Patel ; Simon > Glass ; Sean Anderson > Subject: Re: [PATCH v4 2/4] riscv: dts: hifive-unleashed-a00: add cpu aliases > > [External Email] Do not click links or attachments unless you recognize the > sender and know the content is safe > > Hi Sagar, > > On Sun, Jun 21, 2020 at 9:10 PM Sagar Shrikant Kadam > wrote: > > > > Add cpu aliases to U-Boot specific dtsi for hifive-unleashed. > > Without aliases we see that the CPU device sequence numbers are set > > randomly and the cpu list/detail command will show it as follows: > > => cpu list > > 1: cpu at 0 rv64imac > > 0: cpu at 1 rv64imafdc > > 2: cpu at 2 rv64imafdc > > 3: cpu at 3 rv64imafdc > > 4: cpu at 4 rv64imafdc > > Without this patch, my output does not show the cpu at 0 node in the "cpu > list" output. > > Could you please clarify? I guess my explanation for your query in cover letter follow's here to. I will repost this based on spl. Thanks, Sagar > > > > > Seems like CPU probing with dm-model also relies on aliases as > > observed in case spi. The fu540-c000-u-boot.dtsi has cpu0/1/2/3/4 > > nodes and so adding corresponding aliases we can ensure that cpu > > devices are assigned proper sequence as follows: > > => cpu list > > 0: cpu at 0 rv64imac > > 1: cpu at 1 rv64imafdc > > 2: cpu at 2 rv64imafdc > > 3: cpu at 3 rv64imafdc > > 4: cpu at 4 rv64imafdc > > > > Signed-off-by: Sagar Shrikant Kadam > > Reviewed-by: Pragnesh Patel > > --- > > Regards, > Bin