aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/RT-N15.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-12 21:22:04 +0000
committerJohn Crispin <john@openwrt.org>2014-04-12 21:22:04 +0000
commit7ae1d573ae5c11014f3d6604a30b919ba21fa978 (patch)
treea7d61ff3edb7682daf00a7e61b07b46aa6b27e93 /target/linux/ramips/dts/RT-N15.dts
parent3d6ba83fe4dd315531e47f53a58195b36ce96382 (diff)
downloadupstream-7ae1d573ae5c11014f3d6604a30b919ba21fa978.tar.gz
upstream-7ae1d573ae5c11014f3d6604a30b919ba21fa978.tar.bz2
upstream-7ae1d573ae5c11014f3d6604a30b919ba21fa978.zip
Fix Asus rt-n15 board support
* gpio leds and buttons * ethernet Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 40494
Diffstat (limited to 'target/linux/ramips/dts/RT-N15.dts')
-rw-r--r--target/linux/ramips/dts/RT-N15.dts26
1 files changed, 18 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts
index 77e640fe9f..893652055f 100644
--- a/target/linux/ramips/dts/RT-N15.dts
+++ b/target/linux/ramips/dts/RT-N15.dts
@@ -9,18 +9,20 @@
model = "Asus RT-N15";
palmbus@300000 {
- sysc@0 {
- ralink,pinmux = "uartlite";
- ralink,gpiomux = "i2c";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
gpio0: gpio@600 {
status = "okay";
};
};
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "uartlite", "mdio";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -46,7 +48,7 @@
read-only;
};
partition@50000 {
- label = "linux";
+ label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
@@ -58,6 +60,14 @@
port@0 {
ralink,fixed-link = <1000 1 1 1>;
};
+
+ mdio-bus {
+ status = "okay";
+ phy0: ethernet-phy@0 {
+ phy-mode = "mii";
+ reg = <0>;
+ };
+ };
};
rtl8366s {