Commit 2950f80b authored by Frank Li's avatar Frank Li Committed by Shawn Guo
Browse files

arm64: dts: layerscape: use common pcs-handle property

pcsphy-handle already deprecated according to binding fsl,fman-dtsec.yaml.
Add new common pcs-handle at dts and fix below CHECK_DTBS warning.

arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: fman@1a00000: ethernet@e0000: 'pcs-handle' is a dependency of 'pcs-handle-names'
        from schema $id: http://devicetree.org/schemas/net/fsl,fman.yaml#



Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent e39f567e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ enet0: ethernet@e0000 {

	enet1: ethernet@e2000 {
		pcsphy-handle = <&pcsphy1>, <&qsgmiib_pcs1>;
		pcs-handle = <&pcsphy1>, <&qsgmiib_pcs1>;
		pcs-handle-names = "sgmii", "qsgmii";
	};

@@ -40,11 +41,13 @@ enet3: ethernet@e6000 {

	enet4: ethernet@e8000 {
		pcsphy-handle = <&pcsphy4>, <&qsgmiib_pcs2>;
		pcs-handle = <&pcsphy4>, <&qsgmiib_pcs2>;
		pcs-handle-names = "sgmii", "qsgmii";
	};

	enet5: ethernet@ea000 {
		pcsphy-handle = <&pcsphy5>, <&qsgmiib_pcs3>;
		pcs-handle = <&pcsphy5>, <&qsgmiib_pcs3>;
		pcs-handle-names = "sgmii", "qsgmii";
	};

+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ &fman0 {
	/* these aliases provide the FMan ports mapping */
	enet0: ethernet@e0000 {
		pcsphy-handle = <&qsgmiib_pcs3>;
		pcs-handle = <&qsgmiib_pcs3>;
		pcs-handle-names = "qsgmii";
	};

@@ -38,11 +39,13 @@ enet3: ethernet@e6000 {

	enet4: ethernet@e8000 {
		pcsphy-handle = <&pcsphy4>, <&qsgmiib_pcs1>;
		pcs-handle = <&pcsphy4>, <&qsgmiib_pcs1>;
		pcs-handle-names = "sgmii", "qsgmii";
	};

	enet5: ethernet@ea000 {
		pcsphy-handle = <&pcsphy5>, <&pcsphy5>;
		pcs-handle = <&pcsphy5>, <&pcsphy5>;
		pcs-handle-names = "sgmii", "qsgmii";
	};

@@ -51,6 +54,7 @@ enet6: ethernet@f0000 {

	enet7: ethernet@f2000 {
		pcsphy-handle = <&pcsphy7>, <&qsgmiib_pcs2>, <&pcsphy7>;
		pcs-handle = <&pcsphy7>, <&qsgmiib_pcs2>, <&pcsphy7>;
		pcs-handle-names = "sgmii", "qsgmii", "xfi";
	};

+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ ethernet@f0000 {
		reg = <0xf0000 0x1000>;
		fsl,fman-ports = <&fman0_rx_0x10 &fman0_tx_0x30>;
		pcsphy-handle = <&pcsphy6>;
		pcs-handle = <&pcsphy6>;
	};

	mdio@f1000 {
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ ethernet@f2000 {
		reg = <0xf2000 0x1000>;
		fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>;
		pcsphy-handle = <&pcsphy7>;
		pcs-handle = <&pcsphy7>;
	};

	mdio@f3000 {
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ ethernet@e0000 {
		fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
		ptp-timer = <&ptp_timer0>;
		pcsphy-handle = <&pcsphy0>;
		pcs-handle = <&pcsphy0>;
	};

	mdio@e1000 {
Loading