arm64: dts: fsl: ls1028a-rdb: Add ENETC external eth ports for the LS1028A RDB board
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Tue, 26 Feb 2019 13:42:21 +0000 (15:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2019 19:21:32 +0000 (11:21 -0800)
The LS1028A RDB board features an Atheros PHY connected over
SGMII to the ENETC PF0 (or Port0).  ENETC Port1 (PF1) has no
external connection on this board, so it can be disabled for now.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts

index fdeb417..f86b054 100644 (file)
 &duart1 {
        status = "okay";
 };
+
+&enetc_port0 {
+       phy-handle = <&sgmii_phy0>;
+       phy-connection-type = "sgmii";
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               sgmii_phy0: ethernet-phy@2 {
+                       reg = <0x2>;
+               };
+       };
+};
+
+&enetc_port1 {
+       status = "disabled";
+};