summaryrefslogtreecommitdiff
path: root/target/linux/ramips
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
parent98204836a4051c9c89a38eb1f72c859aeae3f140 (diff)
downloadmtk-20170518-29db5cae430c098eae5baed2eadb00a6481a0903.zip
mtk-20170518-29db5cae430c098eae5baed2eadb00a6481a0903.tar.gz
mtk-20170518-29db5cae430c098eae5baed2eadb00a6481a0903.tar.bz2
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')
-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 3886351..09a8c98 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 b43162f..86f82ba 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 78e8d3c..0242314 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>;
};
};