aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/TEW-692GR.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/TEW-692GR.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/TEW-692GR.dts')
-rw-r--r--target/linux/ramips/dts/TEW-692GR.dts33
1 files changed, 17 insertions, 16 deletions
diff --git a/target/linux/ramips/dts/TEW-692GR.dts b/target/linux/ramips/dts/TEW-692GR.dts
index eee4b2af2d..6c07c7760f 100644
--- a/target/linux/ramips/dts/TEW-692GR.dts
+++ b/target/linux/ramips/dts/TEW-692GR.dts
@@ -7,24 +7,17 @@
model = "TRENDnet TEW-692GR";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "uartlite";
- ralink,gpiomux = "i2c", "jtag", "spi";
- ralink,uartmux = "gpio";
- ralink,pcimux = "pci-fnc";
- ralink,wdtmux = <1>;
- };
-
- 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";
+ };
};
};
@@ -46,6 +39,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";
@@ -54,7 +56,6 @@
};
wmac@10180000 {
- status = "okay";
ralink,5ghz = <0>;
};