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>;
56 compatible = "simple-audio-card";
57 simple-audio-card,name = "sun50i-h6-spdif";
59 simple-audio-card,cpu {
63 simple-audio-card,codec {
64 sound-dai = <&spdif_out>;
68 spdif_out: spdif-out {
69 #sound-dai-cells = <0>;
70 compatible = "linux,spdif-dit";
83 pinctrl-names = "default";
84 pinctrl-0 = <&ext_rgmii_pins>;
86 phy-handle = <&ext_rgmii_phy>;
87 phy-supply = <®_aldo2>;
96 hdmi_out_con: endpoint {
97 remote-endpoint = <&hdmi_con_in>;
102 ext_rgmii_phy: ethernet-phy@1 {
103 compatible = "ethernet-phy-ieee802.3-c22";
109 vmmc-supply = <®_cldo1>;
110 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
116 vmmc-supply = <®_cldo1>;
117 vqmmc-supply = <®_bldo2>;
129 vcc-pd-supply = <®_cldo1>;
130 vcc-pg-supply = <®_aldo1>;
137 compatible = "x-powers,axp805", "x-powers,axp806";
139 interrupt-parent = <&r_intc>;
140 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
141 interrupt-controller;
142 #interrupt-cells = <1>;
143 x-powers,self-working-mode;
144 vina-supply = <®_vcc5v>;
145 vinb-supply = <®_vcc5v>;
146 vinc-supply = <®_vcc5v>;
147 vind-supply = <®_vcc5v>;
148 vine-supply = <®_vcc5v>;
149 aldoin-supply = <®_vcc5v>;
150 bldoin-supply = <®_vcc5v>;
151 cldoin-supply = <®_vcc5v>;
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 regulator-name = "vcc-pl";
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
164 regulator-name = "vcc-ac200";
165 regulator-enable-ramp-delay = <100000>;
170 regulator-min-microvolt = <3300000>;
171 regulator-max-microvolt = <3300000>;
172 regulator-name = "vcc25-dram";
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
179 regulator-name = "vcc-bias-pll";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
186 regulator-name = "vcc-efuse-pcie-hdmi-io";
191 regulator-min-microvolt = <1800000>;
192 regulator-max-microvolt = <1800000>;
193 regulator-name = "vcc-dcxoio";
202 regulator-min-microvolt = <3300000>;
203 regulator-max-microvolt = <3300000>;
204 regulator-name = "vcc-3v3";
208 regulator-min-microvolt = <3300000>;
209 regulator-max-microvolt = <3300000>;
210 regulator-name = "vcc-wifi-1";
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
216 regulator-name = "vcc-wifi-2";
221 regulator-min-microvolt = <810000>;
222 regulator-max-microvolt = <1080000>;
223 regulator-name = "vdd-cpu";
227 regulator-min-microvolt = <810000>;
228 regulator-max-microvolt = <1080000>;
229 regulator-name = "vdd-gpu";
234 regulator-min-microvolt = <960000>;
235 regulator-max-microvolt = <960000>;
236 regulator-name = "vdd-sys";
241 regulator-min-microvolt = <1200000>;
242 regulator-max-microvolt = <1200000>;
243 regulator-name = "vcc-dram";
259 * PL0 and PL1 are used for PMIC I2C
260 * don't enable the pl-supply else
261 * it will fail at boot
263 * vcc-pl-supply = <®_aldo1>;
265 vcc-pm-supply = <®_aldo1>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&uart0_ph_pins>;
284 usb0_vbus-supply = <®_vcc5v>;