diff options
author | John Crispin <blogic@openwrt.org> | 2015-12-17 09:25:57 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-12-17 09:25:57 +0000 |
commit | 92cbf3456b443bc8da88a6ab56e1ec06c7363a78 (patch) | |
tree | 151ee7c6ef69a5ea96a876c4d5b950fec3c8b371 /target/linux/ramips/dts/mt7620n.dtsi | |
parent | e851e5d9bd18b22786b5bc5884b17c04614094bc (diff) | |
download | master-187ad058-92cbf3456b443bc8da88a6ab56e1ec06c7363a78.tar.gz master-187ad058-92cbf3456b443bc8da88a6ab56e1ec06c7363a78.tar.bz2 master-187ad058-92cbf3456b443bc8da88a6ab56e1ec06c7363a78.zip |
ralink: fixup devicetree files to work with new ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47900 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/mt7620n.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7620n.dtsi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi index a3132b8a59..09d40196ce 100644 --- a/target/linux/ramips/dts/mt7620n.dtsi +++ b/target/linux/ramips/dts/mt7620n.dtsi @@ -263,7 +263,7 @@ }; ethernet@10100000 { - compatible = "ralink,mt7620a-eth"; + compatible = "mediatek,mt7620-eth"; reg = <0x10100000 10000>; #address-cells = <1>; @@ -275,6 +275,8 @@ resets = <&rstctrl 21 &rstctrl 23>; reset-names = "fe", "esw"; + mediatek,switch = <&gsw>; + mdio-bus { #address-cells = <1>; #size-cells = <0>; @@ -283,8 +285,8 @@ }; }; - gsw@10110000 { - compatible = "ralink,mt7620a-gsw"; + gsw: gsw@10110000 { + compatible = "mediatek,mt7620-gsw"; reg = <0x10110000 8000>; resets = <&rstctrl 23>; @@ -292,7 +294,7 @@ interrupt-parent = <&intc>; interrupts = <17>; - ralink,port4 = "gmac"; + mediatek,port4 = "gmac"; }; ehci@101c0000 { |