[linux-yocto] [PATCH] dts: s32g: disable mdio nodes of Aquantia phy for rdb2/3

2022-09-01 Thread Zhantao Tang
For RDB2 and RDB3 boards, the Aquantia phy are connected to EMAC of pfe1
interface which is disabled by default, so the mdio nodes of Aquantia phy
also need to be disabled, or else, there will resume error like the following:

 PM: dpm_run_callback(): mdio_bus_phy_resume+0x0/0x110 returns -19
 Aquantia AQR107 stmmac-0:03: PM: failed to resume: error -19

This patch is to fix it. And the node will be "okey" when the pfe1 is enabled.

Signed-off-by: Zhantao Tang 
---
 arch/arm64/boot/dts/freescale/s32g274a-rdb2.dtsi | 1 +
 arch/arm64/boot/dts/freescale/s32g399a-rdb3.dtsi | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dtsi 
b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dtsi
index 3949abf039bb..6a6268f7f881 100644
--- a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dtsi
@@ -28,6 +28,7 @@ gmac_mdio_a_phy3: ethernet-phy@3 {
 * for eth fixup: addr changed to 0x8
 */
reg = <3>;
+   status="disabled";
};
 };
 
diff --git a/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dtsi 
b/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dtsi
index dd1cae182075..81719ef23f91 100644
--- a/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dtsi
@@ -20,6 +20,7 @@ gmac_mdio_a_phy8: ethernet-phy@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <8>;
+   status="disabled";
};
 };
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11620): 
https://lists.yoctoproject.org/g/linux-yocto/message/11620
Mute This Topic: https://lists.yoctoproject.org/mt/93411246/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: dts: s32g: disable mdio nodes of Aquantia phy for rdb2/3

2022-09-01 Thread Zhantao Tang
Hi Bruce,

Would you please help merge the patch to the branches?
v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
v5.15/standard/nxp-sdk-5.10/nxp-s32g

Thanks,
Zhantao

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11619): 
https://lists.yoctoproject.org/g/linux-yocto/message/11619
Mute This Topic: https://lists.yoctoproject.org/mt/93411245/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-