diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-02-22 08:53:48 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-02-22 08:54:02 -0500 |
commit | 3858bfca2b7811d97121910a87dc42f33498f2fe (patch) | |
tree | 036d2e7680ea3a72d636d84207886b38f0c3cc86 | |
parent | 94d9b9337d09bdd27735005b3251d97ab29f7273 (diff) | |
parent | 0661465ec86e8ae28f09a04e51425c486d64dfb1 (diff) |
Merge tag 'omap-for-v5.0/fixes-rc7-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
Two am335x ethernet phy mode fixes for v5.0-rc cycle
Recent changes with commit cd28d1d6e52e: ("net: phy: at803x: Disable phy
delay for RGMII mode") broke Ethernet on am335x-evmsk, and turns out some
device driver fixes are needed.
Even without the driver fixes, am335x needs to run in rgmii-id mode instead
rgmii-txid mode. Things have been working based on luck as the broken driver
has been configuring rgmii-id mode. Let's fix that as that way things work
as they're supposed to work from hardware wiring point of view.
* tag 'omap-for-v5.0/fixes-rc7-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: dts: am335x-evm: Fix PHY mode for ethernet
ARM: dts: am335x-evmsk: Fix PHY mode for ethernet
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index b67f5fee1469..dce5be5df97b 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -729,7 +729,7 @@ | |||
729 | 729 | ||
730 | &cpsw_emac0 { | 730 | &cpsw_emac0 { |
731 | phy-handle = <ðphy0>; | 731 | phy-handle = <ðphy0>; |
732 | phy-mode = "rgmii-txid"; | 732 | phy-mode = "rgmii-id"; |
733 | }; | 733 | }; |
734 | 734 | ||
735 | &tscadc { | 735 | &tscadc { |
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 172c0224e7f6..b128998097ce 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
@@ -651,13 +651,13 @@ | |||
651 | 651 | ||
652 | &cpsw_emac0 { | 652 | &cpsw_emac0 { |
653 | phy-handle = <ðphy0>; | 653 | phy-handle = <ðphy0>; |
654 | phy-mode = "rgmii-txid"; | 654 | phy-mode = "rgmii-id"; |
655 | dual_emac_res_vlan = <1>; | 655 | dual_emac_res_vlan = <1>; |
656 | }; | 656 | }; |
657 | 657 | ||
658 | &cpsw_emac1 { | 658 | &cpsw_emac1 { |
659 | phy-handle = <ðphy1>; | 659 | phy-handle = <ðphy1>; |
660 | phy-mode = "rgmii-txid"; | 660 | phy-mode = "rgmii-id"; |
661 | dual_emac_res_vlan = <2>; | 661 | dual_emac_res_vlan = <2>; |
662 | }; | 662 | }; |
663 | 663 | ||