aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WHR-1166D.dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-03 20:20:40 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-03 20:20:40 +0000
commitf80064d9b42cb936afec479ced088e47dde9329c (patch)
tree69a5a7f944f0068cd86838c77883daead3e5b584 /target/linux/ramips/dts/WHR-1166D.dts
parent6e068f5d04f1248b869c7d817bed7339d60cd5ce (diff)
downloadupstream-f80064d9b42cb936afec479ced088e47dde9329c.tar.gz
upstream-f80064d9b42cb936afec479ced088e47dde9329c.tar.bz2
upstream-f80064d9b42cb936afec479ced088e47dde9329c.zip
ralink: fix wan port on whr-1166
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43171 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/WHR-1166D.dts')
-rw-r--r--target/linux/ramips/dts/WHR-1166D.dts19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/WHR-1166D.dts b/target/linux/ramips/dts/WHR-1166D.dts
index 236987c721..1b5a3d712f 100644
--- a/target/linux/ramips/dts/WHR-1166D.dts
+++ b/target/linux/ramips/dts/WHR-1166D.dts
@@ -56,7 +56,7 @@
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
+ ralink,group = "i2c", "uartf", "rgmii1", "wled", "nd_sd";
ralink,function = "gpio";
};
};
@@ -64,9 +64,22 @@
ethernet@10100000 {
pinctrl-names = "default";
- pinctrl-0 = <&ephy_pins>;
+ pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
- ralink,port-map = "llllw";
+ port@5 {
+ status = "okay";
+ phy-handle = <&phy5>;
+ phy-mode = "rgmii";
+ };
+
+ mdio-bus {
+ status = "okay";
+
+ phy5: ethernet-phy@5 {
+ reg = <5>;
+ phy-mode = "rgmii";
+ };
+ };
};
gsw@10110000 {