]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: kirkwood: add spi0 alias for dreamplug
authorChris Packham <judge.packham@gmail.com>
Thu, 28 Feb 2019 07:53:23 +0000 (20:53 +1300)
committerStefan Roese <sr@denx.de>
Tue, 19 Mar 2019 08:22:05 +0000 (09:22 +0100)
The conversion to DM_SPI managed to break accessing the environment on
dreamplug. This is because the environment code relies on being to able
to select the SPI device based on the sequence number. Add an alias so
that the spi0 bus gets sequence number 0.

Reported-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/kirkwood-dreamplug.dts

index a647a65c20a0dbd3331445956a489f4b38c1f6fa..ccd74dd7fb33cb65a6e4402a952cc883c8b4a245 100644 (file)
                stdout-path = &uart0;
        };
 
+       aliases {
+               spi0 = &spi0;
+       };
+
        ocp@f1000000 {
                pinctrl: pin-controller@10000 {
                        pmx_led_bluetooth: pmx-led-bluetooth {