summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/VOCORE.dts
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 23:24:24 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 23:24:49 +0200
commitca2d447b348acc07b74c8e624771ae7f9bb1fc9e (patch)
treeeb7f968ccfbba1d20aee68af360a7969511a3b9a /target/linux/ramips/dts/VOCORE.dts
parent73cb8a04752365e318f7dc0ea62e174ac136cd01 (diff)
downloadmtk-20170518-ca2d447b348acc07b74c8e624771ae7f9bb1fc9e.zip
mtk-20170518-ca2d447b348acc07b74c8e624771ae7f9bb1fc9e.tar.gz
mtk-20170518-ca2d447b348acc07b74c8e624771ae7f9bb1fc9e.tar.bz2
target/linux/ramips: various DTS updates
Diffstat (limited to 'target/linux/ramips/dts/VOCORE.dts')
-rw-r--r--target/linux/ramips/dts/VOCORE.dts19
1 files changed, 9 insertions, 10 deletions
diff --git a/target/linux/ramips/dts/VOCORE.dts b/target/linux/ramips/dts/VOCORE.dts
index e5df9ab..e6288b0 100644
--- a/target/linux/ramips/dts/VOCORE.dts
+++ b/target/linux/ramips/dts/VOCORE.dts
@@ -22,14 +22,14 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "s25fl064k";
- reg = <0 0>;
+ reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
- read_only;
+ read-only;
};
partition@30000 {
@@ -49,13 +49,19 @@
reg = <0x50000 0x7b0000>;
};
};
+
+ spidev@1 {
+ compatible = "linux,spidev";
+ spi-max-frequency = <10000000>;
+ reg = <1>;
+ };
};
};
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "jtag", "uartf", "led", "spi_cs1";
+ ralink,group = "jtag", "uartf", "led";
ralink,function = "gpio";
};
};
@@ -192,13 +198,6 @@
gpio-export,direction_may_change = <1>;
gpios = <&gpio1 4 0>;
};
-
- /* SPI_CS1 */
- gpio27 {
- gpio-export,name = "gpio27";
- gpio-export,direction_may_change = <1>;
- gpios = <&gpio1 5 0>;
- };
};
gpio-leds {