1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
3 * Copyright (C) 2019 Clément Péron <peron.clem@gmail.com>
8 #include "sun50i-h6.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
13 model = "Beelink GS1";
14 compatible = "azw,beelink-gs1", "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 = "beelink:white:power";
41 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
47 /* board wide 5V supply directly from the DC jack */
48 compatible = "regulator-fixed";
49 regulator-name = "vcc-5v";
50 regulator-min-microvolt = <5000000>;
51 regulator-max-microvolt = <5000000>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&ext_rgmii_pins>;
68 phy-handle = <&ext_rgmii_phy>;
69 phy-supply = <®_aldo2>;
78 hdmi_out_con: endpoint {
79 remote-endpoint = <&hdmi_con_in>;
84 ext_rgmii_phy: ethernet-phy@1 {
85 compatible = "ethernet-phy-ieee802.3-c22";
91 vmmc-supply = <®_cldo1>;
92 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
98 vmmc-supply = <®_cldo1>;
99 vqmmc-supply = <®_bldo2>;
111 vcc-pd-supply = <®_cldo1>;
112 vcc-pg-supply = <®_aldo1>;
119 compatible = "x-powers,axp805", "x-powers,axp806";
121 interrupt-parent = <&r_intc>;
122 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
123 interrupt-controller;
124 #interrupt-cells = <1>;
125 x-powers,self-working-mode;
126 vina-supply = <®_vcc5v>;
127 vinb-supply = <®_vcc5v>;
128 vinc-supply = <®_vcc5v>;
129 vind-supply = <®_vcc5v>;
130 vine-supply = <®_vcc5v>;
131 aldoin-supply = <®_vcc5v>;
132 bldoin-supply = <®_vcc5v>;
133 cldoin-supply = <®_vcc5v>;
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
140 regulator-name = "vcc-pl";
144 regulator-min-microvolt = <3300000>;
145 regulator-max-microvolt = <3300000>;
146 regulator-name = "vcc-ac200";
147 regulator-enable-ramp-delay = <100000>;
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
154 regulator-name = "vcc25-dram";
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
161 regulator-name = "vcc-bias-pll";
166 regulator-min-microvolt = <1800000>;
167 regulator-max-microvolt = <1800000>;
168 regulator-name = "vcc-efuse-pcie-hdmi-io";
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <1800000>;
175 regulator-name = "vcc-dcxoio";
184 regulator-min-microvolt = <3300000>;
185 regulator-max-microvolt = <3300000>;
186 regulator-name = "vcc-3v3";
190 regulator-min-microvolt = <3300000>;
191 regulator-max-microvolt = <3300000>;
192 regulator-name = "vcc-wifi-1";
196 regulator-min-microvolt = <3300000>;
197 regulator-max-microvolt = <3300000>;
198 regulator-name = "vcc-wifi-2";
203 regulator-min-microvolt = <810000>;
204 regulator-max-microvolt = <1080000>;
205 regulator-name = "vdd-cpu";
209 regulator-min-microvolt = <810000>;
210 regulator-max-microvolt = <1080000>;
211 regulator-name = "vdd-gpu";
216 regulator-min-microvolt = <960000>;
217 regulator-max-microvolt = <960000>;
218 regulator-name = "vdd-sys";
223 regulator-min-microvolt = <1200000>;
224 regulator-max-microvolt = <1200000>;
225 regulator-name = "vcc-dram";
237 * PL0 and PL1 are used for PMIC I2C
238 * don't enable the pl-supply else
239 * it will fail at boot
241 * vcc-pl-supply = <®_aldo1>;
243 vcc-pm-supply = <®_aldo1>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&uart0_ph_pins>;
258 usb0_vbus-supply = <®_vcc5v>;