diff options
Diffstat (limited to 'arch/arm/boot/dts/ls1021a-twr.dts')
-rwxr-xr-x | arch/arm/boot/dts/ls1021a-twr.dts | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index 7adc70b..6d2fd91 100755 --- a/arch/arm/boot/dts/ls1021a-twr.dts +++ b/arch/arm/boot/dts/ls1021a-twr.dts @@ -12,6 +12,12 @@ / { model = "LS1021A TWR Board"; + + aliases { + enet2_rgmii_phy = &rgmii_phy1; + enet0_sgmii_phy = &sgmii_phy2; + enet1_sgmii_phy = &sgmii_phy0; + }; }; &dspi1 { @@ -39,22 +45,22 @@ &enet0 { tbi-handle = <&tbi1>; - phy-handle = <&phy2>; + phy-handle = <&sgmii_phy2>; phy-connection-type = "sgmii"; - status = "ok"; + status = "okay"; }; &enet1 { tbi-handle = <&tbi1>; - phy-handle = <&phy0>; + phy-handle = <&sgmii_phy0>; phy-connection-type = "sgmii"; - status = "ok"; + status = "okay"; }; &enet2 { - phy-handle = <&phy1>; + phy-handle = <&rgmii_phy1>; phy-connection-type = "rgmii-id"; - status = "ok"; + status = "okay"; }; &i2c0 { @@ -136,13 +142,13 @@ }; &mdio0 { - phy0: ethernet-phy@0 { + sgmii_phy0: ethernet-phy@0 { reg = <0x0>; }; - phy1: ethernet-phy@1 { + rgmii_phy1: ethernet-phy@1 { reg = <0x1>; }; - phy2: ethernet-phy@2 { + sgmii_phy2: ethernet-phy@2 { reg = <0x2>; }; tbi1: tbi-phy@1f { |