diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-06-24 12:55:52 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-24 12:55:52 +0200 |
commit | 8311c3838af2823f01061ff1312f46159d952d5b (patch) | |
tree | b40fd88723273c4b152c0017fbc3372eb7541ef5 | |
parent | 93da3f428168d0a99318122cb1ea667839ea32d2 (diff) | |
download | master-187ad058-8311c3838af2823f01061ff1312f46159d952d5b.tar.gz master-187ad058-8311c3838af2823f01061ff1312f46159d952d5b.tar.bz2 master-187ad058-8311c3838af2823f01061ff1312f46159d952d5b.zip |
ramips: fix spidev generic nodes
Use linux,spidev compatible string.
Move MZK-DP150N spidev to spi1 node.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r-- | target/linux/ramips/dts/LINKIT7688.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/MZK-DP150N.dts | 6 | ||||
-rw-r--r-- | target/linux/ramips/dts/WRTNODE2.dtsi | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/LINKIT7688.dts b/target/linux/ramips/dts/LINKIT7688.dts index 38863515eb..09a8c987f7 100644 --- a/target/linux/ramips/dts/LINKIT7688.dts +++ b/target/linux/ramips/dts/LINKIT7688.dts @@ -146,7 +146,7 @@ spidev@1 { #address-cells = <1>; #size-cells = <1>; - compatible = "spidev"; + compatible = "linux,spidev"; reg = <1>; spi-max-frequency = <40000000>; }; diff --git a/target/linux/ramips/dts/MZK-DP150N.dts b/target/linux/ramips/dts/MZK-DP150N.dts index b43162fc43..86f82ba59a 100644 --- a/target/linux/ramips/dts/MZK-DP150N.dts +++ b/target/linux/ramips/dts/MZK-DP150N.dts @@ -67,11 +67,13 @@ reg = <0x50000 0x3b0000>; }; }; +}; - spidev@1 { +&spi1 { + spidev@0 { compatible = "linux,spidev"; spi-max-frequency = <10000000>; - reg = <1>; + reg = <0>; }; }; diff --git a/target/linux/ramips/dts/WRTNODE2.dtsi b/target/linux/ramips/dts/WRTNODE2.dtsi index 78e8d3c5fc..0242314dfb 100644 --- a/target/linux/ramips/dts/WRTNODE2.dtsi +++ b/target/linux/ramips/dts/WRTNODE2.dtsi @@ -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>; }; }; |