Lines Matching +full:output +full:- +full:range +full:- +full:microvolt
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/soc/rockchip,vop2.h>
14 stdout-path = "serial2:1500000n8";
17 adc-joystick {
18 compatible = "adc-joystick";
19 io-channels = <&adc_mux 0>,
23 pinctrl-0 = <&joy_mux_en>;
24 pinctrl-names = "default";
25 #address-cells = <1>;
26 #size-cells = <0>;
30 abs-flat = <32>;
31 abs-fuzz = <32>;
32 abs-range = <1023 15>;
38 abs-flat = <32>;
39 abs-fuzz = <32>;
40 abs-range = <15 1023>;
46 abs-flat = <32>;
47 abs-fuzz = <32>;
48 abs-range = <15 1023>;
54 abs-flat = <32>;
55 abs-fuzz = <32>;
56 abs-range = <1023 15>;
61 adc_keys: adc-keys {
62 compatible = "adc-keys";
63 io-channels = <&saradc 0>;
64 io-channel-names = "buttons";
65 keyup-threshold-microvolt = <1800000>;
66 poll-interval = <60>;
72 button-mode {
75 press-threshold-microvolt = <1750>;
79 adc_mux: adc-mux {
80 compatible = "io-channel-mux";
82 #io-channel-cells = <1>;
83 io-channels = <&saradc 3>;
84 io-channel-names = "parent";
85 mux-controls = <&gpio_mux>;
86 settle-time-us = <100>;
89 gpio_keys_control: gpio-keys-control {
90 compatible = "gpio-keys";
91 pinctrl-0 = <&btn_pins_ctrl>;
92 pinctrl-names = "default";
94 button-b {
100 button-down {
102 label = "DPAD-DOWN";
106 button-l1 {
112 button-l2 {
118 button-select {
124 button-start {
130 button-thumbl {
136 button-thumbr {
142 button-up {
144 label = "DPAD-UP";
148 button-x {
155 gpio_keys_vol: gpio-keys-vol {
156 compatible = "gpio-keys";
158 pinctrl-0 = <&btn_pins_vol>;
159 pinctrl-names = "default";
161 button-vol-down {
167 button-vol-up {
174 gpio_mux: mux-controller {
175 compatible = "gpio-mux";
176 mux-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>,
178 #mux-control-cells = <0>;
181 hdmi-con {
182 compatible = "hdmi-connector";
183 ddc-i2c-bus = <&i2c5>;
188 remote-endpoint = <&hdmi_out_con>;
193 leds: gpio-leds {
194 compatible = "gpio-leds";
195 pinctrl-0 = <&led_pins>;
196 pinctrl-names = "default";
198 green_led: led-0 {
200 default-state = "on";
205 amber_led: led-1 {
209 retain-state-suspended;
212 red_led: led-2 {
214 default-state = "off";
222 compatible = "simple-audio-card";
223 simple-audio-card,name = "anbernic_rk817";
224 simple-audio-card,aux-devs = <&spk_amp>;
225 simple-audio-card,format = "i2s";
226 simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
227 simple-audio-card,mclk-fs = <256>;
228 simple-audio-card,widgets =
232 simple-audio-card,routing =
240 simple-audio-card,pin-switches = "Internal Speakers";
242 simple-audio-card,codec {
243 sound-dai = <&rk817>;
246 simple-audio-card,cpu {
247 sound-dai = <&i2s1_8ch>;
251 sdio_pwrseq: sdio-pwrseq {
252 compatible = "mmc-pwrseq-simple";
254 clock-names = "ext_clock";
255 pinctrl-0 = <&wifi_enable_h>;
256 pinctrl-names = "default";
257 post-power-on-delay-ms = <200>;
258 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>;
261 spk_amp: audio-amplifier {
262 compatible = "simple-audio-amplifier";
263 enable-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
264 pinctrl-0 = <&spk_amp_enable_h>;
265 pinctrl-names = "default";
266 sound-name-prefix = "Speaker Amp";
269 vcc3v3_lcd0_n: regulator-vcc3v3-lcd0 {
270 compatible = "regulator-fixed";
272 enable-active-high;
273 pinctrl-0 = <&vcc_lcd_h>;
274 pinctrl-names = "default";
275 regulator-boot-on;
276 regulator-min-microvolt = <3300000>;
277 regulator-max-microvolt = <3300000>;
278 regulator-name = "vcc3v3_lcd0_n";
279 vin-supply = <&vcc_3v3>;
280 regulator-state-mem {
281 regulator-off-in-suspend;
285 vcc_sys: regulator-vcc-sys {
286 compatible = "regulator-fixed";
287 regulator-always-on;
288 regulator-boot-on;
289 regulator-min-microvolt = <3800000>;
290 regulator-max-microvolt = <3800000>;
291 regulator-name = "vcc_sys";
294 vcc_wifi: regulator-vcc-wifi {
295 compatible = "regulator-fixed";
296 enable-active-high;
298 pinctrl-0 = <&vcc_wifi_h>;
299 pinctrl-names = "default";
300 regulator-always-on;
301 regulator-boot-on;
302 regulator-min-microvolt = <3300000>;
303 regulator-max-microvolt = <3300000>;
304 regulator-name = "vcc_wifi";
307 vibrator: pwm-vibrator {
308 compatible = "pwm-vibrator";
309 pwm-names = "enable";
319 cpu-supply = <&vdd_cpu>;
323 cpu-supply = <&vdd_cpu>;
327 cpu-supply = <&vdd_cpu>;
331 cpu-supply = <&vdd_cpu>;
335 mali-supply = <&vdd_gpu>;
340 ddc-i2c-bus = <&i2c5>;
341 pinctrl-0 = <&hdmitxm0_cec>;
342 pinctrl-names = "default";
348 remote-endpoint = <&vp0_out_hdmi>;
354 remote-endpoint = <&hdmi_con_in>;
368 interrupt-parent = <&gpio0>;
370 clock-output-names = "rk808-clkout1", "rk808-clkout2";
371 clock-names = "mclk";
373 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
374 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
375 #clock-cells = <1>;
376 #sound-dai-cells = <0>;
377 pinctrl-names = "default";
378 pinctrl-0 = <&i2s1m0_mclk>, <&pmic_int_l>;
379 wakeup-source;
381 vcc1-supply = <&vcc_sys>;
382 vcc2-supply = <&vcc_sys>;
383 vcc3-supply = <&vcc_sys>;
384 vcc4-supply = <&vcc_sys>;
385 vcc5-supply = <&vcc_sys>;
386 vcc6-supply = <&vcc_sys>;
387 vcc7-supply = <&vcc_sys>;
388 vcc8-supply = <&vcc_sys>;
389 vcc9-supply = <&dcdc_boost>;
393 regulator-always-on;
394 regulator-boot-on;
395 regulator-min-microvolt = <500000>;
396 regulator-max-microvolt = <1350000>;
397 regulator-init-microvolt = <900000>;
398 regulator-ramp-delay = <6001>;
399 regulator-initial-mode = <0x2>;
400 regulator-name = "vdd_logic";
401 regulator-state-mem {
402 regulator-off-in-suspend;
403 regulator-suspend-microvolt = <900000>;
408 regulator-always-on;
409 regulator-boot-on;
410 regulator-min-microvolt = <500000>;
411 regulator-max-microvolt = <1350000>;
412 regulator-init-microvolt = <900000>;
413 regulator-ramp-delay = <6001>;
414 regulator-initial-mode = <0x2>;
415 regulator-name = "vdd_gpu";
416 regulator-state-mem {
417 regulator-off-in-suspend;
422 regulator-always-on;
423 regulator-boot-on;
424 regulator-initial-mode = <0x2>;
425 regulator-name = "vcc_ddr";
426 regulator-state-mem {
427 regulator-on-in-suspend;
432 regulator-always-on;
433 regulator-boot-on;
434 regulator-min-microvolt = <3300000>;
435 regulator-max-microvolt = <3300000>;
436 regulator-initial-mode = <0x2>;
437 regulator-name = "vcc_3v3";
438 regulator-state-mem {
439 regulator-on-in-suspend;
440 regulator-suspend-microvolt = <3300000>;
445 regulator-always-on;
446 regulator-boot-on;
447 regulator-min-microvolt = <1800000>;
448 regulator-max-microvolt = <1800000>;
449 regulator-name = "vcca1v8_pmu";
450 regulator-state-mem {
451 regulator-on-in-suspend;
452 regulator-suspend-microvolt = <1800000>;
457 regulator-always-on;
458 regulator-boot-on;
459 regulator-min-microvolt = <900000>;
460 regulator-max-microvolt = <900000>;
461 regulator-name = "vdda_0v9";
462 regulator-state-mem {
463 regulator-off-in-suspend;
468 regulator-always-on;
469 regulator-boot-on;
470 regulator-min-microvolt = <900000>;
471 regulator-max-microvolt = <900000>;
472 regulator-name = "vdda0v9_pmu";
473 regulator-state-mem {
474 regulator-on-in-suspend;
475 regulator-suspend-microvolt = <900000>;
480 regulator-always-on;
481 regulator-boot-on;
482 regulator-min-microvolt = <3300000>;
483 regulator-max-microvolt = <3300000>;
484 regulator-name = "vccio_acodec";
485 regulator-state-mem {
486 regulator-off-in-suspend;
491 regulator-always-on;
492 regulator-boot-on;
493 regulator-min-microvolt = <1800000>;
494 regulator-max-microvolt = <3300000>;
495 regulator-name = "vccio_sd";
496 regulator-state-mem {
497 regulator-off-in-suspend;
502 regulator-always-on;
503 regulator-boot-on;
504 regulator-min-microvolt = <3300000>;
505 regulator-max-microvolt = <3300000>;
506 regulator-name = "vcc3v3_pmu";
507 regulator-state-mem {
508 regulator-on-in-suspend;
509 regulator-suspend-microvolt = <3300000>;
514 regulator-always-on;
515 regulator-boot-on;
516 regulator-min-microvolt = <1800000>;
517 regulator-max-microvolt = <1800000>;
518 regulator-name = "vcc_1v8";
519 regulator-state-mem {
520 regulator-off-in-suspend;
525 regulator-always-on;
526 regulator-boot-on;
527 regulator-min-microvolt = <1800000>;
528 regulator-max-microvolt = <3300000>;
529 regulator-name = "vcc1v8_dvp";
530 regulator-state-mem {
531 regulator-off-in-suspend;
536 regulator-always-on;
537 regulator-boot-on;
538 regulator-min-microvolt = <2800000>;
539 regulator-max-microvolt = <2800000>;
540 regulator-name = "vcc2v8_dvp";
541 regulator-state-mem {
542 regulator-off-in-suspend;
547 regulator-always-on;
548 regulator-boot-on;
549 regulator-min-microvolt = <4700000>;
550 regulator-max-microvolt = <5400000>;
551 regulator-name = "boost";
552 regulator-state-mem {
553 regulator-off-in-suspend;
558 regulator-name = "otg_switch";
559 regulator-state-mem {
560 regulator-off-in-suspend;
569 fcs,suspend-voltage-selector = <1>;
570 regulator-always-on;
571 regulator-boot-on;
572 regulator-min-microvolt = <712500>;
573 regulator-max-microvolt = <1390000>;
574 regulator-init-microvolt = <900000>;
575 regulator-name = "vdd_cpu";
576 regulator-ramp-delay = <2300>;
577 vin-supply = <&vcc_sys>;
578 regulator-state-mem {
579 regulator-off-in-suspend;
590 pinctrl-0 = <&i2c5m1_xfer>;
591 pinctrl-names = "default";
600 pinctrl-0 = <&i2s1m0_sclktx
604 pinctrl-names = "default";
605 rockchip,trcm-sync-tx-only;
610 audio-amplifier {
611 spk_amp_enable_h: spk-amp-enable-h {
617 gpio-btns {
618 btn_pins_ctrl: btn-pins-ctrl {
638 btn_pins_vol: btn-pins-vol {
645 gpio-led {
646 led_pins: led-pins {
654 joy-mux {
655 joy_mux_en: joy-mux-en {
662 pmic_int_l: pmic-int-l {
668 sdio-pwrseq {
669 wifi_enable_h: wifi-enable-h {
675 vcc3v3-lcd {
676 vcc_lcd_h: vcc-lcd-h {
682 vcc-wifi {
683 vcc_wifi_h: vcc-wifi-h {
692 pmuio1-supply = <&vcc3v3_pmu>;
693 pmuio2-supply = <&vcc3v3_pmu>;
694 vccio1-supply = <&vccio_acodec>;
695 vccio3-supply = <&vccio_sd>;
696 vccio4-supply = <&vcc_1v8>;
697 vccio5-supply = <&vcc_3v3>;
698 vccio6-supply = <&vcc1v8_dvp>;
699 vccio7-supply = <&vcc_3v3>;
707 vref-supply = <&vcc_1v8>;
712 bus-width = <4>;
713 cap-sd-highspeed;
714 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
715 disable-wp;
716 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
717 pinctrl-names = "default";
718 sd-uhs-sdr104;
719 vmmc-supply = <&vcc_3v3>;
720 vqmmc-supply = <&vccio_sd>;
725 bus-width = <4>;
726 cap-sd-highspeed;
727 cd-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_LOW>;
728 disable-wp;
729 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk &sdmmc1_det>;
730 pinctrl-names = "default";
731 sd-uhs-sdr104;
732 vmmc-supply = <&vcc_3v3>;
733 vqmmc-supply = <&vcc1v8_dvp>;
738 bus-width = <4>;
739 cap-sd-highspeed;
740 cap-sdio-irq;
741 keep-power-in-suspend;
742 mmc-pwrseq = <&sdio_pwrseq>;
743 non-removable;
744 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
745 pinctrl-names = "default";
746 vmmc-supply = <&vcc_wifi>;
747 vqmmc-supply = <&vcca1v8_pmu>;
752 rockchip,hw-tshut-mode = <1>;
753 rockchip,hw-tshut-polarity = <0>;
758 pinctrl-0 = <&uart1m1_xfer &uart1m1_ctsn &uart1m1_rtsn>;
759 pinctrl-names = "default";
760 uart-has-rtscts;
764 compatible = "realtek,rtl8821cs-bt";
765 device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
766 enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
767 host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
782 phy-names = "usb2-phy";
795 phy-names = "usb2-phy", "usb3-phy";
817 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
818 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
829 remote-endpoint = <&hdmi_in_vp0>;