ramips: mt7621-dts: describe switch PHYs and adjust PHY muxing

Currently, the MT7530 DSA subdriver configures the MT7530 switch to provide
direct access to switch PHYs, meaning, the switch PHYs listen on the MDIO
bus the switch listens on. The PHY muxing feature makes use of this.

This is problematic as the PHY may be attached before the switch is
initialised, in which case, the PHY will fail to be attached.

Since commit 91374ba537bd ("net: dsa: mt7530: support OF-based registration
of switch MDIO bus") on mainline Linux, we can describe the switch PHYs on
the MDIO bus of the switch on the device tree.

When the PHY is described this way, the switch will be initialised first,
then the switch MDIO bus will be registered. Only after these steps, the
PHY will be attached.

Describe the switch PHYs on mt7621.dtsi and remove defining the switch PHY
on the SoC's mdio bus node. When the PHY muxing is in use, the interrupts
for the muxed PHY won't work, therefore delete the "interrupts" property on
the devices where the PHY muxing feature is in use.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
This commit is contained in:
Arınç ÜNAL 2024-04-28 22:52:51 +03:00 committed by Daniel Golle
parent 6221316711
commit 3ea6125c50
125 changed files with 286 additions and 502 deletions

View File

@ -474,6 +474,36 @@
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@0 {
reg = <0>;
interrupts = <0>;
};
ethphy1: ethernet-phy@1 {
reg = <1>;
interrupts = <1>;
};
ethphy2: ethernet-phy@2 {
reg = <2>;
interrupts = <2>;
};
ethphy3: ethernet-phy@3 {
reg = <3>;
interrupts = <3>;
};
ethphy4: ethernet-phy@4 {
reg = <4>;
interrupts = <4>;
};
};
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
@ -482,30 +512,35 @@
status = "disabled"; status = "disabled";
reg = <0>; reg = <0>;
label = "lan0"; label = "lan0";
phy-handle = <&ethphy0>;
}; };
port@1 { port@1 {
status = "disabled"; status = "disabled";
reg = <1>; reg = <1>;
label = "lan1"; label = "lan1";
phy-handle = <&ethphy1>;
}; };
port@2 { port@2 {
status = "disabled"; status = "disabled";
reg = <2>; reg = <2>;
label = "lan2"; label = "lan2";
phy-handle = <&ethphy2>;
}; };
port@3 { port@3 {
status = "disabled"; status = "disabled";
reg = <3>; reg = <3>;
label = "lan3"; label = "lan3";
phy-handle = <&ethphy3>;
}; };
port@4 { port@4 {
status = "disabled"; status = "disabled";
reg = <4>; reg = <4>;
label = "lan4"; label = "lan4";
phy-handle = <&ethphy4>;
}; };
port@6 { port@6 {

View File

@ -136,10 +136,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -155,10 +155,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -176,10 +176,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -13,10 +13,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -203,10 +203,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&pcie { &pcie {

View File

@ -185,10 +185,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -111,10 +111,8 @@
status = "okay"; status = "okay";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&gmac0 { &gmac0 {

View File

@ -170,10 +170,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -166,10 +166,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -183,10 +183,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -157,10 +157,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -182,10 +182,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -216,10 +216,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -209,10 +209,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -162,10 +162,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -174,10 +174,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -199,10 +199,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -208,10 +208,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -66,10 +66,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&pcie { &pcie {

View File

@ -193,10 +193,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -153,10 +153,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -208,10 +208,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -116,10 +116,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -184,10 +184,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -187,10 +187,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -203,10 +203,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -120,10 +120,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -144,10 +144,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -110,10 +110,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -188,10 +188,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -151,10 +151,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -85,10 +85,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -124,10 +124,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -94,10 +94,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -209,10 +209,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -144,10 +144,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -145,10 +145,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -116,10 +116,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -58,10 +58,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&nand { &nand {

View File

@ -73,10 +73,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&nand { &nand {

View File

@ -77,10 +77,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -153,10 +153,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -169,10 +169,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -169,10 +169,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -174,10 +174,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -186,10 +186,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -170,10 +170,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -160,10 +160,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -161,10 +161,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -153,10 +153,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -130,10 +130,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -134,10 +134,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -135,10 +135,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -152,10 +152,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -138,10 +138,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -148,10 +148,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -91,10 +91,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -168,10 +168,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -180,10 +180,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -121,10 +121,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -201,10 +201,8 @@
}; };
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&gmac0 { &gmac0 {

View File

@ -179,10 +179,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -175,10 +175,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -156,10 +156,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -16,14 +16,12 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy0 {
ethernet-phy@0 { interrupts = <0>;
status = "disabled"; };
};
ethphy4: ethernet-phy@4 { &ethphy4 {
reg = <4>; /delete-property/ interrupts;
};
}; };
&switch0 { &switch0 {

View File

@ -203,10 +203,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -148,10 +148,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -138,10 +138,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -45,10 +45,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -199,10 +199,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -145,10 +145,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -42,10 +42,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -96,10 +96,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -118,10 +118,8 @@
phy-handle = <&ethphy4>; phy-handle = <&ethphy4>;
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -184,10 +184,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -115,10 +115,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -170,10 +170,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -244,10 +244,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -162,10 +162,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -156,10 +156,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -146,10 +146,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -104,10 +104,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -163,10 +163,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -140,10 +140,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -228,10 +228,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -146,10 +146,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -208,10 +208,8 @@
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -90,10 +90,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&pcie { &pcie {

View File

@ -112,10 +112,8 @@
status = "okay"; status = "okay";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&gmac0 { &gmac0 {

View File

@ -154,10 +154,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -125,10 +125,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -135,10 +135,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -130,10 +130,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -181,10 +181,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy4 {
ethphy4: ethernet-phy@4 { /delete-property/ interrupts;
reg = <4>;
};
}; };
&switch0 { &switch0 {

View File

@ -206,10 +206,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -189,10 +189,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -182,10 +182,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -283,10 +283,8 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio { &ethphy0 {
ethphy0: ethernet-phy@0 { /delete-property/ interrupts;
reg = <0>;
};
}; };
&switch0 { &switch0 {

View File

@ -155,11 +155,8 @@
}; };
}; };
&ethphy0 {
&mdio { /delete-property/ interrupts;
ethphy0: ethernet-phy@0 {
reg = <0>;
};
}; };
&state_default { &state_default {

Some files were not shown because too many files have changed in this diff Show More