aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/RTN56U.dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-09-17 21:45:44 +0000
committerJohn Crispin <blogic@openwrt.org>2013-09-17 21:45:44 +0000
commit88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7 (patch)
tree90e78e100dc8eccdf083816d81e33bed47cc4c16 /target/linux/ramips/dts/RTN56U.dts
parenta01168134eba92ce7b44b0b495921dc4ab3f670b (diff)
downloadupstream-88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7.tar.gz
upstream-88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7.tar.bz2
upstream-88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7.zip
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/RTN56U.dts')
-rw-r--r--target/linux/ramips/dts/RTN56U.dts35
1 files changed, 17 insertions, 18 deletions
diff --git a/target/linux/ramips/dts/RTN56U.dts b/target/linux/ramips/dts/RTN56U.dts
index 9c36af5721..6dfe3f480d 100644
--- a/target/linux/ramips/dts/RTN56U.dts
+++ b/target/linux/ramips/dts/RTN56U.dts
@@ -7,30 +7,21 @@
model = "Asus RT-N56U";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "uartlite";
- ralink,gpiomux = "i2c", "jtag";
- ralink,uartmux = "gpio";
- ralink,pcimux = "pci-fnc";
- ralink,wdtmux = <0>;
- };
-
- timer@100 {
- status = "okay";
- };
-
- gpio0: gpio@600 {
+ gpio1: gpio@638 {
status = "okay";
};
+ };
- gpio1: gpio@638 {
- status = "okay";
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "uartf";
+ ralink,function = "gpio";
+ };
};
};
ethernet@10100000 {
- status = "okay";
-
port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
@@ -39,6 +30,15 @@
pci@10140000 {
status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pci_pins>;
+ pci_pins: pci {
+ pci {
+ ralink,group = "pci";
+ ralink,function = "pci-fnc";
+ };
+ };
+
host-bridge {
pci-bridge@1 {
status = "okay";
@@ -47,7 +47,6 @@
};
wmac@10180000 {
- status = "okay";
ralink,2ghz = <0>;
};