diff options
| author | Olof Johansson <olof@lixom.net> | 2019-04-28 16:26:01 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2019-04-28 16:26:01 -0400 |
| commit | ad4144210635ca5531cba6f152a3099756c9a11b (patch) | |
| tree | d6351f9cd8f2c945d5c7c0d1c46ff662c62244ef | |
| parent | c7edf1971614b6bf5f07599ed2d8735187e4d02e (diff) | |
| parent | c7861adbe37f576931650ad8ef805e0c47564b9a (diff) | |
Merge tag 'imx-fixes-5.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into fixes
i.MX fixes for 5.1, round 3:
- A fix on LS1021A-TWR board that SGMII PCS link remains down for
eTSEC0 upon an ifdown/ifup sequence.
* tag 'imx-fixes-5.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
ARM: dts: ls1021: Fix SGMII PCS link remaining down after PHY disconnect
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm/boot/dts/ls1021a-twr.dts | 9 | ||||
| -rw-r--r-- | arch/arm/boot/dts/ls1021a.dtsi | 11 |
2 files changed, 18 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index 97e1fb7ea932..9b1fe99d55b1 100644 --- a/arch/arm/boot/dts/ls1021a-twr.dts +++ b/arch/arm/boot/dts/ls1021a-twr.dts | |||
| @@ -145,7 +145,7 @@ | |||
| 145 | }; | 145 | }; |
| 146 | 146 | ||
| 147 | &enet0 { | 147 | &enet0 { |
| 148 | tbi-handle = <&tbi1>; | 148 | tbi-handle = <&tbi0>; |
| 149 | phy-handle = <&sgmii_phy2>; | 149 | phy-handle = <&sgmii_phy2>; |
| 150 | phy-connection-type = "sgmii"; | 150 | phy-connection-type = "sgmii"; |
| 151 | status = "okay"; | 151 | status = "okay"; |
| @@ -225,6 +225,13 @@ | |||
| 225 | sgmii_phy2: ethernet-phy@2 { | 225 | sgmii_phy2: ethernet-phy@2 { |
| 226 | reg = <0x2>; | 226 | reg = <0x2>; |
| 227 | }; | 227 | }; |
| 228 | tbi0: tbi-phy@1f { | ||
| 229 | reg = <0x1f>; | ||
| 230 | device_type = "tbi-phy"; | ||
| 231 | }; | ||
| 232 | }; | ||
| 233 | |||
| 234 | &mdio1 { | ||
| 228 | tbi1: tbi-phy@1f { | 235 | tbi1: tbi-phy@1f { |
| 229 | reg = <0x1f>; | 236 | reg = <0x1f>; |
| 230 | device_type = "tbi-phy"; | 237 | device_type = "tbi-phy"; |
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index b4f2723ecd86..89eab1fd1f7f 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi | |||
| @@ -701,7 +701,7 @@ | |||
| 701 | }; | 701 | }; |
| 702 | 702 | ||
| 703 | mdio0: mdio@2d24000 { | 703 | mdio0: mdio@2d24000 { |
| 704 | compatible = "gianfar"; | 704 | compatible = "fsl,etsec2-mdio"; |
| 705 | device_type = "mdio"; | 705 | device_type = "mdio"; |
| 706 | #address-cells = <1>; | 706 | #address-cells = <1>; |
| 707 | #size-cells = <0>; | 707 | #size-cells = <0>; |
| @@ -709,6 +709,15 @@ | |||
| 709 | <0x0 0x2d10030 0x0 0x4>; | 709 | <0x0 0x2d10030 0x0 0x4>; |
| 710 | }; | 710 | }; |
| 711 | 711 | ||
| 712 | mdio1: mdio@2d64000 { | ||
| 713 | compatible = "fsl,etsec2-mdio"; | ||
| 714 | device_type = "mdio"; | ||
| 715 | #address-cells = <1>; | ||
| 716 | #size-cells = <0>; | ||
| 717 | reg = <0x0 0x2d64000 0x0 0x4000>, | ||
| 718 | <0x0 0x2d50030 0x0 0x4>; | ||
| 719 | }; | ||
| 720 | |||
| 712 | ptp_clock@2d10e00 { | 721 | ptp_clock@2d10e00 { |
| 713 | compatible = "fsl,etsec-ptp"; | 722 | compatible = "fsl,etsec-ptp"; |
| 714 | reg = <0x0 0x2d10e00 0x0 0xb0>; | 723 | reg = <0x0 0x2d10e00 0x0 0xb0>; |
