diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-09-15 20:14:26 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-09-15 20:18:39 +0200 |
commit | 6364e03736f00591e64cb954858b3da4b3bbdf5d (patch) | |
tree | 5d7d1429333eb677b0c1a35ba18373295054b378 /target/linux/ramips/dts | |
parent | d5cd80a1e8e76c19ddb2c5a00a0320330082c4ff (diff) | |
download | upstream-6364e03736f00591e64cb954858b3da4b3bbdf5d.tar.gz upstream-6364e03736f00591e64cb954858b3da4b3bbdf5d.tar.bz2 upstream-6364e03736f00591e64cb954858b3da4b3bbdf5d.zip |
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 <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi | 8 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts | 10 |
2 files changed, 10 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi index 9bac822872..b8fa634e50 100644 --- a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi +++ b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi @@ -60,14 +60,6 @@ }; }; }; - - spidev@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "linux,spidev"; - reg = <1>; - spi-max-frequency = <10000000>; - }; }; &uart1 { 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>; + }; +}; |