All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pieter Beers <pjbrs@floorenpj.xs4all.nl>
To: mripard@kernel.org, jernej.skrabec@siol.net, wens@csie.org,
	linux-arm-kernel@lists.infradead.org
Cc: Pieter Beers <pjbrs@floorenpj.xs4all.nl>
Subject: [PATCH 2/2] ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Add ethernet
Date: Thu,  4 Mar 2021 20:14:56 +0100	[thread overview]
Message-ID: <20210304191456.2895-3-pjbrs@floorenpj.xs4all.nl> (raw)
In-Reply-To: <20210304191456.2895-1-pjbrs@floorenpj.xs4all.nl>

This patch enables the ethernet driver for the BananaPi M2 Zero

The BananaPi M2 Zero does not have an RJ-45 interface, but it
does feature a four-hole header to which an RJ-45 port can be
connected, for a 100 Mbps ethernet link.

Signed-off-by: Pieter Beers <pjbrs@floorenpj.xs4all.nl>
---
 arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
index 9c7b370b836d..1e87fc190ed3 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
@@ -93,6 +93,13 @@
 	status = "okay";
 };
 
+&emac {
+	status = "okay";
+	phy-handle = <&int_mii_phy>;
+	phy-mode = "mii";
+	allwinner,leds-active-low;
+};
+
 &hdmi {
 	status = "okay";
 };
-- 
2.17.5


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-03-04 19:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-28 16:16 BananaPi M2 Zero: Add HDMI out and ethernet Pieter Beers
2021-02-28 16:16 ` [PATCH 1/2] ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Add HDMI out Pieter Beers
2021-03-02  9:19   ` Maxime Ripard
2021-03-02 17:25     ` Jernej Škrabec
2021-03-04 19:14       ` [PATCH 0/2 v2] BananaPi M2 Zero: Add HDMI-out and ethernet Pieter Beers
2021-03-04 19:14         ` [PATCH 1/2] ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Add HDMI out Pieter Beers
2021-03-04 19:30           ` Jernej Škrabec
2021-03-08 15:15           ` Maxime Ripard
2021-03-04 19:14         ` Pieter Beers [this message]
2021-03-08 15:46           ` [PATCH 2/2] ARM: dts: sunxi: h2-plus-bananapi-m2-zero: Add ethernet Maxime Ripard
2021-02-28 16:16 ` Pieter Beers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210304191456.2895-3-pjbrs@floorenpj.xs4all.nl \
    --to=pjbrs@floorenpj.xs4all.nl \
    --cc=jernej.skrabec@siol.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mripard@kernel.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.