Patch "ARM: dts: imx6q-prti6q: fix PHY address" has been added to the 5.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ARM: dts: imx6q-prti6q: fix PHY address

to the 5.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm-dts-imx6q-prti6q-fix-phy-address.patch
and it can be found in the queue-5.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit c94bf8c2c5142023afb25c2520851d63ae94079f
Author: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
Date:   Mon Oct 12 09:18:16 2020 +0200

    ARM: dts: imx6q-prti6q: fix PHY address
    
    [ Upstream commit e402599e5e5e0b2758d7766fd9f6d7953d4ccd85 ]
    
    Due to bug in the bootloader, the PHY has floating address and may
    randomly change on each PHY reset. To avoid it, the updated bootloader
    with the following patch[0] should be used:
    
    | ARM: protonic: disable on-die termination to fix PHY bootstrapping
    |
    | If on-die termination is enabled, the RXC pin of iMX6 will be pulled
    | high. Since we already have an 10K pull-down on board, the RXC level on
    | PHY reset will be ~800mV, which is mostly interpreted as 1. On some
    | reboots we get 0 instead and kernel can't detect the PHY properly.
    |
    | Since the default 0x020e07ac value is 0, it is sufficient to remove this
    | entry from the affected imxcfg files.
    |
    | Since we get stable 0 on pin PHYADDR[2], the PHY address is changed from
    | 4 to 0.
    
    With latest bootloader update, the PHY address will be fixed to "0".
    
    [0] https://git.pengutronix.de/cgit/barebox/commit/?id=93f7dcf631edfcda19e7757b28d66017ea274b81
    
    Fixes: 0d446a505592 ("ARM: dts: add Protonic PRTI6Q board")
    Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
    Signed-off-by: Shawn Guo <shawnguo@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm/boot/dts/imx6q-prti6q.dts b/arch/arm/boot/dts/imx6q-prti6q.dts
index de6cbaab8b499..671bb3a6665d8 100644
--- a/arch/arm/boot/dts/imx6q-prti6q.dts
+++ b/arch/arm/boot/dts/imx6q-prti6q.dts
@@ -213,8 +213,8 @@
 		#size-cells = <0>;
 
 		/* Microchip KSZ9031RNX PHY */
-		rgmii_phy: ethernet-phy@4 {
-			reg = <4>;
+		rgmii_phy: ethernet-phy@0 {
+			reg = <0>;
 			interrupts-extended = <&gpio1 28 IRQ_TYPE_LEVEL_LOW>;
 			reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
 			reset-assert-us = <10000>;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux