summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2024-02-19 12:36:14 +0300
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2024-02-19 13:01:22 +0300
commit43ec7fc9d69f10f43ef204bf4345ecbd98a960fd (patch)
tree97249a5f7b7b05905ba91123ae9b058833eaff4e /arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
parent7b8cc130f661e23181f079d879e174f622a79676 (diff)
downloadlinux-43ec7fc9d69f10f43ef204bf4345ecbd98a960fd.tar.xz
arm64: dts: mt7986: add port@5 as CPU port
On MediaTek MT7986b RFB and MediaTek MT7986a RFB, port 5 of the MT7531 switch is connected to the second MAC of the SoC as a CPU port. Add the port and set up the second MAC on the bindings. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Link: https://lore.kernel.org/r/20240219-for-mediatek-v1-2-7078f23eab82@arinc9.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
index 57dcaeef31d7..58f77d932429 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
@@ -45,6 +45,18 @@
};
};
+ gmac1: mac@1 {
+ compatible = "mediatek,eth-mac";
+ reg = <1>;
+ phy-mode = "rgmii";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ pause;
+ };
+ };
+
mdio: mdio-bus {
#address-cells = <1>;
#size-cells = <0>;
@@ -83,6 +95,18 @@
label = "lan4";
};
+ port@5 {
+ reg = <5>;
+ ethernet = <&gmac1>;
+ phy-mode = "rgmii";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ pause;
+ };
+ };
+
port@6 {
reg = <6>;
label = "cpu";