]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: armada-xp-gp.dts: Add spi0 alias
authorStefan Roese <sr@denx.de>
Fri, 11 Dec 2020 04:47:40 +0000 (05:47 +0100)
committerStefan Roese <sr@denx.de>
Mon, 28 Dec 2020 08:42:06 +0000 (09:42 +0100)
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 <sr@denx.de>
Cc: Dennis Gilmore <dgilmore@redhat.com>
Tested-by: Dennis Gilmore <dgilmore@redhat.com>
arch/arm/dts/armada-xp-gp.dts

index 1139e9469a83792efc102ff2c8dd375d1c5591b3..d46475fe2270921aa248980c911276b48d0fb793 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       aliases {
+               spi0 = &spi0;
+       };
+
        memory@0 {
                device_type = "memory";
                /*