aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-17 09:25:57 +0000
committerJohn Crispin <john@openwrt.org>2015-12-17 09:25:57 +0000
commit651e620de5b0e0a8da4787771f0b65d8af0426f0 (patch)
tree7af15350ab4cd9c2afc29b891a006e431d41fd56 /target/linux/ramips/dts/mt7621.dtsi
parentfa854a02a16a4961f09358569f0328bf87fcbc1d (diff)
downloadupstream-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/mt7621.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index facc0a382d..9501c7e4e7 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -281,7 +281,7 @@
};
ethernet@1e100000 {
- compatible = "ralink,mt7621-eth";
+ compatible = "mediatek,mt7621-eth";
reg = <0x1e100000 10000>;
#address-cells = <1>;
@@ -293,6 +293,8 @@
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>;
+ mediatek,switch = <&gsw>;
+
mdio-bus {
#address-cells = <1>;
#size-cells = <0>;
@@ -304,8 +306,8 @@
};
};
- gsw@1e110000 {
- compatible = "ralink,mt7620a-gsw";
+ gsw: gsw@1e110000 {
+ compatible = "mediatek,mt7621-gsw";
reg = <0x1e110000 8000>;
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;