]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: rockchip: Add ethernet0 alias to the dts for RK3566 boards
authorDragan Simic <dsimic@manjaro.org>
Tue, 12 Dec 2023 08:01:39 +0000 (09:01 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 12 Dec 2023 20:43:48 +0000 (21:43 +0100)
Add ethernet0 alias to the board dts files for a few supported RK3566 boards
that had it missing.  Also, remove the ethernet0 alias from one RK3566 SoM
dtsi file, which doesn't enable the GMAC, and add the ethernet0 alias back to
the dependent board dts files, which actually enable the GMAC.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/d2a272e0ae0fff0adfab8bb0238243b11d348799.1702368023.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts
arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
arch/arm64/boot/dts/rockchip/rk3566-soquartz-blade.dts
arch/arm64/boot/dts/rockchip/rk3566-soquartz-cm4.dts
arch/arm64/boot/dts/rockchip/rk3566-soquartz-model-a.dts
arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi

index 1b1c67d5b1ef335ed546ec7bea07b8a611da83e9..3ae24e39450a2d30e4101ae0fe44bd97395781ec 100644 (file)
@@ -14,6 +14,7 @@
        compatible = "radxa,cm3-io", "radxa,cm3", "rockchip,rk3566";
 
        aliases {
+               ethernet0 = &gmac1;
                mmc1 = &sdmmc0;
        };
 
index 938092fce18661f354294c815683923a8888dbfd..63eea27293fe939f46a1a269210777901938c440 100644 (file)
@@ -12,6 +12,7 @@
        compatible = "firefly,rk3566-roc-pc", "rockchip,rk3566";
 
        aliases {
+               ethernet0 = &gmac1;
                mmc0 = &sdmmc0;
                mmc1 = &sdhci;
                mmc2 = &sdmmc1;
index 4e49bebf548b48f9780652251708ee05703cc3d7..fdbf1c78324229b81715279e4182e39bb3cde176 100644 (file)
        model = "PINE64 RK3566 SOQuartz on Blade carrier board";
        compatible = "pine64,soquartz-blade", "pine64,soquartz", "rockchip,rk3566";
 
+       aliases {
+               ethernet0 = &gmac1;
+       };
+
        /* labeled VCC3V0_SD in schematic to not conflict with PMIC regulator */
        vcc3v0_sd: vcc3v0-sd-regulator {
                compatible = "regulator-fixed";
index cddf6cd2fecb1bf34458a98adc93b59560f98fde..6ed3fa4aee34f22a0b09f189000800331a49b2aa 100644 (file)
@@ -8,6 +8,10 @@
        model = "Pine64 RK3566 SoQuartz with CM4-IO Carrier Board";
        compatible = "pine64,soquartz-cm4io", "pine64,soquartz", "rockchip,rk3566";
 
+       aliases {
+               ethernet0 = &gmac1;
+       };
+
        /* labeled +12v in schematic */
        vcc12v_dcin: vcc12v-dcin-regulator {
                compatible = "regulator-fixed";
index 2208dbfb7f0a3c3a0935c79c69709d5e7acff6b3..f2095dfa4eaf6efe2d4c46d2dd78f68fa266ff7f 100644 (file)
@@ -8,6 +8,10 @@
        model = "PINE64 RK3566 SOQuartz on Model A carrier board";
        compatible = "pine64,soquartz-model-a", "pine64,soquartz", "rockchip,rk3566";
 
+       aliases {
+               ethernet0 = &gmac1;
+       };
+
        /* labeled DCIN_12V in schematic */
        vcc12v_dcin: vcc12v-dcin-regulator {
                compatible = "regulator-fixed";
index 63bae36b8f7e7d621b8961182e5a799bd5d05f5a..bfb7b952f4c5e849ed243c53ff3abef5cfb3c4d8 100644 (file)
@@ -12,7 +12,6 @@
        compatible = "pine64,soquartz", "rockchip,rk3566";
 
        aliases {
-               ethernet0 = &gmac1;
                mmc0 = &sdmmc0;
                mmc1 = &sdhci;
                mmc2 = &sdmmc1;