arm64: dts: rockchip: Remove ethernet0 alias from the SoC dtsi for PX30
authorDragan Simic <dsimic@manjaro.org>
Tue, 12 Dec 2023 07:53:51 +0000 (08:53 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 12 Dec 2023 20:43:48 +0000 (21:43 +0100)
Not all supported boards actually use the PX30's built-in (G)MAC, while the
SoC TRM and the datasheet don't define some standard numbering in this case.
Thus, remove the ethernet0 alias from the PX30 SoC dtsi file, and add the same
alias back to the appropriate board dts(i) files.

This is quite similar to the already performed migration of the mmcX aliases
from the Rockchip SoC dtsi files to the board dts(i) files.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/0d9da8959b4f567622676c34b5feb74c49489554.1702366958.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi
arch/arm64/boot/dts/rockchip/px30-evb.dts
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts
arch/arm64/boot/dts/rockchip/px30.dtsi

index 3429e124d95a2168639ee1713d0ec78bbdd5d0d8..5b4e223851659f64bf82b1022f984e22e0bccd8e 100644 (file)
@@ -7,6 +7,7 @@
 
 / {
        aliases {
+               ethernet0 = &gmac;
                mmc1 = &sdmmc;
                mmc2 = &sdio;
        };
index c1bbd555f5f5b2cc4b51456dbf459da86912f65e..0a90a88fc664977a3f4ab049db2787cd17e90480 100644 (file)
@@ -14,6 +14,7 @@
        compatible = "rockchip,px30-evb", "rockchip,px30";
 
        aliases {
+               ethernet0 = &gmac;
                mmc0 = &sdmmc;
                mmc1 = &sdio;
                mmc2 = &emmc;
index de0a1f2af983bee33e127f87e2cdba16b544e54c..e0a8880f7fcb883b12c2af0fe0fad839d248c29d 100644 (file)
@@ -13,6 +13,7 @@
        compatible = "tsd,px30-ringneck-haikou", "rockchip,px30";
 
        aliases {
+               ethernet0 = &gmac;
                mmc2 = &sdmmc;
        };
 
index 42ce78beb4134d15bdbbe80bcde366ab32b50c11..d0905515399bb00b8562305b7fa5cf8a0eee65b2 100644 (file)
@@ -20,7 +20,6 @@
        #size-cells = <2>;
 
        aliases {
-               ethernet0 = &gmac;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                i2c2 = &i2c2;