summaryrefslogtreecommitdiff
path: root/arch/arm/dts/mt7622-rfb.dts
diff options
context:
space:
mode:
authorMarkLee <Mark-MC.Lee@mediatek.com>2020-01-21 19:31:59 +0800
committerTom Rini <trini@konsulko.com>2020-02-07 13:59:58 -0500
commit6efa450565cdc9c178bb2be033d2ba153c736749 (patch)
tree583cdbb624f3503e8ad5a4fb79c6a7e0a9fde3a5 /arch/arm/dts/mt7622-rfb.dts
parente395717ca9f347d46330fb479b779cd32915cecd (diff)
arm: dts: mediatek: add ethernet and sgmii dts node for mt7622
This patch add eth and sgmii dts node for mt7622 to support ethernet Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
Diffstat (limited to 'arch/arm/dts/mt7622-rfb.dts')
-rw-r--r--arch/arm/dts/mt7622-rfb.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/mt7622-rfb.dts b/arch/arm/dts/mt7622-rfb.dts
index ec30f5c6eb..f05c3fe14d 100644
--- a/arch/arm/dts/mt7622-rfb.dts
+++ b/arch/arm/dts/mt7622-rfb.dts
@@ -178,3 +178,16 @@
pinctrl-0 = <&watchdog_pins>;
status = "okay";
};
+
+&eth {
+ status = "okay";
+ mediatek,gmac-id = <0>;
+ phy-mode = "sgmii";
+ mediatek,switch = "mt7531";
+ reset-gpios = <&gpio 54 GPIO_ACTIVE_HIGH>;
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+};