Skip to content
Snippets Groups Projects
Commit 7ae1d573 authored by John Crispin's avatar John Crispin
Browse files

Fix Asus rt-n15 board support


* gpio leds and buttons
* ethernet

Signed-off-by: default avatarRoman Yeryomin <roman@advem.lv>

SVN-Revision: 40494
parent 3d6ba83f
No related branches found
No related tags found
No related merge requests found
...@@ -9,18 +9,20 @@ ...@@ -9,18 +9,20 @@
model = "Asus RT-N15"; model = "Asus RT-N15";
palmbus@300000 { palmbus@300000 {
sysc@0 {
ralink,pinmux = "uartlite";
ralink,gpiomux = "i2c";
ralink,uartmux = "gpio";
ralink,wdtmux = <1>;
};
gpio0: gpio@600 { gpio0: gpio@600 {
status = "okay"; status = "okay";
}; };
}; };
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "uartlite", "mdio";
ralink,function = "gpio";
};
};
};
cfi@1f000000 { cfi@1f000000 {
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
...@@ -46,7 +48,7 @@ ...@@ -46,7 +48,7 @@
read-only; read-only;
}; };
partition@50000 { partition@50000 {
label = "linux"; label = "firmware";
reg = <0x50000 0x3b0000>; reg = <0x50000 0x3b0000>;
}; };
}; };
...@@ -58,6 +60,14 @@ ...@@ -58,6 +60,14 @@
port@0 { port@0 {
ralink,fixed-link = <1000 1 1 1>; ralink,fixed-link = <1000 1 1 1>;
}; };
mdio-bus {
status = "okay";
phy0: ethernet-phy@0 {
phy-mode = "mii";
reg = <0>;
};
};
}; };
rtl8366s { rtl8366s {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment