Skip to content

Commit

Permalink
ARM: dts: ls1021a: Enable the eTSEC ports on QDS and TWR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Claudiu Manoil authored and Shawn Guo committed Aug 11, 2015
1 parent d69cb5d commit 055223d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/ls1021a-qds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,26 @@
};
};

&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";

Expand Down
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/ls1021a-twr.dts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,26 @@
};
};

&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";
};
Expand Down

0 comments on commit 055223d

Please sign in to comment.