summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@cherry.de>2025-06-11 10:59:31 +0200
committerTom Rini <trini@konsulko.com>2025-07-30 08:20:51 -0600
commitb279bd7282094e83fffa522081d1bb8e58b7794e (patch)
tree442c8016f516ab556435e663f39174d5f787714b
parentd7c449c3d83a986d61e38d1762433c0607caf5c5 (diff)
arm64: dts: rockchip: add basic mdio node to px30
Using snps,reset-* properties for handling the phy-reset is deprecated and instead a real phy node should be defined that then contains the reset-gpios handling. To facilitate this, add the core mdio node under the px30's gmac, similar to how the other Rockchip socs already do this. Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Link: https://lore.kernel.org/r/20250514150745.2437804-2-heiko@sntech.de Signed-off-by: Heiko Stuebner <heiko@sntech.de> [ upstream commit: ede4837a504ca7e5811217060aa8300b8d0cf7f2 ] (cherry picked from commit cb54a264ecdb9e95b1529e4542e157cb9acded30) Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
-rw-r--r--dts/upstream/src/arm64/rockchip/px30.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/rockchip/px30.dtsi b/dts/upstream/src/arm64/rockchip/px30.dtsi
index 9137dd76e72..feabdadfa44 100644
--- a/dts/upstream/src/arm64/rockchip/px30.dtsi
+++ b/dts/upstream/src/arm64/rockchip/px30.dtsi
@@ -985,6 +985,12 @@
resets = <&cru SRST_GMAC_A>;
reset-names = "stmmaceth";
status = "disabled";
+
+ mdio: mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};
sdmmc: mmc@ff370000 {