From 6364e03736f00591e64cb954858b3da4b3bbdf5d Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 15 Sep 2019 20:14:26 +0200 Subject: ramips: only add spidev node in for WrtNode2R (and not for 2P) Only the 2R version got the STM32 uC connected as 2nd SPI device. Hence move the spidev node from mt7628an_wrtnode_wrtnode2.dtsi to mt7628an_wrtnode_wrtnode2r.dts. Signed-off-by: Daniel Golle --- target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts') diff --git a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts index ccee34416b..7defe9c033 100644 --- a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts +++ b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts @@ -41,3 +41,13 @@ }; }; }; + +&spi0 { + spidev@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "linux,spidev"; + reg = <1>; + spi-max-frequency = <10000000>; + }; +}; -- cgit v1.2.3