mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 13:37:36 +02:00
arm64: dts: renesas: r8a779f0: Disable rswitch ports by default
The Renesas Ethernet Switch has three independent ports. Each port can act as a separate interface, and can be enabled or disabled independently. Currently all ports are enabled by default, hence board DTS files that enable the switch must disable all unused ports explicitly. Disable all ports by default, and explicitly enable ports that are used, next to their configuration. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Link: https://lore.kernel.org/c4688de8e3289ad82c2cd85f0893eac660ac8890.1737649969.git.geert+renesas@glider.be
This commit is contained in:
parent
cc018b98a9
commit
ab419f5b4a
|
|
@ -57,6 +57,7 @@ &rswitch_port0 {
|
|||
phy-handle = <&u101>;
|
||||
phy-mode = "sgmii";
|
||||
phys = <ð_serdes 0>;
|
||||
status = "okay";
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
@ -75,6 +76,7 @@ &rswitch_port1 {
|
|||
phy-handle = <&u201>;
|
||||
phy-mode = "sgmii";
|
||||
phys = <ð_serdes 1>;
|
||||
status = "okay";
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
@ -93,6 +95,7 @@ &rswitch_port2 {
|
|||
phy-handle = <&u301>;
|
||||
phy-mode = "sgmii";
|
||||
phys = <ð_serdes 2>;
|
||||
status = "okay";
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
|
|||
|
|
@ -977,14 +977,17 @@ ethernet-ports {
|
|||
rswitch_port0: port@0 {
|
||||
reg = <0>;
|
||||
phys = <ð_serdes 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
rswitch_port1: port@1 {
|
||||
reg = <1>;
|
||||
phys = <ð_serdes 1>;
|
||||
status = "disabled";
|
||||
};
|
||||
rswitch_port2: port@2 {
|
||||
reg = <2>;
|
||||
phys = <ð_serdes 2>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -187,6 +187,7 @@ &rswitch_port0 {
|
|||
phy-handle = <&ic99>;
|
||||
phy-mode = "sgmii";
|
||||
phys = <ð_serdes 0>;
|
||||
status = "okay";
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
@ -205,6 +206,7 @@ &rswitch_port1 {
|
|||
phy-handle = <&ic102>;
|
||||
phy-mode = "sgmii";
|
||||
phys = <ð_serdes 1>;
|
||||
status = "okay";
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
@ -218,10 +220,6 @@ ic102: ethernet-phy@2 {
|
|||
};
|
||||
};
|
||||
|
||||
&rswitch_port2 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&rwdt {
|
||||
timeout-sec = <60>;
|
||||
status = "okay";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user