Commit d7a38566 authored by Shawn Guo's avatar Shawn Guo

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

As suggested by commit 9ae8578b ("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: default avatarShawn Guo <shawnguo@kernel.org>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
parent 708756e1
......@@ -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 @@ slot1_sgmii: ethernet-phy@2 {
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 @@ slot2_qxgmii3: ethernet-phy@3 {
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 @@ port@3 {
phy-mode = "usxgmii";
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
};
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};
......@@ -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 @@ slot1_sgmii: ethernet-phy@2 {
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_qsgmii2: ethernet-phy@a {
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 @@ port@3 {
phy-mode = "qsgmii";
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
};
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};
......@@ -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 @@ slot1_sxgmii3: ethernet-phy@3 {
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 @@ port@3 {
phy-handle = <&slot1_sxgmii3>;
phy-mode = "2500base-x";
};
};
};
};
fragment@2 {
target = <&mscc_felix>;
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};
......@@ -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 @@ slot1_sgmii: ethernet-phy@1c {
/* 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_qsgmii2: ethernet-phy@a {
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 @@ port@3 {
phy-mode = "qsgmii";
managed = "in-band-status";
};
};
};
fragment@4 {
target = <&mscc_felix>;
};
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};
......@@ -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_sgmii2: ethernet-phy@1e {
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 @@ port@2 {
phy-mode = "sgmii";
managed = "in-band-status";
};
};
};
};
fragment@3 {
target = <&mscc_felix>;
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};
......@@ -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_sgmii2: ethernet-phy@1e {
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 @@ port@3 {
phy-mode = "sgmii";
managed = "in-band-status";
};
};
};
};
fragment@2 {
target = <&mscc_felix>;
__overlay__ {
&mscc_felix {
status = "okay";
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment