[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210522222329.192367-1-rehn.andreas86@gmail.com>
Date: Sun, 23 May 2021 00:23:29 +0200
From: Andreas Rehn <rehn.andreas86@...il.com>
To: mripard@...nel.org, wens@...e.org, jernej.skrabec@...il.com
Cc: linux-sunxi@...ts.linux.dev, linux-kernel@...r.kernel.org,
Andreas Rehn <rehn.andreas86@...il.com>
Subject: [PATCH v2] ARM: dts: sun8i: v3s: enable emac for zero Dock
dwmac-sun8i supports v3s and
Licheepi-zero Dock provides an ethernet port
Signed-off-by: Andreas Rehn <rehn.andreas86@...il.com>
---
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";
+};
--
2.25.1
Powered by blists - more mailing lists