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";
28 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
31 hdmi_con_in: endpoint {
32 remote-endpoint = <&hdmi_out_con>;
38 compatible = "gpio-leds";
41 label = "beelink:white:power";
42 gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
48 /* board wide 5V supply directly from the DC jack */
49 compatible = "regulator-fixed";
50 regulator-name = "vcc-5v";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
57 compatible = "simple-audio-card";
58 simple-audio-card,name = "sun50i-h6-spdif";
60 simple-audio-card,cpu {
64 simple-audio-card,codec {
65 sound-dai = <&spdif_out>;
69 spdif_out: spdif-out {
70 #sound-dai-cells = <0>;
71 compatible = "linux,spdif-dit";
84 pinctrl-names = "default";
85 pinctrl-0 = <&ext_rgmii_pins>;
87 phy-handle = <&ext_rgmii_phy>;
88 phy-supply = <®_aldo2>;
93 mali-supply = <®_dcdcc>;
102 hdmi_out_con: endpoint {
103 remote-endpoint = <&hdmi_con_in>;
108 ext_rgmii_phy: ethernet-phy@1 {
109 compatible = "ethernet-phy-ieee802.3-c22";
115 vmmc-supply = <®_cldo1>;
116 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
122 vmmc-supply = <®_cldo1>;
123 vqmmc-supply = <®_bldo2>;
135 vcc-pd-supply = <®_cldo1>;
136 vcc-pg-supply = <®_aldo1>;
143 compatible = "x-powers,axp805", "x-powers,axp806";
145 interrupt-parent = <&r_intc>;
146 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
147 interrupt-controller;
148 #interrupt-cells = <1>;
149 x-powers,self-working-mode;
150 vina-supply = <®_vcc5v>;
151 vinb-supply = <®_vcc5v>;
152 vinc-supply = <®_vcc5v>;
153 vind-supply = <®_vcc5v>;
154 vine-supply = <®_vcc5v>;
155 aldoin-supply = <®_vcc5v>;
156 bldoin-supply = <®_vcc5v>;
157 cldoin-supply = <®_vcc5v>;
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
164 regulator-name = "vcc-pl";
168 regulator-min-microvolt = <3300000>;
169 regulator-max-microvolt = <3300000>;
170 regulator-name = "vcc-ac200";
171 regulator-enable-ramp-delay = <100000>;
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
178 regulator-name = "vcc25-dram";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
185 regulator-name = "vcc-bias-pll";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
192 regulator-name = "vcc-efuse-pcie-hdmi-io";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
199 regulator-name = "vcc-dcxoio";
208 regulator-min-microvolt = <3300000>;
209 regulator-max-microvolt = <3300000>;
210 regulator-name = "vcc-3v3";
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
216 regulator-name = "vcc-wifi-1";
220 regulator-min-microvolt = <3300000>;
221 regulator-max-microvolt = <3300000>;
222 regulator-name = "vcc-wifi-2";
227 regulator-min-microvolt = <810000>;
228 regulator-max-microvolt = <1080000>;
229 regulator-name = "vdd-cpu";
233 regulator-enable-ramp-delay = <32000>;
234 regulator-min-microvolt = <810000>;
235 regulator-max-microvolt = <1080000>;
236 regulator-name = "vdd-gpu";
241 regulator-min-microvolt = <960000>;
242 regulator-max-microvolt = <960000>;
243 regulator-name = "vdd-sys";
248 regulator-min-microvolt = <1200000>;
249 regulator-max-microvolt = <1200000>;
250 regulator-name = "vcc-dram";
261 linux,rc-map-name = "rc-beelink-gs1";
267 * PL0 and PL1 are used for PMIC I2C
268 * don't enable the pl-supply else
269 * it will fail at boot
271 * vcc-pl-supply = <®_aldo1>;
273 vcc-pm-supply = <®_aldo1>;
281 pinctrl-names = "default";
282 pinctrl-0 = <&uart0_ph_pins>;
292 usb0_vbus-supply = <®_vcc5v>;