1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.io>
6 #include "sun50i-h6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
11 model = "Pine H64 model A";
12 compatible = "pine64,pine-h64", "allwinner,sun50i-h6";
20 stdout-path = "serial0:115200n8";
23 hdmi_connector: connector {
24 compatible = "hdmi-connector";
26 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
29 hdmi_con_in: endpoint {
30 remote-endpoint = <&hdmi_out_con>;
36 compatible = "gpio-leds";
39 label = "pine-h64:green:heartbeat";
40 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
44 label = "pine-h64:white:link";
45 gpios = <&r_pio 0 3 GPIO_ACTIVE_HIGH>; /* PL3 */
49 label = "pine-h64:blue:status";
50 gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
54 reg_gmac_3v3: gmac-3v3 {
55 compatible = "regulator-fixed";
56 regulator-name = "vcc-gmac-3v3";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
59 startup-delay-us = <100000>;
60 gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>;
65 compatible = "regulator-fixed";
66 regulator-name = "usb-vbus";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
69 startup-delay-us = <100000>;
70 gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&ext_rgmii_pins>;
79 phy-handle = <&ext_rgmii_phy>;
80 phy-supply = <®_gmac_3v3>;
81 allwinner,rx-delay-ps = <200>;
82 allwinner,tx-delay-ps = <200>;
87 ext_rgmii_phy: ethernet-phy@1 {
88 compatible = "ethernet-phy-ieee802.3-c22";
98 mali-supply = <®_dcdcc>;
107 hdmi_out_con: endpoint {
108 remote-endpoint = <&hdmi_con_in>;
121 vmmc-supply = <®_cldo1>;
122 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
128 vmmc-supply = <®_cldo1>;
129 vqmmc-supply = <®_bldo2>;
145 vcc-pc-supply = <®_bldo2>;
146 vcc-pd-supply = <®_cldo1>;
147 vcc-pg-supply = <®_aldo1>;
154 compatible = "x-powers,axp805", "x-powers,axp806";
156 interrupt-parent = <&r_intc>;
157 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
158 interrupt-controller;
159 #interrupt-cells = <1>;
160 x-powers,self-working-mode;
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
167 regulator-name = "vcc-pl";
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
173 regulator-name = "vcc-ac200";
174 regulator-enable-ramp-delay = <100000>;
178 /* This regulator is connected with CLDO1 */
180 regulator-min-microvolt = <3300000>;
181 regulator-max-microvolt = <3300000>;
182 regulator-name = "vcc-3v3-1";
187 regulator-min-microvolt = <1800000>;
188 regulator-max-microvolt = <1800000>;
189 regulator-name = "vcc-bias-pll";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
196 regulator-name = "vcc-efuse-pcie-hdmi-io";
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <1800000>;
203 regulator-name = "vcc-dcxoio";
211 /* This regulator is connected with ALDO3 */
213 regulator-min-microvolt = <3300000>;
214 regulator-max-microvolt = <3300000>;
215 regulator-name = "vcc-3v3-2";
219 regulator-min-microvolt = <3300000>;
220 regulator-max-microvolt = <3300000>;
221 regulator-name = "vcc-wifi-1";
225 regulator-min-microvolt = <3300000>;
226 regulator-max-microvolt = <3300000>;
227 regulator-name = "vcc-wifi-2";
232 regulator-min-microvolt = <810000>;
233 regulator-max-microvolt = <1080000>;
234 regulator-name = "vdd-cpu";
238 regulator-enable-ramp-delay = <32000>;
239 regulator-min-microvolt = <810000>;
240 regulator-max-microvolt = <1080000>;
241 regulator-name = "vdd-gpu";
246 regulator-min-microvolt = <960000>;
247 regulator-max-microvolt = <960000>;
248 regulator-name = "vdd-sys";
253 regulator-min-microvolt = <1200000>;
254 regulator-max-microvolt = <1200000>;
255 regulator-name = "vcc-dram";
265 compatible = "nxp,pcf8563";
267 interrupt-parent = <&r_intc>;
268 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
278 vcc-pm-supply = <®_aldo1>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&uart0_ph_pins>;
293 usb0_vbus-supply = <®_usb_vbus>;
294 usb3_vbus-supply = <®_usb_vbus>;