ramips: fix spidev generic nodes
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 18 May 2016 14:56:31 +0000 (16:56 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 18 May 2016 20:08:39 +0000 (22:08 +0200)
Use linux,spidev compatible string.
Move MZK-DP150N spidev to spi1 node.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/ramips/dts/LINKIT7688.dts
target/linux/ramips/dts/MZK-DP150N.dts
target/linux/ramips/dts/WRTNODE2.dtsi

index 38863515eb65a471a2e96219dca8e7c3caab84f9..09a8c987f7c34ce0230f602fec4a6bec40cbca0e 100644 (file)
        spidev@1 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "spidev";
+               compatible = "linux,spidev";
                reg = <1>;
                spi-max-frequency = <40000000>;
        };
index b43162fc434f08a9518e4c75fe2861db59f498f0..86f82ba59ae416a5cab0d56cc42c9cce9f50951b 100644 (file)
                        reg = <0x50000 0x3b0000>;
                };
        };
+};
 
-       spidev@1 {
+&spi1 {
+       spidev@0 {
                compatible = "linux,spidev";
                spi-max-frequency = <10000000>;
-               reg = <1>;
+               reg = <0>;
        };
 };
 
index 78e8d3c5fcca083906f869d7c3301ef78efdfe43..0242314dfb2f4413d9e5cd9060294682a16ceec1 100644 (file)
@@ -57,9 +57,8 @@
        spidev@1 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "spidev";
+               compatible = "linux,spidev";
                reg = <1>;
-               linux,modalias = "spidev", "spidev";
                spi-max-frequency = <10000000>;
        };
 };