summaryrefslogtreecommitdiff
path: root/arch/arm/dts/kirkwood-dreamplug.dts
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2019-02-28 20:53:23 +1300
committerStefan Roese <sr@denx.de>2019-03-19 09:22:05 +0100
commit5860532264326d8eb387ccfd9037792cc6d57fd1 (patch)
treed950360f51f33655b6afe00331ee17be2e98f8b5 /arch/arm/dts/kirkwood-dreamplug.dts
parent1579faf52b9f4df2c896ad6fbb67c11e2efb019a (diff)
ARM: kirkwood: add spi0 alias for dreamplug
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>
Diffstat (limited to 'arch/arm/dts/kirkwood-dreamplug.dts')
-rw-r--r--arch/arm/dts/kirkwood-dreamplug.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/kirkwood-dreamplug.dts b/arch/arm/dts/kirkwood-dreamplug.dts
index a647a65c20a..ccd74dd7fb3 100644
--- a/arch/arm/dts/kirkwood-dreamplug.dts
+++ b/arch/arm/dts/kirkwood-dreamplug.dts
@@ -18,6 +18,10 @@
stdout-path = &uart0;
};
+ aliases {
+ spi0 = &spi0;
+ };
+
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_led_bluetooth: pmx-led-bluetooth {