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>;
86 phy-mode = "rgmii-id";
87 phy-handle = <&ext_rgmii_phy>;
88 phy-supply = <®_aldo2>;
97 hdmi_out_con: endpoint {
98 remote-endpoint = <&hdmi_con_in>;
103 ext_rgmii_phy: ethernet-phy@1 {
104 compatible = "ethernet-phy-ieee802.3-c22";
110 vmmc-supply = <®_cldo1>;
111 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
117 vmmc-supply = <®_cldo1>;
118 vqmmc-supply = <®_bldo2>;
130 vcc-pd-supply = <®_cldo1>;
131 vcc-pg-supply = <®_aldo1>;
138 compatible = "x-powers,axp805", "x-powers,axp806";
140 interrupt-parent = <&r_intc>;
141 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
142 interrupt-controller;
143 #interrupt-cells = <1>;
144 x-powers,self-working-mode;
145 vina-supply = <®_vcc5v>;
146 vinb-supply = <®_vcc5v>;
147 vinc-supply = <®_vcc5v>;
148 vind-supply = <®_vcc5v>;
149 vine-supply = <®_vcc5v>;
150 aldoin-supply = <®_vcc5v>;
151 bldoin-supply = <®_vcc5v>;
152 cldoin-supply = <®_vcc5v>;
157 regulator-min-microvolt = <3300000>;
158 regulator-max-microvolt = <3300000>;
159 regulator-name = "vcc-pl";
163 regulator-min-microvolt = <3300000>;
164 regulator-max-microvolt = <3300000>;
165 regulator-name = "vcc-ac200";
166 regulator-enable-ramp-delay = <100000>;
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
173 regulator-name = "vcc25-dram";
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";
203 regulator-min-microvolt = <3300000>;
204 regulator-max-microvolt = <3300000>;
205 regulator-name = "vcc-3v3";
209 regulator-min-microvolt = <3300000>;
210 regulator-max-microvolt = <3300000>;
211 regulator-name = "vcc-wifi-1";
215 regulator-min-microvolt = <3300000>;
216 regulator-max-microvolt = <3300000>;
217 regulator-name = "vcc-wifi-2";
222 regulator-min-microvolt = <810000>;
223 regulator-max-microvolt = <1080000>;
224 regulator-name = "vdd-cpu";
228 regulator-min-microvolt = <810000>;
229 regulator-max-microvolt = <1080000>;
230 regulator-name = "vdd-gpu";
235 regulator-min-microvolt = <960000>;
236 regulator-max-microvolt = <960000>;
237 regulator-name = "vdd-sys";
242 regulator-min-microvolt = <1200000>;
243 regulator-max-microvolt = <1200000>;
244 regulator-name = "vcc-dram";
260 * PL0 and PL1 are used for PMIC I2C
261 * don't enable the pl-supply else
262 * it will fail at boot
264 * vcc-pl-supply = <®_aldo1>;
266 vcc-pm-supply = <®_aldo1>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&uart0_ph_pins>;
285 usb0_vbus-supply = <®_vcc5v>;