Lines Matching +full:regulator +full:- +full:suspend +full:- +full:microvolt

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * RK3399-based FriendlyElec boards device tree source
14 /dts-v1/;
15 #include <dt-bindings/input/linux-event-codes.h>
17 #include "rk3399-opp.dtsi"
21 stdout-path = "serial2:1500000n8";
24 clkin_gmac: external-gmac-clock {
25 compatible = "fixed-clock";
26 clock-frequency = <125000000>;
27 clock-output-names = "clkin_gmac";
28 #clock-cells = <0>;
31 vcc3v3_sys: vcc3v3-sys {
32 compatible = "regulator-fixed";
33 regulator-always-on;
34 regulator-boot-on;
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
37 regulator-name = "vcc3v3_sys";
40 vcc5v0_sys: vcc5v0-sys {
41 compatible = "regulator-fixed";
42 regulator-always-on;
43 regulator-boot-on;
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
46 regulator-name = "vcc5v0_sys";
47 vin-supply = <&vdd_5v>;
51 vcc1v8_s3: vcc1v8-s3 {
52 compatible = "regulator-fixed";
53 regulator-always-on;
54 regulator-boot-on;
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <1800000>;
57 regulator-name = "vcc1v8_s3";
58 vin-supply = <&vcc_1v8>;
61 vcc3v0_sd: vcc3v0-sd {
62 compatible = "regulator-fixed";
63 enable-active-high;
65 pinctrl-names = "default";
66 pinctrl-0 = <&sdmmc0_pwr_h>;
67 regulator-always-on;
68 regulator-min-microvolt = <3000000>;
69 regulator-max-microvolt = <3000000>;
70 regulator-name = "vcc3v0_sd";
71 vin-supply = <&vcc3v3_sys>;
78 vcca0v9_s3: vcca0v9-s3 {
79 compatible = "regulator-fixed";
80 regulator-min-microvolt = <900000>;
81 regulator-max-microvolt = <900000>;
82 regulator-name = "vcca0v9_s3";
83 vin-supply = <&vcc1v8_s3>;
87 vcca1v8_s3: vcca1v8-s3 {
88 compatible = "regulator-fixed";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 regulator-name = "vcca1v8_s3";
92 vin-supply = <&vcc1v8_s3>;
95 vbus_typec: vbus-typec {
96 compatible = "regulator-fixed";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
99 regulator-name = "vbus_typec";
102 gpio-keys {
103 compatible = "gpio-keys";
105 pinctrl-names = "default";
106 pinctrl-0 = <&power_key>;
109 debounce-interval = <100>;
113 wakeup-source;
117 leds: gpio-leds {
118 compatible = "gpio-leds";
119 pinctrl-names = "default";
120 pinctrl-0 = <&status_led_pin>;
122 status_led: led-0 {
125 linux,default-trigger = "heartbeat";
129 sdio_pwrseq: sdio-pwrseq {
130 compatible = "mmc-pwrseq-simple";
132 clock-names = "ext_clock";
133 pinctrl-names = "default";
134 pinctrl-0 = <&wifi_reg_on_h>;
135 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
140 cpu-supply = <&vdd_cpu_b>;
144 cpu-supply = <&vdd_cpu_b>;
148 cpu-supply = <&vdd_cpu_l>;
152 cpu-supply = <&vdd_cpu_l>;
156 cpu-supply = <&vdd_cpu_l>;
160 cpu-supply = <&vdd_cpu_l>;
168 assigned-clock-parents = <&clkin_gmac>;
169 assigned-clocks = <&cru SCLK_RMII_SRC>;
171 pinctrl-names = "default";
172 pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
173 phy-handle = <&rtl8211e>;
174 phy-mode = "rgmii";
175 phy-supply = <&vcc3v3_s3>;
181 compatible = "snps,dwmac-mdio";
182 #address-cells = <1>;
183 #size-cells = <0>;
185 rtl8211e: ethernet-phy@1 {
187 interrupt-parent = <&gpio3>;
189 reset-assert-us = <10000>;
190 reset-deassert-us = <30000>;
191 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
197 mali-supply = <&vdd_gpu>;
202 ddc-i2c-bus = <&i2c7>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&hdmi_cec>;
213 clock-frequency = <400000>;
214 i2c-scl-rising-time-ns = <160>;
215 i2c-scl-falling-time-ns = <30>;
218 vdd_cpu_b: regulator@40 {
221 fcs,suspend-voltage-selector = <1>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&cpu_b_sleep>;
224 regulator-always-on;
225 regulator-boot-on;
226 regulator-min-microvolt = <712500>;
227 regulator-max-microvolt = <1500000>;
228 regulator-name = "vdd_cpu_b";
229 regulator-ramp-delay = <1000>;
230 vin-supply = <&vcc3v3_sys>;
232 regulator-state-mem {
233 regulator-off-in-suspend;
237 vdd_gpu: regulator@41 {
240 fcs,suspend-voltage-selector = <1>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&gpu_sleep>;
243 regulator-always-on;
244 regulator-boot-on;
245 regulator-min-microvolt = <712500>;
246 regulator-max-microvolt = <1500000>;
247 regulator-name = "vdd_gpu";
248 regulator-ramp-delay = <1000>;
249 vin-supply = <&vcc3v3_sys>;
251 regulator-state-mem {
252 regulator-off-in-suspend;
259 clock-output-names = "xin32k", "rtc_clko_wifi";
260 #clock-cells = <1>;
261 interrupt-parent = <&gpio1>;
263 pinctrl-names = "default";
264 pinctrl-0 = <&pmic_int_l>;
265 rockchip,system-power-controller;
266 wakeup-source;
268 vcc1-supply = <&vcc3v3_sys>;
269 vcc2-supply = <&vcc3v3_sys>;
270 vcc3-supply = <&vcc3v3_sys>;
271 vcc4-supply = <&vcc3v3_sys>;
272 vcc6-supply = <&vcc3v3_sys>;
273 vcc7-supply = <&vcc3v3_sys>;
274 vcc8-supply = <&vcc3v3_sys>;
275 vcc9-supply = <&vcc3v3_sys>;
276 vcc10-supply = <&vcc3v3_sys>;
277 vcc11-supply = <&vcc3v3_sys>;
278 vcc12-supply = <&vcc3v3_sys>;
279 vddio-supply = <&vcc_3v0>;
283 regulator-always-on;
284 regulator-boot-on;
285 regulator-min-microvolt = <750000>;
286 regulator-max-microvolt = <1350000>;
287 regulator-name = "vdd_center";
288 regulator-ramp-delay = <6001>;
290 regulator-state-mem {
291 regulator-off-in-suspend;
296 regulator-always-on;
297 regulator-boot-on;
298 regulator-min-microvolt = <750000>;
299 regulator-max-microvolt = <1350000>;
300 regulator-name = "vdd_cpu_l";
301 regulator-ramp-delay = <6001>;
303 regulator-state-mem {
304 regulator-off-in-suspend;
309 regulator-always-on;
310 regulator-boot-on;
311 regulator-name = "vcc_ddr";
313 regulator-state-mem {
314 regulator-on-in-suspend;
319 regulator-always-on;
320 regulator-boot-on;
321 regulator-min-microvolt = <1800000>;
322 regulator-max-microvolt = <1800000>;
323 regulator-name = "vcc_1v8";
325 regulator-state-mem {
326 regulator-on-in-suspend;
327 regulator-suspend-microvolt = <1800000>;
332 regulator-always-on;
333 regulator-boot-on;
334 regulator-min-microvolt = <1800000>;
335 regulator-max-microvolt = <1800000>;
336 regulator-name = "vcc1v8_cam";
338 regulator-state-mem {
339 regulator-off-in-suspend;
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <3000000>;
347 regulator-max-microvolt = <3000000>;
348 regulator-name = "vcc3v0_touch";
350 regulator-state-mem {
351 regulator-off-in-suspend;
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <1800000>;
360 regulator-name = "vcc1v8_pmupll";
362 regulator-state-mem {
363 regulator-on-in-suspend;
364 regulator-suspend-microvolt = <1800000>;
369 regulator-always-on;
370 regulator-boot-on;
371 regulator-init-microvolt = <3000000>;
372 regulator-min-microvolt = <1800000>;
373 regulator-max-microvolt = <3300000>;
374 regulator-name = "vcc_sdio";
376 regulator-state-mem {
377 regulator-on-in-suspend;
378 regulator-suspend-microvolt = <3000000>;
383 regulator-always-on;
384 regulator-boot-on;
385 regulator-min-microvolt = <3000000>;
386 regulator-max-microvolt = <3000000>;
387 regulator-name = "vcca3v0_codec";
389 regulator-state-mem {
390 regulator-off-in-suspend;
395 regulator-always-on;
396 regulator-boot-on;
397 regulator-min-microvolt = <1500000>;
398 regulator-max-microvolt = <1500000>;
399 regulator-name = "vcc_1v5";
401 regulator-state-mem {
402 regulator-on-in-suspend;
403 regulator-suspend-microvolt = <1500000>;
408 regulator-always-on;
409 regulator-boot-on;
410 regulator-min-microvolt = <1800000>;
411 regulator-max-microvolt = <1800000>;
412 regulator-name = "vcca1v8_codec";
414 regulator-state-mem {
415 regulator-off-in-suspend;
420 regulator-always-on;
421 regulator-boot-on;
422 regulator-min-microvolt = <3000000>;
423 regulator-max-microvolt = <3000000>;
424 regulator-name = "vcc_3v0";
426 regulator-state-mem {
427 regulator-on-in-suspend;
428 regulator-suspend-microvolt = <3000000>;
433 regulator-always-on;
434 regulator-boot-on;
435 regulator-name = "vcc3v3_s3";
437 regulator-state-mem {
438 regulator-off-in-suspend;
443 regulator-always-on;
444 regulator-boot-on;
445 regulator-name = "vcc3v3_s0";
447 regulator-state-mem {
448 regulator-off-in-suspend;
456 clock-frequency = <200000>;
457 i2c-scl-rising-time-ns = <150>;
458 i2c-scl-falling-time-ns = <30>;
467 clock-frequency = <400000>;
468 i2c-scl-rising-time-ns = <160>;
469 i2c-scl-falling-time-ns = <30>;
472 fusb0: typec-portc@22 {
475 interrupt-parent = <&gpio1>;
477 pinctrl-names = "default";
478 pinctrl-0 = <&fusb0_int>;
479 vbus-supply = <&vbus_typec>;
492 bt656-supply = <&vcc_1v8>;
493 audio-supply = <&vcca1v8_codec>;
494 sdmmc-supply = <&vcc_sdio>;
495 gpio1830-supply = <&vcc_3v0>;
500 assigned-clock-parents = <&cru SCLK_PCIEPHY_REF100M>;
501 assigned-clock-rates = <100000000>;
502 assigned-clocks = <&cru SCLK_PCIEPHY_REF>;
507 ep-gpios = <&gpio2 RK_PA4 GPIO_ACTIVE_HIGH>;
508 max-link-speed = <2>;
509 num-lanes = <2>;
510 vpcie0v9-supply = <&vcca0v9_s3>;
511 vpcie1v8-supply = <&vcca1v8_s3>;
517 fusb0_int: fusb0-int {
522 gpio-leds {
523 status_led_pin: status-led-pin {
529 phy_intb: phy-intb {
533 phy_rstb: phy-rstb {
539 cpu_b_sleep: cpu-b-sleep {
543 gpu_sleep: gpu-sleep {
547 pmic_int_l: pmic-int-l {
552 rockchip-key {
553 power_key: power-key {
559 bt_host_wake_l: bt-host-wake-l {
563 bt_reg_on_h: bt-reg-on-h {
568 bt_wake_l: bt-wake-l {
572 wifi_reg_on_h: wifi-reg_on-h {
578 sdmmc0_det_l: sdmmc0-det-l {
582 sdmmc0_pwr_h: sdmmc0-pwr-h {
589 pmu1830-supply = <&vcc_3v0>;
602 pinctrl-names = "active";
603 pinctrl-0 = <&pwm2_pin_pull_down>;
608 vref-supply = <&vcca1v8_s3>;
613 bus-width = <8>;
614 mmc-hs200-1_8v;
615 non-removable;
620 bus-width = <4>;
621 cap-sd-highspeed;
622 cap-sdio-irq;
623 keep-power-in-suspend;
624 mmc-pwrseq = <&sdio_pwrseq>;
625 non-removable;
626 pinctrl-names = "default";
627 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
628 sd-uhs-sdr104;
633 bus-width = <4>;
634 cap-sd-highspeed;
635 cap-mmc-highspeed;
636 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
637 disable-wp;
638 pinctrl-names = "default";
639 pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc0_det_l>;
640 sd-uhs-sdr104;
641 vmmc-supply = <&vcc3v0_sd>;
642 vqmmc-supply = <&vcc_sdio>;
656 rockchip,hw-tshut-mode = <1>;
658 rockchip,hw-tshut-polarity = <1>;
687 pinctrl-names = "default";
688 pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
692 compatible = "brcm,bcm43438-bt";
694 clock-names = "lpo";
695 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
696 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
697 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
698 max-speed = <4000000>;
699 pinctrl-names = "default";
700 pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
701 vbat-supply = <&vcc3v3_sys>;
702 vddio-supply = <&vcc_1v8>;