aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/X8.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/X8.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/X8.dts')
-rw-r--r--target/linux/ramips/dts/X8.dts22
1 files changed, 7 insertions, 15 deletions
diff --git a/target/linux/ramips/dts/X8.dts b/target/linux/ramips/dts/X8.dts
index e7b13ca63d..b7591dec20 100644
--- a/target/linux/ramips/dts/X8.dts
+++ b/target/linux/ramips/dts/X8.dts
@@ -7,17 +7,6 @@
model = "Poray X8";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
- ralink,gpiomux = "jtag";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
spi@b00 {
status = "okay";
m25p80@0 {
@@ -54,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>;
};
@@ -85,7 +78,6 @@
};
wmac@10180000 {
- status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};