Commit 1a4bfe0f authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Shawn Guo
Browse files

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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 8023321d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -225,6 +225,7 @@
&enetc_port1 {
	phy-handle = <&qds_phy1>;
	phy-connection-type = "rgmii-id";
	status = "okay";
};

&sai1 {
+1 −4
Original line number Diff line number Diff line
@@ -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";
};
+5 −0
Original line number Diff line number Diff line
@@ -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>;