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 Cherry pick a few changes from the armbian ...
details: https://anonhg.NetBSD.org/src/rev/bb6ccec8b4d3
branches: trunk
changeset: 965981:bb6ccec8b4d3
user: bad <bad%NetBSD.org@localhost>
date: Tue Oct 08 23:00:36 2019 +0000
description:
Cherry pick a few changes from the armbian u-boot patch.
Makes my NanoPi R1 boot reliably.
>From https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi/add-nano+pi-r1-and-duo2.patch
diffstat:
sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 89be5663f59e -r bb6ccec8b4d3 sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts
--- a/sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts Tue Oct 08 22:55:58 2019 +0000
+++ b/sys/arch/arm/dts/sun8i-h3-nanopi-r1.dts Tue Oct 08 23:00:36 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i-h3-nanopi-r1.dts,v 1.1 2019/10/08 22:55:58 bad Exp $ */
+/* $NetBSD: sun8i-h3-nanopi-r1.dts,v 1.2 2019/10/08 23:00:36 bad Exp $ */
/*
* Copyright (C) 2019 Igor Pecovnik <igor%armbian.com@localhost>
@@ -63,6 +63,7 @@
reg_gmac_3v3: gmac-3v3 {
compatible = "regulator-fixed";
+ pinctrl-names = "default";
regulator-name = "gmac-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
@@ -129,6 +130,15 @@
};
};
+#if 0 /* XXX u-boot dts for NanoPi R1 has this but not needed? */
+&pio {
+ gmac_power_pin_nanopi: gmac_power_pin@0 {
+ pins = "PD6";
+ function = "gpio_out";
+ };
+};
+#endif
+
&emac {
pinctrl-names = "default";
pinctrl-0 = <&emac_rgmii_pins>;
@@ -170,6 +180,11 @@
vqmmc-supply = <®_vcc3v3>;
bus-width = <8>;
non-removable;
+ cap-mmc-hw-reset;
+ status = "okay";
+};
+
+&ehci0 {
status = "okay";
};
Home |
Main Index |
Thread Index |
Old Index