From 1ad19867fc485791b4ebe515e2f337c38406d79c Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 28 Feb 2019 20:53:23 +1300 Subject: [PATCH] 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 Signed-off-by: Chris Packham Gbp-Pq: Topic dreamplug Gbp-Pq: Name ARM-kirkwood-add-spi0-alias-for-dreamplug.patch --- arch/arm/dts/kirkwood-dreamplug.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/kirkwood-dreamplug.dts b/arch/arm/dts/kirkwood-dreamplug.dts index a647a65c2..ccd74dd7f 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 { -- 2.30.2