Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i: v3s: enable emac for zero Dock

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

authored by

Andreas Rehn and committed by
Maxime Ripard
d42b3e04 091d5db0

+13 -4
+13 -4
arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
··· 49 49 compatible = "licheepi,licheepi-zero-dock", "licheepi,licheepi-zero", 50 50 "allwinner,sun8i-v3s"; 51 51 52 + aliases { 53 + ethernet0 = &emac; 54 + }; 55 + 52 56 leds { 53 57 /* The LEDs use PG0~2 pins, which conflict with MMC1 */ 54 58 status = "disabled"; 55 59 }; 56 60 }; 57 61 58 - &mmc1 { 59 - broken-cd; 60 - bus-width = <4>; 61 - vmmc-supply = <&reg_vcc3v3>; 62 + &emac { 63 + allwinner,leds-active-low; 62 64 status = "okay"; 63 65 }; 64 66 ··· 95 93 channel = <0>; 96 94 voltage = <800000>; 97 95 }; 96 + }; 97 + 98 + &mmc1 { 99 + broken-cd; 100 + bus-width = <4>; 101 + vmmc-supply = <&reg_vcc3v3>; 102 + status = "okay"; 98 103 };