Ethernet for the Nanopi M1 & M1 plus
Subsystems (2)
cover Ethernet for the Nanopi M1 & M1 plus
The first patch of this patch series, fixes a missing alias on the nanopi m1 plus. The second patch enables the dwmac-sun8i ethernet driver on the Nanopi M1.
Philipp Rossak (2):
ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases
ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 1 + arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++ 2 files changed, 12 insertions(+)
Signature · 1 line
2.11.0
PATCH 1/2 ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases
--- arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts +1 -0
@@ -48,6 +48,7 @@ aliases { serial1 = &uart3; + ethernet0 = &emac; ethernet1 = &sdio_wifi; };
Signature · 1 line
2.11.0
Re: [PATCH 1/2] ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases
Hi,
Quoted 1 line · Philipp Rossak
Signed-off-by Philipp Rossak <[email protected]>
Please add a commit log here.
Signature · 3 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Re: [PATCH 1/2] ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases
Sorry!
I will fix it!
Quoted 7 lines · Maxime Ripard
Hi,
Quoted 1 line · Philipp Rossak
Signed-off-by Philipp Rossak <[email protected]>Please add a commit log here.
PATCH 2/2 ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1
In reply to Philipp RossakThe dwmac-sun8i hardware is present on the Nanopi M1. It uses the internal PHY
--- arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts +11 -0
@@ -45,6 +45,10 @@ / { model = "FriendlyArm NanoPi M1"; compatible = "friendlyarm,nanopi-m1", "allwinner,sun8i-h3"; + + aliases { + ethernet0 = &emac; + }; }; &ehci1 {
@@ -55,6 +59,13 @@ status = "okay"; }; +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; + &ir { pinctrl-names = "default"; pinctrl-0 = <&ir_pins_a>;
Signature · 1 line
2.11.0
Maxime Ripard
AppliedRe: [PATCH 2/2] ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1
Quoted 4 lines · Philipp Rossak
The dwmac-sun8i hardware is present on the Nanopi M1. It uses the internal PHY
Signed-off-by Philipp Rossak <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171219/1aa28781/attachment.sig>