mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-04 00:14:04 +01:00
realtek: dts: replace ports by ethernet-ports
In most drivers upstream use "ethernet-ports" instead of "ports" in dts. Especially the upstream rtl9300 mdio driver uses this to lookup the port/phy mapping. Do the same downstream. There is no need to adapt the dsa driver because it scans the dts via for_each_node_by_name(dn, "port"). Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22149 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
b0e0d51aec
commit
63729a8d6e
62 changed files with 62 additions and 62 deletions
|
|
@ -87,7 +87,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT(16, 9, qsgmii)
|
||||
SWITCH_PORT(17, 10, qsgmii)
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(16, 9, 2, qsgmii)
|
||||
|
||||
port@24 {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
/* TODO: fixed link SFP is not right */
|
||||
|
||||
port24: port@24 {
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
port24: port@24 {
|
||||
reg = <24>;
|
||||
label = "lan-sfp2";
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
port@24 {
|
||||
reg = <24>;
|
||||
label = "lan9";
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(16, 9, 2, qsgmii)
|
||||
SWITCH_PORT_SDS(17, 10, 2, qsgmii)
|
||||
SWITCH_PORT_SDS(18, 11, 2, qsgmii)
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(0, 1, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(1, 2, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(2, 3, 0, qsgmii)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(1, 1, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(0, 2, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(3, 3, 0, qsgmii)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(0, 1, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(1, 2, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(2, 3, 0, qsgmii)
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(0, 1, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(1, 2, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(2, 3, 0, qsgmii)
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(0, 1, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(1, 2, 0, qsgmii)
|
||||
SWITCH_PORT_SDS(2, 3, 0, qsgmii)
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(24, 25, 6, qsgmii)
|
||||
SWITCH_PORT_SDS(25, 26, 6, qsgmii)
|
||||
SWITCH_PORT_SDS(26, 27, 6, qsgmii)
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(48, 25, 12, qsgmii)
|
||||
SWITCH_PORT_SDS(49, 26, 12, qsgmii)
|
||||
SWITCH_PORT_SDS(50, 27, 12, qsgmii)
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(48, 49, 12, qsgmii)
|
||||
SWITCH_PORT_SDS(49, 50, 12, qsgmii)
|
||||
SWITCH_PORT_SDS(50, 51, 12, qsgmii)
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
SWITCH_PORT_SDS(48, 50, 12, qsgmii)
|
||||
SWITCH_PORT_SDS(49, 52, 12, qsgmii)
|
||||
SWITCH_PORT_SDS(50, 49, 12, qsgmii)
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
port@26 {
|
||||
reg = <26>;
|
||||
label = "lan9";
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@
|
|||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
ethernet-ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue