Lines Matching +full:regulator +full:- +full:state +full:-

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/rockchip,rk808.h>
12 stdout-path = "serial2:115200n8";
20 ext_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 #clock-cells = <0>;
23 clock-frequency = <125000000>;
24 clock-output-names = "ext_gmac";
27 gpio-keys {
28 compatible = "gpio-keys";
29 #address-cells = <1>;
30 #size-cells = <0>;
33 pinctrl-names = "default";
34 pinctrl-0 = <&pwrbtn>;
40 linux,input-type = <1>;
41 wakeup-source;
42 debounce-interval = <100>;
46 gpio-leds {
47 compatible = "gpio-leds";
49 act_led: led-0 {
51 linux,default-trigger = "mmc0";
54 heartbeat_led: led-1 {
56 linux,default-trigger = "heartbeat";
59 pwr_led: led-2 {
61 linux,default-trigger = "default-on";
65 sdio_pwrseq: sdio-pwrseq {
66 compatible = "mmc-pwrseq-simple";
68 clock-names = "ext_clock";
69 pinctrl-names = "default";
70 pinctrl-0 = <&wifi_enable>;
71 reset-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_LOW>,
76 compatible = "simple-audio-card";
77 simple-audio-card,format = "i2s";
78 simple-audio-card,name = "rockchip,tinker-codec";
79 simple-audio-card,mclk-fs = <512>;
81 simple-audio-card,codec {
82 sound-dai = <&hdmi>;
85 simple-audio-card,cpu {
86 sound-dai = <&i2s>;
90 vcc_sys: vsys-regulator {
91 compatible = "regulator-fixed";
92 regulator-name = "vcc_sys";
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
95 regulator-always-on;
96 regulator-boot-on;
99 vcc_sd: sdmmc-regulator {
100 compatible = "regulator-fixed";
102 pinctrl-names = "default";
103 pinctrl-0 = <&sdmmc_pwr>;
104 regulator-name = "vcc_sd";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
107 startup-delay-us = <100000>;
108 vin-supply = <&vcc_io>;
113 cpu0-supply = <&vdd_cpu>;
117 opp-1704000000 {
118 opp-hz = /bits/ 64 <1704000000>;
119 opp-microvolt = <1350000>;
121 opp-1800000000 {
122 opp-hz = /bits/ 64 <1800000000>;
123 opp-microvolt = <1400000>;
128 assigned-clocks = <&cru SCLK_MAC>;
129 assigned-clock-parents = <&ext_gmac>;
131 phy-mode = "rgmii";
132 phy-supply = <&vcc33_lan>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&rgmii_pins>;
135 snps,reset-gpio = <&gpio4 7 0>;
136 snps,reset-active-low;
137 snps,reset-delays-us = <0 10000 1000000>;
144 mali-supply = <&vdd_gpu>;
149 ddc-i2c-bus = <&i2c5>;
154 clock-frequency = <400000>;
160 interrupt-parent = <&gpio0>;
162 #clock-cells = <1>;
163 clock-output-names = "xin32k", "rk808-clkout2";
164 dvs-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>,
166 pinctrl-names = "default";
167 pinctrl-0 = <&pmic_int &global_pwroff &dvs_1 &dvs_2>;
168 rockchip,system-power-controller;
169 wakeup-source;
171 vcc1-supply = <&vcc_sys>;
172 vcc2-supply = <&vcc_sys>;
173 vcc3-supply = <&vcc_sys>;
174 vcc4-supply = <&vcc_sys>;
175 vcc6-supply = <&vcc_sys>;
176 vcc7-supply = <&vcc_sys>;
177 vcc8-supply = <&vcc_io>;
178 vcc9-supply = <&vcc_io>;
179 vcc10-supply = <&vcc_io>;
180 vcc11-supply = <&vcc_sys>;
181 vcc12-supply = <&vcc_io>;
182 vddio-supply = <&vcc_io>;
186 regulator-always-on;
187 regulator-boot-on;
188 regulator-min-microvolt = <750000>;
189 regulator-max-microvolt = <1400000>;
190 regulator-name = "vdd_arm";
191 regulator-ramp-delay = <6000>;
192 regulator-state-mem {
193 regulator-off-in-suspend;
198 regulator-always-on;
199 regulator-boot-on;
200 regulator-min-microvolt = <850000>;
201 regulator-max-microvolt = <1250000>;
202 regulator-name = "vdd_gpu";
203 regulator-ramp-delay = <6000>;
204 regulator-state-mem {
205 regulator-on-in-suspend;
206 regulator-suspend-microvolt = <1000000>;
211 regulator-always-on;
212 regulator-boot-on;
213 regulator-name = "vcc_ddr";
214 regulator-state-mem {
215 regulator-on-in-suspend;
220 regulator-always-on;
221 regulator-boot-on;
222 regulator-min-microvolt = <3300000>;
223 regulator-max-microvolt = <3300000>;
224 regulator-name = "vcc_io";
225 regulator-state-mem {
226 regulator-on-in-suspend;
227 regulator-suspend-microvolt = <3300000>;
232 regulator-always-on;
233 regulator-boot-on;
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
236 regulator-name = "vcc18_ldo1";
237 regulator-state-mem {
238 regulator-on-in-suspend;
239 regulator-suspend-microvolt = <1800000>;
244 regulator-always-on;
245 regulator-boot-on;
246 regulator-min-microvolt = <3300000>;
247 regulator-max-microvolt = <3300000>;
248 regulator-name = "vcc33_mipi";
249 regulator-state-mem {
250 regulator-off-in-suspend;
255 regulator-always-on;
256 regulator-boot-on;
257 regulator-min-microvolt = <1000000>;
258 regulator-max-microvolt = <1000000>;
259 regulator-name = "vdd_10";
260 regulator-state-mem {
261 regulator-on-in-suspend;
262 regulator-suspend-microvolt = <1000000>;
267 regulator-always-on;
268 regulator-boot-on;
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <1800000>;
271 regulator-name = "vcc18_codec";
272 regulator-state-mem {
273 regulator-on-in-suspend;
274 regulator-suspend-microvolt = <1800000>;
279 regulator-always-on;
280 regulator-boot-on;
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <3300000>;
283 regulator-name = "vccio_sd";
284 regulator-state-mem {
285 regulator-on-in-suspend;
286 regulator-suspend-microvolt = <3300000>;
291 regulator-always-on;
292 regulator-boot-on;
293 regulator-min-microvolt = <1000000>;
294 regulator-max-microvolt = <1000000>;
295 regulator-name = "vdd10_lcd";
296 regulator-state-mem {
297 regulator-on-in-suspend;
298 regulator-suspend-microvolt = <1000000>;
303 regulator-always-on;
304 regulator-boot-on;
305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <1800000>;
307 regulator-name = "vcc_18";
308 regulator-state-mem {
309 regulator-on-in-suspend;
310 regulator-suspend-microvolt = <1800000>;
315 regulator-always-on;
316 regulator-boot-on;
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <1800000>;
319 regulator-name = "vcc18_lcd";
320 regulator-state-mem {
321 regulator-on-in-suspend;
322 regulator-suspend-microvolt = <1800000>;
327 regulator-always-on;
328 regulator-boot-on;
329 regulator-name = "vcc33_sd";
330 regulator-state-mem {
331 regulator-on-in-suspend;
336 regulator-always-on;
337 regulator-boot-on;
338 regulator-name = "vcc33_lan";
339 regulator-state-mem {
340 regulator-on-in-suspend;
356 #sound-dai-cells = <0>;
363 sdcard-supply = <&vccio_sd>;
364 wifi-supply = <&vcc_18>;
368 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
369 drive-strength = <8>;
372 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
373 bias-pull-up;
374 drive-strength = <8>;
378 bl_en: bl-en {
390 eth_phy_pwr: eth-phy-pwr {
396 pmic_int: pmic-int {
400 dvs_1: dvs-1 {
404 dvs_2: dvs-2 {
410 sdmmc_bus4: sdmmc-bus4 {
417 sdmmc_clk: sdmmc-clk {
421 sdmmc_cmd: sdmmc-cmd {
425 sdmmc_pwr: sdmmc-pwr {
431 host_vbus_drv: host-vbus-drv {
435 pwr_3g: pwr-3g {
441 wifi_enable: wifi-enable {
453 vref-supply = <&vcc18_ldo1>;
458 bus-width = <4>;
459 cap-mmc-highspeed;
460 cap-sd-highspeed;
461 broken-cd;
462 disable-wp; /* wp not hooked up */
463 pinctrl-names = "default";
464 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
466 vmmc-supply = <&vcc33_sd>;
467 vqmmc-supply = <&vccio_sd>;
471 bus-width = <4>;
472 cap-sd-highspeed;
473 cap-sdio-irq;
474 keep-power-in-suspend;
475 max-frequency = <50000000>;
476 mmc-pwrseq = <&sdio_pwrseq>;
477 non-removable;
478 pinctrl-names = "default";
479 pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>, <&sdio0_int>;
480 sd-uhs-sdr12;
481 sd-uhs-sdr25;
482 sd-uhs-sdr50;
483 vmmc-supply = <&vcc_io>;
484 vqmmc-supply = <&vcc_18>;
489 rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
490 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */