summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/X8.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/X8.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/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>;
};