Commit 115ee470 authored by Arınç ÜNAL's avatar Arınç ÜNAL Committed by Matthias Brugger

arm: dts: mt7623: add port@5 as CPU port

On the MT7623AI SoC and Bananapi BPI-R2, port 5 of the MT7530 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: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20230210182505.24597-6-arinc.unal@arinc9.comSigned-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 031bf309
...@@ -28,6 +28,17 @@ fixed-link { ...@@ -28,6 +28,17 @@ fixed-link {
}; };
}; };
&gmac1 {
status = "okay";
phy-mode = "rgmii";
fixed-link {
speed = <1000>;
full-duplex;
pause;
};
};
&eth { &eth {
status = "okay"; status = "okay";
power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>;
...@@ -79,6 +90,19 @@ port@4 { ...@@ -79,6 +90,19 @@ port@4 {
label = "swp4"; label = "swp4";
}; };
port@5 {
reg = <5>;
label = "cpu";
ethernet = <&gmac1>;
phy-mode = "rgmii";
fixed-link {
speed = <1000>;
full-duplex;
pause;
};
};
port@6 { port@6 {
reg = <6>; reg = <6>;
label = "cpu"; label = "cpu";
......
...@@ -182,6 +182,17 @@ fixed-link { ...@@ -182,6 +182,17 @@ fixed-link {
}; };
}; };
&gmac1 {
status = "okay";
phy-mode = "rgmii";
fixed-link {
speed = <1000>;
full-duplex;
pause;
};
};
&eth { &eth {
status = "okay"; status = "okay";
...@@ -225,6 +236,19 @@ port@4 { ...@@ -225,6 +236,19 @@ port@4 {
label = "lan3"; label = "lan3";
}; };
port@5 {
reg = <5>;
label = "cpu";
ethernet = <&gmac1>;
phy-mode = "rgmii";
fixed-link {
speed = <1000>;
full-duplex;
pause;
};
};
port@6 { port@6 {
reg = <6>; reg = <6>;
label = "cpu"; label = "cpu";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment