arm64: dts: fsl-ls1028a-qds: Drop overlay syntax hard coding

As suggested by commit 9ae8578b51 ("of: Documentation: change overlay
example to use current syntax"), there is no need to have overlay syntax
be hard coded in the device tree source file any more.

Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
This commit is contained in:
Shawn Guo 2022-01-26 16:49:40 +08:00
parent 708756e197
commit d7a385660e
6 changed files with 348 additions and 452 deletions

View File

@ -12,11 +12,7 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&mdio_slot1>;
__overlay__ {
&mdio_slot1 {
#address-cells = <1>;
#size-cells = <0>;
@ -25,24 +21,16 @@
reg = <0x2>;
compatible = "ethernet-phy-ieee802.3-c45";
};
};
};
};
fragment@1 {
target = <&enetc_port0>;
__overlay__ {
&enetc_port0 {
phy-handle = <&slot1_sgmii>;
phy-mode = "usxgmii";
managed = "in-band-status";
status = "okay";
};
};
};
fragment@2 {
target = <&mdio_slot2>;
__overlay__ {
&mdio_slot2 {
#address-cells = <1>;
#size-cells = <0>;
@ -66,13 +54,9 @@
reg = <0x3>;
compatible = "ethernet-phy-ieee802.3-c45";
};
};
};
};
fragment@3 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot2_qxgmii0>;
@ -100,14 +84,8 @@
phy-mode = "usxgmii";
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
__overlay__ {
status = "okay";
};
};
};
&mscc_felix {
status = "okay";
};

View File

@ -11,11 +11,7 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&mdio_slot1>;
__overlay__ {
&mdio_slot1 {
#address-cells = <1>;
#size-cells = <0>;
@ -24,24 +20,16 @@
reg = <0x2>;
compatible = "ethernet-phy-ieee802.3-c45";
};
};
};
};
fragment@1 {
target = <&enetc_port0>;
__overlay__ {
&enetc_port0 {
phy-handle = <&slot1_sgmii>;
phy-mode = "2500base-x";
managed = "in-band-status";
status = "okay";
};
};
};
fragment@2 {
target = <&mdio_slot2>;
__overlay__ {
&mdio_slot2 {
#address-cells = <1>;
#size-cells = <0>;
@ -61,13 +49,9 @@
slot2_qsgmii3: ethernet-phy@b {
reg = <0xb>;
};
};
};
};
fragment@3 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot2_qsgmii0>;
@ -95,14 +79,8 @@
phy-mode = "qsgmii";
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
__overlay__ {
status = "okay";
};
};
};
&mscc_felix {
status = "okay";
};

View File

@ -12,11 +12,7 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&mdio_slot1>;
__overlay__ {
&mdio_slot1 {
#address-cells = <1>;
#size-cells = <0>;
@ -40,13 +36,9 @@
reg = <0x3>;
compatible = "ethernet-phy-ieee802.3-c45";
};
};
};
};
fragment@1 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot1_sxgmii0>;
@ -70,13 +62,8 @@
phy-handle = <&slot1_sxgmii3>;
phy-mode = "2500base-x";
};
};
};
fragment@2 {
target = <&mscc_felix>;
__overlay__ {
status = "okay";
};
};
};
&mscc_felix {
status = "okay";
};

View File

@ -11,11 +11,7 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&mdio_slot1>;
__overlay__ {
&mdio_slot1 {
#address-cells = <1>;
#size-cells = <0>;
@ -23,24 +19,16 @@
/* 1st port on VSC8234 */
reg = <0x1c>;
};
};
};
};
fragment@1 {
target = <&enetc_port0>;
__overlay__ {
&enetc_port0 {
phy-handle = <&slot1_sgmii>;
phy-mode = "sgmii";
managed = "in-band-status";
status = "okay";
};
};
};
fragment@2 {
target = <&mdio_slot2>;
__overlay__ {
&mdio_slot2 {
#address-cells = <1>;
#size-cells = <0>;
@ -60,13 +48,9 @@
slot2_qsgmii3: ethernet-phy@b {
reg = <0xb>;
};
};
};
};
fragment@3 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot2_qsgmii0>;
@ -94,14 +78,8 @@
phy-mode = "qsgmii";
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
__overlay__ {
status = "okay";
};
};
};
&mscc_felix {
status = "okay";
};

View File

@ -11,10 +11,7 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&mdio_slot1>;
__overlay__ {
&mdio_slot1 {
#address-cells = <1>;
#size-cells = <0>;
@ -34,22 +31,16 @@
slot1_sgmii3: ethernet-phy@1f {
reg = <0x1f>;
};
};
};
};
fragment@1 {
target = <&enetc_port0>;
__overlay__ {
&enetc_port0 {
phy-handle = <&slot1_sgmii0>;
phy-mode = "sgmii";
managed = "in-band-status";
status = "okay";
};
};
};
fragment@2 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@1 {
status = "okay";
phy-handle = <&slot1_sgmii1>;
@ -63,13 +54,8 @@
phy-mode = "sgmii";
managed = "in-band-status";
};
};
};
fragment@3 {
target = <&mscc_felix>;
__overlay__ {
status = "okay";
};
};
};
&mscc_felix {
status = "okay";
};

View File

@ -11,10 +11,7 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&mdio_slot1>;
__overlay__ {
&mdio_slot1 {
#address-cells = <1>;
#size-cells = <0>;
@ -34,12 +31,9 @@
slot1_sgmii3: ethernet-phy@1f {
reg = <0x1f>;
};
};
};
};
fragment@1 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot1_sgmii0>;
@ -67,13 +61,8 @@
phy-mode = "sgmii";
managed = "in-band-status";
};
};
};
fragment@2 {
target = <&mscc_felix>;
__overlay__ {
status = "okay";
};
};
};
&mscc_felix {
status = "okay";
};