summaryrefslogtreecommitdiff
path: root/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2018-12-20 16:12:54 +0800
committerTom Rini <trini@konsulko.com>2019-01-14 17:43:18 -0500
commitd9506a6fdd0269f86c7a1fe5bbee7191acc3d1c8 (patch)
tree4d72a955db2b4d58ab92e6d64a8bd02bc285dc37 /arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
parent23f17164d9ed6b92f7cd2064aa80f15da5489056 (diff)
arm: dts: add ethernet related node for MT7623 SoC
This patch adds ethernet gmac node for MT7623 with MT7530 gigabit switch. Signed-off-by: Mark Lee <Mark-MC.Lee@mediatek.com>
Diffstat (limited to 'arch/arm/dts/mt7623n-bananapi-bpi-r2.dts')
-rw-r--r--arch/arm/dts/mt7623n-bananapi-bpi-r2.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
index 84a77fde44..51628bb639 100644
--- a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
@@ -67,6 +67,19 @@
};
};
+&eth {
+ status = "okay";
+ mediatek,gmac-id = <0>;
+ phy-mode = "rgmii";
+ mediatek,switch = "mt7530";
+ reset-gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+};
+
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_default>;