Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/dts Enable emac for NanoPi M1
details: https://anonhg.NetBSD.org/src/rev/6b367def710a
branches: trunk
changeset: 358333:6b367def710a
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Dec 22 13:27:29 2017 +0000
description:
Enable emac for NanoPi M1
diffstat:
sys/arch/arm/dts/sun8i-h3-nanopi-m1.dts | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 3d974b5c54f3 -r 6b367def710a sys/arch/arm/dts/sun8i-h3-nanopi-m1.dts
--- a/sys/arch/arm/dts/sun8i-h3-nanopi-m1.dts Fri Dec 22 11:22:37 2017 +0000
+++ b/sys/arch/arm/dts/sun8i-h3-nanopi-m1.dts Fri Dec 22 13:27:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i-h3-nanopi-m1.dts,v 1.1 2017/12/22 00:56:44 jmcneill Exp $ */
+/* $NetBSD: sun8i-h3-nanopi-m1.dts,v 1.2 2017/12/22 13:27:29 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,3 +28,10 @@
#include "../../../external/gpl2/dts/dist/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts"
#include "sun8i-h3.dtsi"
+
+&emac {
+ phy-handle = <&int_mii_phy>;
+ phy-mode = "mii";
+ allwinner,leds-active-low;
+ status = "okay";
+};
Home |
Main Index |
Thread Index |
Old Index