diff options
author | John Crispin <john@openwrt.org> | 2015-12-17 09:25:57 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-12-17 09:25:57 +0000 |
commit | 651e620de5b0e0a8da4787771f0b65d8af0426f0 (patch) | |
tree | 7af15350ab4cd9c2afc29b891a006e431d41fd56 /target/linux/ramips/dts/mt7620a.dtsi | |
parent | fa854a02a16a4961f09358569f0328bf87fcbc1d (diff) | |
download | upstream-651e620de5b0e0a8da4787771f0b65d8af0426f0.tar.gz upstream-651e620de5b0e0a8da4787771f0b65d8af0426f0.tar.bz2 upstream-651e620de5b0e0a8da4787771f0b65d8af0426f0.zip |
ralink: fixup devicetree files to work with new ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47900
Diffstat (limited to 'target/linux/ramips/dts/mt7620a.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7620a.dtsi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 448df75498..978b88aeea 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -404,7 +404,7 @@ }; ethernet@10100000 { - compatible = "ralink,mt7620a-eth"; + compatible = "mediatek,mt7620-eth"; reg = <0x10100000 10000>; #address-cells = <1>; @@ -416,15 +416,17 @@ resets = <&rstctrl 21 &rstctrl 23>; reset-names = "fe", "esw"; + mediatek,switch = <&gsw>; + port@4 { - compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port"; + compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port"; reg = <4>; status = "disabled"; }; port@5 { - compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port"; + compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port"; reg = <5>; status = "disabled"; @@ -438,8 +440,8 @@ }; }; - gsw@10110000 { - compatible = "ralink,mt7620a-gsw"; + gsw: gsw@10110000 { + compatible = "mediatek,mt7620-gsw"; reg = <0x10110000 8000>; resets = <&rstctrl 23>; |