ARM: dts: sun8i: v3s: enable emac for zero Dock
authorAndreas Rehn <rehn.andreas86@gmail.com>
Tue, 25 May 2021 17:31:59 +0000 (19:31 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 31 May 2021 09:43:03 +0000 (11:43 +0200)
dwmac-sun8i supports v3s and
Licheepi-zero Dock provides an ethernet port
furthermore, align nodes in alphabetical order

Signed-off-by: Andreas Rehn <rehn.andreas86@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210525173159.183415-1-rehn.andreas86@gmail.com
arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts

index db5cd0b8574b32da1b747b222c339fad4b484e07..752ad05c8f8315a15caefb56527bd435075f6d7d 100644 (file)
        compatible = "licheepi,licheepi-zero-dock", "licheepi,licheepi-zero",
                     "allwinner,sun8i-v3s";
 
+       aliases {
+               ethernet0 = &emac;
+       };
+
        leds {
                /* The LEDs use PG0~2 pins, which conflict with MMC1 */
                status = "disabled";
        };
 };
 
-&mmc1 {
-       broken-cd;
-       bus-width = <4>;
-       vmmc-supply = <&reg_vcc3v3>;
+&emac {
+       allwinner,leds-active-low;
        status = "okay";
 };
 
                voltage = <800000>;
        };
 };
+
+&mmc1 {
+       broken-cd;
+       bus-width = <4>;
+       vmmc-supply = <&reg_vcc3v3>;
+       status = "okay";
+};