Commit 9012ab6b authored by Dragan Simic's avatar Dragan Simic Committed by Heiko Stuebner

arm64: dts: rockchip: Remove ethernetX aliases from the SoC dtsi for RK3328

Not all supported boards actually use the RK3328's built-in GMACs, while the
SoC TRM and the datasheet don't define some standard numbering in this case.
Thus, remove the ethernet0 and ethernet1 aliases from the RK3328 SoC dtsi file,
and add the same alias back to the appropriate board dts(i) files.

These changes also touch one RK3318-based board dts, because it actually
depends on the RK3328 SoC dtsi and enables one of the GMACs.

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: default avatarDragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/0c14f2e354d32f5d45c718ce16643553ca72f6a5.1702366958.git.dsimic@manjaro.orgSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent c900fef5
......@@ -9,6 +9,7 @@ / {
compatible = "zkmagic,a95x-z2", "rockchip,rk3318";
aliases {
ethernet0 = &gmac2phy;
mmc0 = &sdmmc;
mmc1 = &sdio;
mmc2 = &emmc;
......
......@@ -9,6 +9,7 @@ / {
compatible = "azw,beelink-a1", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2io;
mmc0 = &sdmmc;
mmc1 = &emmc;
};
......
......@@ -11,6 +11,7 @@ / {
compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2phy;
mmc0 = &sdmmc;
mmc1 = &sdio;
mmc2 = &emmc;
......
......@@ -14,6 +14,7 @@ / {
compatible = "friendlyarm,nanopi-r2s", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2io;
ethernet1 = &rtl8153;
mmc0 = &sdmmc;
};
......
......@@ -15,6 +15,7 @@ / {
compatible = "xunlong,orangepi-r1-plus", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2io;
ethernet1 = &rtl8153;
mmc0 = &sdmmc;
};
......
......@@ -11,6 +11,7 @@ / {
compatible = "firefly,roc-rk3328-cc", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2io;
mmc0 = &sdmmc;
mmc1 = &emmc;
};
......
......@@ -21,6 +21,8 @@ / {
compatible = "radxa,rockpi-e", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2io;
ethernet1 = &gmac2phy;
mmc0 = &sdmmc;
mmc1 = &emmc;
};
......
......@@ -11,6 +11,7 @@ / {
compatible = "pine64,rock64", "rockchip,rk3328";
aliases {
ethernet0 = &gmac2io;
mmc0 = &sdmmc;
mmc1 = &emmc;
};
......
......@@ -31,8 +31,6 @@ aliases {
i2c1 = &i2c1;
i2c2 = &i2c2;
i2c3 = &i2c3;
ethernet0 = &gmac2io;
ethernet1 = &gmac2phy;
};
cpus {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment