1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2019 Clément Péron <peron.clem@gmail.com>
6 #include "sun50i-h6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
11 model = "Beelink GS1";
12 compatible = "azw,beelink-gs1", "allwinner,sun50i-h6";
20 stdout-path = "serial0:115200n8";
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>;
35 ext_osc32k: ext_osc32k_clk {
37 compatible = "fixed-clock";
38 clock-frequency = <32768>;
39 clock-output-names = "ext_osc32k";
43 compatible = "gpio-leds";
46 label = "beelink:white:power";
47 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
53 /* board wide 5V supply directly from the DC jack */
54 compatible = "regulator-fixed";
55 regulator-name = "vcc-5v";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
62 compatible = "simple-audio-card";
63 simple-audio-card,name = "sun50i-h6-spdif";
65 simple-audio-card,cpu {
69 simple-audio-card,codec {
70 sound-dai = <&spdif_out>;
74 spdif_out: spdif-out {
75 #sound-dai-cells = <0>;
76 compatible = "linux,spdif-dit";
93 pinctrl-names = "default";
94 pinctrl-0 = <&ext_rgmii_pins>;
96 phy-handle = <&ext_rgmii_phy>;
97 phy-supply = <®_aldo2>;
102 mali-supply = <®_dcdcc>;
111 hdmi_out_con: endpoint {
112 remote-endpoint = <&hdmi_con_in>;
117 ext_rgmii_phy: ethernet-phy@1 {
118 compatible = "ethernet-phy-ieee802.3-c22";
124 vmmc-supply = <®_cldo1>;
125 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
131 vmmc-supply = <®_cldo1>;
132 vqmmc-supply = <®_bldo2>;
144 vcc-pd-supply = <®_cldo1>;
145 vcc-pg-supply = <®_aldo1>;
152 compatible = "x-powers,axp805", "x-powers,axp806";
154 interrupt-parent = <&r_intc>;
155 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
156 interrupt-controller;
157 #interrupt-cells = <1>;
158 x-powers,self-working-mode;
159 vina-supply = <®_vcc5v>;
160 vinb-supply = <®_vcc5v>;
161 vinc-supply = <®_vcc5v>;
162 vind-supply = <®_vcc5v>;
163 vine-supply = <®_vcc5v>;
164 aldoin-supply = <®_vcc5v>;
165 bldoin-supply = <®_vcc5v>;
166 cldoin-supply = <®_vcc5v>;
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
173 regulator-name = "vcc-pl";
177 regulator-min-microvolt = <3300000>;
178 regulator-max-microvolt = <3300000>;
179 regulator-name = "vcc-ac200";
180 regulator-enable-ramp-delay = <100000>;
185 regulator-min-microvolt = <3300000>;
186 regulator-max-microvolt = <3300000>;
187 regulator-name = "vcc25-dram";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
194 regulator-name = "vcc-bias-pll";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
201 regulator-name = "vcc-efuse-pcie-hdmi-io";
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <1800000>;
208 regulator-name = "vcc-dcxoio";
217 regulator-min-microvolt = <3300000>;
218 regulator-max-microvolt = <3300000>;
219 regulator-name = "vcc-3v3";
223 regulator-min-microvolt = <3300000>;
224 regulator-max-microvolt = <3300000>;
225 regulator-name = "vcc-wifi-1";
229 regulator-min-microvolt = <3300000>;
230 regulator-max-microvolt = <3300000>;
231 regulator-name = "vcc-wifi-2";
236 regulator-min-microvolt = <810000>;
237 regulator-max-microvolt = <1080000>;
238 regulator-name = "vdd-cpu";
242 regulator-enable-ramp-delay = <32000>;
243 regulator-min-microvolt = <810000>;
244 regulator-max-microvolt = <1080000>;
245 regulator-name = "vdd-gpu";
250 regulator-min-microvolt = <960000>;
251 regulator-max-microvolt = <960000>;
252 regulator-name = "vdd-sys";
257 regulator-min-microvolt = <1200000>;
258 regulator-max-microvolt = <1200000>;
259 regulator-name = "vcc-dram";
270 linux,rc-map-name = "rc-beelink-gs1";
276 * PL0 and PL1 are used for PMIC I2C
277 * don't enable the pl-supply else
278 * it will fail at boot
280 * vcc-pl-supply = <®_aldo1>;
282 vcc-pm-supply = <®_aldo1>;
286 clocks = <&ext_osc32k>;
294 pinctrl-names = "default";
295 pinctrl-0 = <&uart0_ph_pins>;
305 usb0_vbus-supply = <®_vcc5v>;