From 29db5cae430c098eae5baed2eadb00a6481a0903 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Wed, 18 May 2016 16:56:31 +0200 Subject: [PATCH] ramips: fix spidev generic nodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use linux,spidev compatible string. Move MZK-DP150N spidev to spi1 node. Signed-off-by: Álvaro Fernández Rojas --- target/linux/ramips/dts/LINKIT7688.dts | 2 +- target/linux/ramips/dts/MZK-DP150N.dts | 6 ++++-- 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>; }; }; -- 2.30.2