1 --- a/arch/arm/boot/dts/Makefile
2 +++ b/arch/arm/boot/dts/Makefile
3 @@ -1202,6 +1202,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \
4 sun8i-h3-orangepi-zero-plus2.dtb \
5 sun8i-h3-rervision-dvk.dtb \
6 sun8i-h3-emlid-neutis-n5h3-devboard.dtb \
7 + sun8i-h3-zeropi.dtb \
8 sun8i-r16-bananapi-m2m.dtb \
9 sun8i-r16-nintendo-nes-classic.dtb \
10 sun8i-r16-nintendo-super-nes-classic.dtb \
12 +++ b/arch/arm/boot/dts/sun8i-h3-zeropi.dts
14 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
16 +#include "sun8i-h3-nanopi.dtsi"
19 + model = "FriendlyElec ZeroPi";
20 + compatible = "friendlyarm,zeropi", "allwinner,sun8i-h3";
26 + reg_gmac_3v3: gmac-3v3 {
27 + compatible = "regulator-fixed";
28 + pinctrl-names = "default";
29 + pinctrl-0 = <&gmac_power_pin_nanopi>;
30 + regulator-name = "gmac-3v3";
31 + regulator-min-microvolt = <3300000>;
32 + regulator-max-microvolt = <3300000>;
33 + startup-delay-us = <100000>;
35 + gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
48 + gmac_power_pin_nanopi: gmac_power_pin@0 {
50 + function = "gpio_out";
55 + ext_rgmii_phy: ethernet-phy@1 {
56 + compatible = "ethernet-phy-ieee802.3-c22";
62 + pinctrl-names = "default";
63 + pinctrl-0 = <&emac_rgmii_pins>;
64 + phy-supply = <®_gmac_3v3>;
65 + phy-handle = <&ext_rgmii_phy>;
68 + allwinner,leds-active-low;
74 + dr_mode = "peripheral";
78 + usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */