summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/M4-8M.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-09-17 21:45:44 +0000
committerJohn Crispin <john@openwrt.org>2013-09-17 21:45:44 +0000
commit8cd1c997079246942680893adbd21d884e131b84 (patch)
tree2e67af73e7ceed76eba06c8cf1c771dbb9785cda /target/linux/ramips/dts/M4-8M.dts
parent66bed0b0194cfc29bfa477bb525e7618eb696263 (diff)
downloadmtk-20170518-8cd1c997079246942680893adbd21d884e131b84.zip
mtk-20170518-8cd1c997079246942680893adbd21d884e131b84.tar.gz
mtk-20170518-8cd1c997079246942680893adbd21d884e131b84.tar.bz2
ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38026
Diffstat (limited to 'target/linux/ramips/dts/M4-8M.dts')
-rw-r--r--target/linux/ramips/dts/M4-8M.dts21
1 files changed, 7 insertions, 14 deletions
diff --git a/target/linux/ramips/dts/M4-8M.dts b/target/linux/ramips/dts/M4-8M.dts
index d07eb49..c8e7ff5 100644
--- a/target/linux/ramips/dts/M4-8M.dts
+++ b/target/linux/ramips/dts/M4-8M.dts
@@ -7,16 +7,6 @@
model = "Poray M4";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
spi@b00 {
status = "okay";
m25p80@0 {
@@ -53,12 +43,16 @@
};
};
- ethernet@10100000 {
- status = "okay";
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "uartf";
+ ralink,function = "gpio";
+ };
+ };
};
esw@10110000 {
- status = "okay";
ralink,portmap = <0x2f>;
ralink,led_polarity = <1>;
};
@@ -84,7 +78,6 @@
};
wmac@10180000 {
- status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};