From: Álvaro Fernández Rojas Date: Wed, 18 May 2016 14:56:31 +0000 (+0200) Subject: ramips: fix spidev generic nodes X-Git-Tag: v17.01.0-rc1~2766 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=29db5cae430c098eae5baed2eadb00a6481a0903;p=openwrt%2Fstaging%2Fpepe2k.git ramips: fix spidev generic nodes Use linux,spidev compatible string. Move MZK-DP150N spidev to spi1 node. Signed-off-by: Álvaro Fernández Rojas --- 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>; }; };