arm64: dts: ls1028a: disable all enetc ports by default

There are few boards that enable all ENETC ports, so instead of having
board DTs disable them, do so in the DTSI and have the boards enable the
ports they use.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Vladimir Oltean 2020-02-23 22:47:12 +02:00 committed by Shawn Guo
parent 8023321d30
commit 1a4bfe0f51
3 changed files with 7 additions and 4 deletions

View File

@ -225,6 +225,7 @@
&enetc_port1 {
phy-handle = <&qds_phy1>;
phy-connection-type = "rgmii-id";
status = "okay";
};
&sai1 {

View File

@ -180,6 +180,7 @@
&enetc_port0 {
phy-handle = <&sgmii_phy0>;
phy-connection-type = "sgmii";
status = "okay";
mdio {
#address-cells = <1>;
@ -190,10 +191,6 @@
};
};
&enetc_port1 {
status = "disabled";
};
&sai4 {
status = "okay";
};

View File

@ -744,17 +744,22 @@
enetc_port0: ethernet@0,0 {
compatible = "fsl,enetc";
reg = <0x000000 0 0 0 0>;
status = "disabled";
};
enetc_port1: ethernet@0,1 {
compatible = "fsl,enetc";
reg = <0x000100 0 0 0 0>;
status = "disabled";
};
enetc_mdio_pf3: mdio@0,3 {
compatible = "fsl,enetc-mdio";
reg = <0x000300 0 0 0 0>;
#address-cells = <1>;
#size-cells = <0>;
};
ethernet@0,4 {
compatible = "fsl,enetc-ptp";
reg = <0x000400 0 0 0 0>;