aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-05-18 16:56:31 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2016-05-18 22:08:39 +0200
commit29db5cae430c098eae5baed2eadb00a6481a0903 (patch)
treee4172b4275cb4f88f57a57e5c461e9ec5b9b7f2d /target/linux/ramips/dts
parent98204836a4051c9c89a38eb1f72c859aeae3f140 (diff)
downloadupstream-29db5cae430c098eae5baed2eadb00a6481a0903.tar.gz
upstream-29db5cae430c098eae5baed2eadb00a6481a0903.tar.bz2
upstream-29db5cae430c098eae5baed2eadb00a6481a0903.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>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/LINKIT7688.dts2
-rw-r--r--target/linux/ramips/dts/MZK-DP150N.dts6
-rw-r--r--target/linux/ramips/dts/WRTNODE2.dtsi3
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>;
};
};