]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: ls1021a: Enable the eTSEC ports on QDS and TWR
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Tue, 28 Jul 2015 14:43:56 +0000 (17:43 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Aug 2015 15:15:22 +0000 (23:15 +0800)
This enables the available eTSEC ethernet ports for the
ls1021aqds and ls1021atwr boards.
For the QDS, SGMII connections (via riser cards) are assumed
for the eTSEC0 and eTSEC1 ports as default configuration.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a-qds.dts
arch/arm/boot/dts/ls1021a-twr.dts

index 4e64f38c35c68ea6d6a6672eb94809a7328268a1..0521e6864cb7fdc92dd7a7731f4553e836ebfdea 100644 (file)
        };
 };
 
+&enet0 {
+       tbi-handle = <&tbi0>;
+       phy-handle = <&sgmii_phy1c>;
+       phy-connection-type = "sgmii";
+       status = "okay";
+};
+
+&enet1 {
+       tbi-handle = <&tbi0>;
+       phy-handle = <&sgmii_phy1d>;
+       phy-connection-type = "sgmii";
+       status = "okay";
+};
+
+&enet2 {
+       phy-handle = <&rgmii_phy3>;
+       phy-connection-type = "rgmii-id";
+       status = "okay";
+};
+
 &i2c0 {
        status = "okay";
 
index db41e4f63f7e91b79d44bb6f4097a1cc88a324e7..e008f9367510dc6274693f849fe24ed09d7cffa0 100644 (file)
        };
 };
 
+&enet0 {
+       tbi-handle = <&tbi1>;
+       phy-handle = <&sgmii_phy2>;
+       phy-connection-type = "sgmii";
+       status = "okay";
+};
+
+&enet1 {
+       tbi-handle = <&tbi1>;
+       phy-handle = <&sgmii_phy0>;
+       phy-connection-type = "sgmii";
+       status = "okay";
+};
+
+&enet2 {
+       phy-handle = <&rgmii_phy1>;
+       phy-connection-type = "rgmii-id";
+       status = "okay";
+};
+
 &i2c0 {
        status = "okay";
 };