diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2018-10-29 20:50:13 +0000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-20 08:48:20 +0200 |
commit | eeeaf24e2868ae4dcbc316266105224f018db8e7 (patch) | |
tree | 597072717d3fc7f8ca31443593821aa17f207a58 /target/linux/ramips/dts | |
parent | 391df3782914b7f84a78d415f21069a580335646 (diff) | |
download | upstream-eeeaf24e2868ae4dcbc316266105224f018db8e7.tar.gz upstream-eeeaf24e2868ae4dcbc316266105224f018db8e7.tar.bz2 upstream-eeeaf24e2868ae4dcbc316266105224f018db8e7.zip |
ramips: fix GELAN port in D-Link DWR-118-A2
This patch fix and enable GELAN port in D-LINK DWR-118-A2.
Tested-by: Richard Toth <trtk1992@gmail.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/DWR-118-A2.dts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/DWR-118-A2.dts b/target/linux/ramips/dts/DWR-118-A2.dts index e1d181a874..26b23aa6d1 100644 --- a/target/linux/ramips/dts/DWR-118-A2.dts +++ b/target/linux/ramips/dts/DWR-118-A2.dts @@ -157,25 +157,27 @@ ðernet { status = "okay"; + mediatek,portmap = "wllll"; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &mdio_pins>; port@4 { status = "okay"; - phy-handle = <&phy4>; + phy-handle = <&phy0>; phy-mode = "rgmii"; }; mdio-bus { status = "okay"; - phy4: ethernet-phy@4 { - reg = <4>; - phy-mode = "rgmii"; + phy0: ethernet-phy@0 { + reg = <0>; + phy-mode = "rgmii-rxid"; }; }; }; &gsw { mediatek,port4 = "gmac"; + mediatek,ephy-base-address = /bits/ 16 < 2 >; }; |