1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
3 * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.io>
8 #include "sun50i-h6.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
14 compatible = "pine64,pine-h64", "allwinner,sun50i-h6";
22 stdout-path = "serial0:115200n8";
26 compatible = "hdmi-connector";
30 hdmi_con_in: endpoint {
31 remote-endpoint = <&hdmi_out_con>;
37 compatible = "gpio-leds";
40 label = "pine-h64:green:heartbeat";
41 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
45 label = "pine-h64:white:link";
46 gpios = <&r_pio 0 3 GPIO_ACTIVE_HIGH>; /* PL3 */
50 label = "pine-h64:blue:status";
51 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
56 compatible = "regulator-fixed";
57 regulator-name = "usb-vbus";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
60 startup-delay-us = <100000>;
61 gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&ext_rgmii_pins>;
70 phy-handle = <&ext_rgmii_phy>;
71 phy-supply = <®_aldo2>;
72 allwinner,rx-delay-ps = <200>;
73 allwinner,tx-delay-ps = <200>;
78 ext_rgmii_phy: ethernet-phy@1 {
79 compatible = "ethernet-phy-ieee802.3-c22";
89 mali-supply = <®_dcdcc>;
98 hdmi_out_con: endpoint {
99 remote-endpoint = <&hdmi_con_in>;
112 vmmc-supply = <®_cldo1>;
113 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
119 vmmc-supply = <®_cldo1>;
120 vqmmc-supply = <®_bldo2>;
136 vcc-pc-supply = <®_bldo2>;
137 vcc-pd-supply = <®_cldo1>;
138 vcc-pg-supply = <®_aldo1>;
145 compatible = "x-powers,axp805", "x-powers,axp806";
147 interrupt-parent = <&r_intc>;
148 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
149 interrupt-controller;
150 #interrupt-cells = <1>;
151 x-powers,self-working-mode;
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 regulator-name = "vcc-pl";
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
164 regulator-name = "vcc-ac200";
165 regulator-enable-ramp-delay = <100000>;
169 /* This regulator is connected with CLDO1 */
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
173 regulator-name = "vcc-3v3-1";
178 regulator-min-microvolt = <1800000>;
179 regulator-max-microvolt = <1800000>;
180 regulator-name = "vcc-bias-pll";
185 regulator-min-microvolt = <1800000>;
186 regulator-max-microvolt = <1800000>;
187 regulator-name = "vcc-efuse-pcie-hdmi-io";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
194 regulator-name = "vcc-dcxoio";
202 /* This regulator is connected with ALDO3 */
204 regulator-min-microvolt = <3300000>;
205 regulator-max-microvolt = <3300000>;
206 regulator-name = "vcc-3v3-2";
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
212 regulator-name = "vcc-wifi-1";
216 regulator-min-microvolt = <3300000>;
217 regulator-max-microvolt = <3300000>;
218 regulator-name = "vcc-wifi-2";
223 regulator-min-microvolt = <810000>;
224 regulator-max-microvolt = <1080000>;
225 regulator-name = "vdd-cpu";
229 regulator-enable-ramp-delay = <32000>;
230 regulator-min-microvolt = <810000>;
231 regulator-max-microvolt = <1080000>;
232 regulator-name = "vdd-gpu";
237 regulator-min-microvolt = <960000>;
238 regulator-max-microvolt = <960000>;
239 regulator-name = "vdd-sys";
244 regulator-min-microvolt = <1200000>;
245 regulator-max-microvolt = <1200000>;
246 regulator-name = "vcc-dram";
256 compatible = "nxp,pcf8563";
258 interrupt-parent = <&r_intc>;
259 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
269 vcc-pm-supply = <®_aldo1>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&uart0_ph_pins>;
284 usb0_vbus-supply = <®_usb_vbus>;
285 usb3_vbus-supply = <®_usb_vbus>;