1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2018 Linaro Ltd.
6 #include <dt-bindings/pwm/pwm.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
11 vcc1v8_s0: vcc1v8-s0 {
12 compatible = "regulator-fixed";
13 regulator-name = "vcc1v8_s0";
14 regulator-min-microvolt = <1800000>;
15 regulator-max-microvolt = <1800000>;
20 compatible = "regulator-fixed";
21 regulator-name = "vcc_sys";
22 regulator-min-microvolt = <5000000>;
23 regulator-max-microvolt = <5000000>;
27 vcc3v3_sys: vcc3v3-sys {
28 compatible = "regulator-fixed";
29 regulator-name = "vcc3v3_sys";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
33 vin-supply = <&vcc_sys>;
36 vcc3v3_pcie: vcc3v3-pcie-regulator {
37 compatible = "regulator-fixed";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pcie_drv>;
42 regulator-name = "vcc3v3_pcie";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
45 vin-supply = <&vcc3v3_sys>;
48 vcc5v0_host: vcc5v0-host-regulator {
49 compatible = "regulator-fixed";
51 pinctrl-names = "default";
52 pinctrl-0 = <&host_vbus_drv>;
53 regulator-name = "vcc5v0_host";
54 regulator-min-microvolt = <5000000>;
55 regulator-max-microvolt = <5000000>;
57 vin-supply = <&vcc_sys>;
61 compatible = "pwm-regulator";
62 pwms = <&pwm2 0 25000 0>;
63 regulator-name = "vdd_log";
64 regulator-min-microvolt = <800000>;
65 regulator-max-microvolt = <1400000>;
68 vin-supply = <&vcc_sys>;
74 cpu-supply = <&vdd_cpu_l>;
78 cpu-supply = <&vdd_cpu_l>;
82 cpu-supply = <&vdd_cpu_l>;
86 cpu-supply = <&vdd_cpu_l>;
90 cpu-supply = <&vdd_cpu_b>;
94 cpu-supply = <&vdd_cpu_b>;
106 clock-frequency = <400000>;
107 i2c-scl-rising-time-ns = <168>;
108 i2c-scl-falling-time-ns = <4>;
111 vdd_cpu_b: regulator@40 {
112 compatible = "silergy,syr827";
114 fcs,suspend-voltage-selector = <1>;
115 regulator-name = "vdd_cpu_b";
116 regulator-min-microvolt = <712500>;
117 regulator-max-microvolt = <1500000>;
118 regulator-ramp-delay = <1000>;
121 vin-supply = <&vcc_sys>;
124 regulator-state-mem {
125 regulator-off-in-suspend;
129 vdd_gpu: regulator@41 {
130 compatible = "silergy,syr828";
132 fcs,suspend-voltage-selector = <1>;
133 regulator-name = "vdd_gpu";
134 regulator-min-microvolt = <712500>;
135 regulator-max-microvolt = <1500000>;
136 regulator-ramp-delay = <1000>;
139 vin-supply = <&vcc_sys>;
140 regulator-state-mem {
141 regulator-off-in-suspend;
146 compatible = "rockchip,rk808";
148 interrupt-parent = <&gpio1>;
149 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pmic_int_l>;
152 rockchip,system-power-controller;
155 clock-output-names = "xin32k", "rk808-clkout2";
157 vcc1-supply = <&vcc_sys>;
158 vcc2-supply = <&vcc_sys>;
159 vcc3-supply = <&vcc_sys>;
160 vcc4-supply = <&vcc_sys>;
161 vcc6-supply = <&vcc_sys>;
162 vcc7-supply = <&vcc_sys>;
163 vcc8-supply = <&vcc3v3_sys>;
164 vcc9-supply = <&vcc_sys>;
165 vcc10-supply = <&vcc_sys>;
166 vcc11-supply = <&vcc_sys>;
167 vcc12-supply = <&vcc3v3_sys>;
168 vddio-supply = <&vcc_1v8>;
171 vdd_center: DCDC_REG1 {
172 regulator-name = "vdd_center";
173 regulator-min-microvolt = <750000>;
174 regulator-max-microvolt = <1350000>;
177 regulator-state-mem {
178 regulator-off-in-suspend;
182 vdd_cpu_l: DCDC_REG2 {
183 regulator-name = "vdd_cpu_l";
184 regulator-min-microvolt = <750000>;
185 regulator-max-microvolt = <1350000>;
188 regulator-state-mem {
189 regulator-off-in-suspend;
194 regulator-name = "vcc_ddr";
197 regulator-state-mem {
198 regulator-on-in-suspend;
203 regulator-name = "vcc_1v8";
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
208 regulator-state-mem {
209 regulator-on-in-suspend;
210 regulator-suspend-microvolt = <1800000>;
214 vcc1v8_dvp: LDO_REG1 {
215 regulator-name = "vcc1v8_dvp";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
220 regulator-state-mem {
221 regulator-on-in-suspend;
222 regulator-suspend-microvolt = <1800000>;
226 vcca1v8_hdmi: LDO_REG2 {
227 regulator-name = "vcca1v8_hdmi";
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
232 regulator-state-mem {
233 regulator-on-in-suspend;
234 regulator-suspend-microvolt = <1800000>;
239 regulator-name = "vcca_1v8";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
244 regulator-state-mem {
245 regulator-on-in-suspend;
246 regulator-suspend-microvolt = <1800000>;
251 regulator-name = "vcc_sd";
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <3300000>;
256 regulator-state-mem {
257 regulator-on-in-suspend;
258 regulator-suspend-microvolt = <3300000>;
262 vcc3v0_sd: LDO_REG5 {
263 regulator-name = "vcc3v0_sd";
264 regulator-min-microvolt = <3000000>;
265 regulator-max-microvolt = <3000000>;
268 regulator-state-mem {
269 regulator-on-in-suspend;
270 regulator-suspend-microvolt = <3000000>;
275 regulator-name = "vcc_1v5";
276 regulator-min-microvolt = <1500000>;
277 regulator-max-microvolt = <1500000>;
280 regulator-state-mem {
281 regulator-on-in-suspend;
282 regulator-suspend-microvolt = <1500000>;
286 vcca0v9_hdmi: LDO_REG7 {
287 regulator-name = "vcca0v9_hdmi";
288 regulator-min-microvolt = <900000>;
289 regulator-max-microvolt = <900000>;
292 regulator-state-mem {
293 regulator-on-in-suspend;
294 regulator-suspend-microvolt = <900000>;
299 regulator-name = "vcc_3v0";
300 regulator-min-microvolt = <3000000>;
301 regulator-max-microvolt = <3000000>;
304 regulator-state-mem {
305 regulator-on-in-suspend;
306 regulator-suspend-microvolt = <3000000>;
310 vcc3v3_s3: SWITCH_REG1 {
311 regulator-name = "vcc3v3_s3";
314 regulator-state-mem {
315 regulator-on-in-suspend;
319 vcc3v3_s0: SWITCH_REG2 {
320 regulator-name = "vcc3v3_s0";
323 regulator-state-mem {
324 regulator-on-in-suspend;
348 bt656-supply = <&vcc1v8_s0>; /* bt656_gpio2ab_ms */
349 audio-supply = <&vcc1v8_s0>; /* audio_gpio3d4a_ms */
350 sdmmc-supply = <&vcc_sd>; /* sdmmc_gpio4b_ms */
351 gpio1830-supply = <&vcc_3v0>; /* gpio1833_gpio4cd_ms */
361 pinctrl-names = "default";
362 pinctrl-0 = <&pcie_clkreqn_cpm>;
363 vpcie3v3-supply = <&vcc3v3_pcie>;
368 pmu1830-supply = <&vcc_1v8>;
374 sdmmc_bus1: sdmmc-bus1 {
376 <4 8 RK_FUNC_1 &pcfg_pull_up_8ma>;
379 sdmmc_bus4: sdmmc-bus4 {
381 <4 8 RK_FUNC_1 &pcfg_pull_up_8ma>,
382 <4 9 RK_FUNC_1 &pcfg_pull_up_8ma>,
383 <4 10 RK_FUNC_1 &pcfg_pull_up_8ma>,
384 <4 11 RK_FUNC_1 &pcfg_pull_up_8ma>;
387 sdmmc_clk: sdmmc-clk {
389 <4 12 RK_FUNC_1 &pcfg_pull_none_18ma>;
392 sdmmc_cmd: sdmmc-cmd {
394 <4 13 RK_FUNC_1 &pcfg_pull_up_8ma>;
399 pmic_int_l: pmic-int-l {
401 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
404 vsel1_gpio: vsel1-gpio {
406 <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
409 vsel2_gpio: vsel2-gpio {
411 <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
427 mmc-hs400-enhanced-strobe;
436 clock-frequency = <100000000>;
437 clock-freq-min-max = <100000 100000000>;
438 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
441 vqmmc-supply = <&vcc_sd>;
442 card-detect-delay = <800>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
449 pinctrl-names = "default";
450 pinctrl-0 = <&uart0_xfer &uart0_cts>;
467 phy-supply = <&vcc5v0_host>;
472 phy-supply = <&vcc5v0_host>;