aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MT7620a.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/MT7620a.dts
parent66bed0b0194cfc29bfa477bb525e7618eb696263 (diff)
downloadupstream-8cd1c997079246942680893adbd21d884e131b84.tar.gz
upstream-8cd1c997079246942680893adbd21d884e131b84.tar.bz2
upstream-8cd1c997079246942680893adbd21d884e131b84.zip
ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38026
Diffstat (limited to 'target/linux/ramips/dts/MT7620a.dts')
-rw-r--r--target/linux/ramips/dts/MT7620a.dts24
1 files changed, 12 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/MT7620a.dts b/target/linux/ramips/dts/MT7620a.dts
index 417370080d..a14d682912 100644
--- a/target/linux/ramips/dts/MT7620a.dts
+++ b/target/linux/ramips/dts/MT7620a.dts
@@ -7,17 +7,6 @@
model = "Ralink MT7620a + MT7610e evaluation board";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "spi", "uartlite", "mdio", "wled", "ephy", "rgmii1", "rgmii2";
- ralink,gpiomux = "i2c", "jtag";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
spi@b00 {
status = "okay";
@@ -55,6 +44,15 @@
};
};
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
ethernet@10100000 {
status = "okay";
@@ -88,8 +86,10 @@
};
gsw@10110000 {
- status = "okay";
ralink,port4 = "gmac";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_pins>;
};
sdhci@10130000 {