]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: add basic mdio node to px30
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Wed, 14 May 2025 15:07:40 +0000 (17:07 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 May 2025 12:47:54 +0000 (14:47 +0200)
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>
arch/arm64/boot/dts/rockchip/px30.dtsi

index 9137dd76e72cedb0cfbf1995032e5852cab80f96..feabdadfa440f96c0134a0bb05e64a0c7b5adf2e 100644 (file)
                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 {