arm64: dts: rockchip: Remove ethernet0 alias from the SoC dtsi for RK3368
authorDragan Simic <dsimic@manjaro.org>
Tue, 12 Dec 2023 07:53:49 +0000 (08:53 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 12 Dec 2023 20:43:47 +0000 (21:43 +0100)
Not all supported boards actually use the RK3368's built-in GMAC, while the
SoC TRM and the datasheet don't define some standard numbering in this case.
Thus, remove the ethernet0 alias from the RK3368 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/77115184d633190c917d868f883070e100d93dbc.1702366958.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi
arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts
arch/arm64/boot/dts/rockchip/rk3368-r88.dts
arch/arm64/boot/dts/rockchip/rk3368.dtsi

index e47d1398aecac7bbb151cd9d542b57ff7c163b7f..b48b98c13705c385ccceb1c66066eb24be854636 100644 (file)
@@ -9,6 +9,7 @@
 
 / {
        aliases {
+               ethernet0 = &gmac;
                mmc0 = &emmc;
        };
 
index be06e6e64d1831d7c49c5ee100f183f4c14d0d36..029b8e22e709ff97a4827865c726bb64e8e83548 100644 (file)
@@ -12,6 +12,7 @@
        compatible = "geekbuying,geekbox", "rockchip,rk3368";
 
        aliases {
+               ethernet0 = &gmac;
                mmc0 = &emmc;
        };
 
index 5753e57fd7161fa420d08494686e028a4e32af21..8ac8acf4082df46eabea35dcb14adb9e129f3515 100644 (file)
@@ -8,6 +8,7 @@
 
 / {
        aliases {
+               ethernet0 = &gmac;
                mmc0 = &emmc;
        };
 
index 81d1064fdb2154e7d8e9f74ef4c18597992d6f9e..dcee2e28916f710faa519de1adda98c070fc222d 100644 (file)
@@ -12,6 +12,7 @@
        compatible = "tronsmart,orion-r68-meta", "rockchip,rk3368";
 
        aliases {
+               ethernet0 = &gmac;
                mmc0 = &sdmmc;
                mmc1 = &emmc;
        };
index 5589f3db6b36b42053883073a03e13161ca53c70..b16b7ca02379a82f5daceb56ea516bc69744e539 100644 (file)
@@ -12,6 +12,7 @@
        compatible = "rockchip,r88", "rockchip,rk3368";
 
        aliases {
+               ethernet0 = &gmac;
                mmc0 = &sdio0;
                mmc1 = &emmc;
        };
index fc7e3f2bc786f23260c228ad60d92aac6fe386a1..62af0cb94839bba5f6e0c6e368f65fa0f35d10de 100644 (file)
@@ -19,7 +19,6 @@
        #size-cells = <2>;
 
        aliases {
-               ethernet0 = &gmac;
                gpio0 = &gpio0;
                gpio1 = &gpio1;
                gpio2 = &gpio2;