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>;
@ -26,23 +22,15 @@
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>;
@ -67,12 +55,8 @@
compatible = "ethernet-phy-ieee802.3-c45";
};
};
};
fragment@3 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot2_qxgmii0>;
@ -101,13 +85,7 @@
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
__overlay__ {
&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>;
@ -25,23 +21,15 @@
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>;
@ -62,12 +50,8 @@
reg = <0xb>;
};
};
};
fragment@3 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot2_qsgmii0>;
@ -96,13 +80,7 @@
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
__overlay__ {
&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>;
@ -41,12 +37,8 @@
compatible = "ethernet-phy-ieee802.3-c45";
};
};
};
fragment@1 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot1_sxgmii0>;
@ -71,12 +63,7 @@
phy-mode = "2500base-x";
};
};
};
fragment@2 {
target = <&mscc_felix>;
__overlay__ {
&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,23 +20,15 @@
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>;
@ -61,12 +49,8 @@
reg = <0xb>;
};
};
};
fragment@3 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot2_qsgmii0>;
@ -95,13 +79,7 @@
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
__overlay__ {
&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>;
@ -35,21 +32,15 @@
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>;
@ -64,12 +55,7 @@
managed = "in-band-status";
};
};
};
fragment@3 {
target = <&mscc_felix>;
__overlay__ {
&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>;
@ -35,11 +32,8 @@
reg = <0x1f>;
};
};
};
fragment@1 {
target = <&mscc_felix_ports>;
__overlay__ {
&mscc_felix_ports {
port@0 {
status = "okay";
phy-handle = <&slot1_sgmii0>;
@ -68,12 +62,7 @@
managed = "in-band-status";
};
};
};
fragment@2 {
target = <&mscc_felix>;
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};