Re: [PATCH v2] ARM: dts: sun8i: v3s: enable emac for zero Dock
From: Maxime Ripard
Date: Tue May 25 2021 - 04:08:11 EST
Hi Andreas,
On Sun, May 23, 2021 at 12:23:29AM +0200, Andreas Rehn wrote:
> dwmac-sun8i supports v3s and
> Licheepi-zero Dock provides an ethernet port
>
> Signed-off-by: Andreas Rehn <rehn.andreas86@xxxxxxxxx>
> ---
> Changes in v2:
> - add ethernet0 alias.
>
> arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
> index db5cd0b8574b..4d564028f286 100644
> --- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
> +++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
> @@ -49,6 +49,10 @@ / {
> 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";
> @@ -94,3 +98,8 @@ button-800 {
> voltage = <800000>;
> };
> };
> +
> +&emac {
> + allwinner,leds-active-low;
> + status = "okay";
> +};
We use alphabetical order for phandle derefences
Maxime
Attachment:
signature.asc
Description: PGP signature