From: Dennis Gilmore Date: Fri, 11 Dec 2020 11:14:43 -0600 Subject: [PATCH] arm: mvebu: armada-xp-gp.dts: Add spi0 alias In-Reply-To: <20201211044740.1168288-1-sr@denx.de> References: <20201211044740.1168288-1-sr@denx.de> Message-ID: <49c1243fabef3096358413dfdabb3e9f58c65134.camel@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tested-by: Dennis Gilmore On Fri, 2020-12-11 at 05:47 +0100, Stefan Roese wrote: > For correct spi bus detection the spi0 alias is needed in the DT. > Otherwise this error will ocurr in U-Boot: > > Invalid bus 0 (err=-19) > Failed to initialize SPI flash at 0:0 (error -19) > > Signed-off-by: Stefan Roese > Cc: Dennis Gilmore > --- > ?arch/arm/dts/armada-xp-gp.dts | 4 ++++ > ?1 file changed, 4 insertions(+) > > diff --git a/arch/arm/dts/armada-xp-gp.dts b/arch/arm/dts/armada-xp- > gp.dts > index 1139e9469a..d46475fe22 100644 > --- a/arch/arm/dts/armada-xp-gp.dts > +++ b/arch/arm/dts/armada-xp-gp.dts > @@ -31,6 +31,10 @@ > ????????????????stdout-path = "serial0:115200n8"; > ????????}; > ? > +???????aliases { > +???????????????spi0 = &spi0; > +???????}; > + > ????????memory at 0 { > ????????????????device_type = "memory"; > ????????????????/*