summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/RP-N53.dts
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-17 21:45:44 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-17 21:45:44 +0000
commit1c23a45a8579a61e11693139122f37d0275d3426 (patch)
tree90e78e100dc8eccdf083816d81e33bed47cc4c16 /target/linux/ramips/dts/RP-N53.dts
parenta14dc5f844f0a3a6b4546d2505bab7825efadb8f (diff)
ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38026 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/RP-N53.dts')
-rw-r--r--target/linux/ramips/dts/RP-N53.dts28
1 files changed, 12 insertions, 16 deletions
diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts
index c1de105423..e13c3af194 100644
--- a/target/linux/ramips/dts/RP-N53.dts
+++ b/target/linux/ramips/dts/RP-N53.dts
@@ -7,17 +7,6 @@
model = "Asus RP-N53";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "spi", "uartlite", "wled", "ephy", "i2c";
- ralink,gpiomux = "jtag", "mdio", "rgmii1", "rgmii1";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
gpio1: gpio@638 {
status = "okay";
};
@@ -63,17 +52,24 @@
};
};
- codec {
- compatible = "ralink,mt7620-audio";
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "uartf";
+ ralink,function = "gpio";
+ };
+ };
};
- ethernet@10100000 {
- status = "okay";
+ codec {
+ compatible = "ralink,mt7620-audio";
};
gsw@10110000 {
- status = "okay";
ralink,port4 = "ephy";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_pins>;
};
pcie@10140000 {