ramips: only add spidev node in for WrtNode2R (and not for 2P)
authorDaniel Golle <daniel@makrotopia.org>
Sun, 15 Sep 2019 18:14:26 +0000 (20:14 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 15 Sep 2019 18:18:39 +0000 (20:18 +0200)
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>
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts

index 9bac82287242f93ab28bb0bde2ddc9236497b62b..b8fa634e509315ddf5f8380367735372c040a635 100644 (file)
                        };
                };
        };
-
-       spidev@1 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "linux,spidev";
-               reg = <1>;
-               spi-max-frequency = <10000000>;
-       };
 };
 
 &uart1 {
index ccee34416b11bd678d178bffaec366634a6aad62..7defe9c0331dfb7b58b05e8fa51fecbb53029975 100644 (file)
                };
        };
 };
+
+&spi0 {
+       spidev@1 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "linux,spidev";
+               reg = <1>;
+               spi-max-frequency = <10000000>;
+       };
+};