arm64: dts: rockchip: Remove ethernet0 alias from the SoC dtsi for RK3368

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>
This commit is contained in:
Dragan Simic 2023-12-12 08:53:49 +01:00 committed by Heiko Stuebner
parent 5d90cb1edc
commit c900fef5de
6 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@
/ {
aliases {
ethernet0 = &gmac;
mmc0 = &emmc;
};

View File

@ -12,6 +12,7 @@
compatible = "geekbuying,geekbox", "rockchip,rk3368";
aliases {
ethernet0 = &gmac;
mmc0 = &emmc;
};

View File

@ -8,6 +8,7 @@
/ {
aliases {
ethernet0 = &gmac;
mmc0 = &emmc;
};

View File

@ -12,6 +12,7 @@
compatible = "tronsmart,orion-r68-meta", "rockchip,rk3368";
aliases {
ethernet0 = &gmac;
mmc0 = &sdmmc;
mmc1 = &emmc;
};

View File

@ -12,6 +12,7 @@
compatible = "rockchip,r88", "rockchip,rk3368";
aliases {
ethernet0 = &gmac;
mmc0 = &sdio0;
mmc1 = &emmc;
};

View File

@ -19,7 +19,6 @@
#size-cells = <2>;
aliases {
ethernet0 = &gmac;
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;