Lines Matching +full:charge +full:- +full:term +full:- +full:current +full:- +full:microamp

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>
19 adc-joystick {
20 compatible = "adc-joystick";
21 io-channels = <&adc_mux 0>,
25 pinctrl-0 = <&joy_mux_en>;
26 pinctrl-names = "default";
27 poll-interval = <60>;
28 #address-cells = <1>;
29 #size-cells = <0>;
33 abs-flat = <32>;
34 abs-fuzz = <32>;
35 abs-range = <1023 15>;
41 abs-flat = <32>;
42 abs-fuzz = <32>;
43 abs-range = <15 1023>;
49 abs-flat = <32>;
50 abs-fuzz = <32>;
51 abs-range = <15 1023>;
57 abs-flat = <32>;
58 abs-fuzz = <32>;
59 abs-range = <1023 15>;
64 adc_mux: adc-mux {
65 compatible = "io-channel-mux";
67 #io-channel-cells = <1>;
68 io-channels = <&saradc 3>;
69 io-channel-names = "parent";
70 mux-controls = <&gpio_mux>;
71 settle-time-us = <100>;
75 compatible = "pwm-backlight";
76 power-supply = <&vcc_sys>;
81 compatible = "simple-battery";
82 charge-full-design-microamp-hours = <3151000>;
83 charge-term-current-microamp = <300000>;
84 constant-charge-current-max-microamp = <2000000>;
85 constant-charge-voltage-max-microvolt = <4250000>;
86 factory-internal-resistance-micro-ohms = <117000>;
87 voltage-max-design-microvolt = <4172000>;
88 voltage-min-design-microvolt = <3400000>;
90 ocv-capacity-celsius = <20>;
91 ocv-capacity-table-0 = <4172000 100>, <4092000 95>, <4035000 90>, <3990000 85>,
99 gpio_keys_control: gpio-keys-control {
100 compatible = "gpio-keys";
101 pinctrl-0 = <&btn_pins_ctrl>;
102 pinctrl-names = "default";
104 button-a {
110 button-b {
116 button-down {
118 label = "DPAD-DOWN";
122 button-l1 {
128 button-l2 {
134 button-left {
136 label = "DPAD-LEFT";
140 button-r1 {
146 button-r2 {
152 button-right {
154 label = "DPAD-RIGHT";
158 button-select {
164 button-start {
170 button-thumbl {
176 button-thumbr {
182 button-up {
184 label = "DPAD-UP";
188 button-x {
194 button-y {
201 gpio_keys_vol: gpio-keys-vol {
202 compatible = "gpio-keys";
204 pinctrl-0 = <&btn_pins_vol>;
205 pinctrl-names = "default";
207 button-vol-down {
213 button-vol-up {
220 gpio_mux: mux-controller {
221 compatible = "gpio-mux";
222 mux-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>,
224 #mux-control-cells = <0>;
227 hdmi-con {
228 compatible = "hdmi-connector";
229 ddc-i2c-bus = <&i2c5>;
234 remote-endpoint = <&hdmi_out_con>;
243 leds: pwm-leds {
244 compatible = "pwm-leds";
246 green_led: led-0 {
249 max-brightness = <255>;
253 red_led: led-1 {
256 max-brightness = <255>;
261 sdio_pwrseq: sdio-pwrseq {
262 compatible = "mmc-pwrseq-simple";
264 clock-names = "ext_clock";
265 pinctrl-0 = <&wifi_enable_h>;
266 pinctrl-names = "default";
267 post-power-on-delay-ms = <200>;
268 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>;
277 compatible = "simple-audio-card";
278 simple-audio-card,name = "rk817_ext";
279 simple-audio-card,format = "i2s";
280 simple-audio-card,mclk-fs = <256>;
281 simple-audio-card,widgets =
283 simple-audio-card,routing =
287 simple-audio-card,codec {
288 sound-dai = <&rk817>;
291 simple-audio-card,cpu {
292 sound-dai = <&i2s1_8ch>;
296 vcc3v3_lcd0_n: regulator-vcc3v3-lcd0 {
297 compatible = "regulator-fixed";
299 enable-active-high;
300 pinctrl-0 = <&vcc_lcd_h>;
301 pinctrl-names = "default";
302 regulator-boot-on;
303 regulator-min-microvolt = <3300000>;
304 regulator-max-microvolt = <3300000>;
305 regulator-name = "vcc3v3_lcd0_n";
306 vin-supply = <&vcc_3v3>;
307 regulator-state-mem {
308 regulator-off-in-suspend;
312 vcc_sys: regulator-vcc-sys {
313 compatible = "regulator-fixed";
314 regulator-always-on;
315 regulator-boot-on;
316 regulator-min-microvolt = <3800000>;
317 regulator-max-microvolt = <3800000>;
318 regulator-name = "vcc_sys";
321 vcc_wifi: regulator-vcc-wifi {
322 compatible = "regulator-fixed";
323 enable-active-high;
325 pinctrl-0 = <&vcc_wifi_h>;
326 pinctrl-names = "default";
327 regulator-always-on;
328 regulator-boot-on;
329 regulator-min-microvolt = <3300000>;
330 regulator-max-microvolt = <3300000>;
331 regulator-name = "vcc_wifi";
340 cpu-supply = <&vdd_cpu>;
344 cpu-supply = <&vdd_cpu>;
348 cpu-supply = <&vdd_cpu>;
352 cpu-supply = <&vdd_cpu>;
357 #address-cells = <1>;
358 #size-cells = <0>;
364 remote-endpoint = <&vp1_out_dsi0>;
371 remote-endpoint = <&mipi_in_panel>;
382 mali-supply = <&vdd_gpu>;
387 ddc-i2c-bus = <&i2c5>;
388 pinctrl-0 = <&hdmitxm0_cec>;
389 pinctrl-names = "default";
395 remote-endpoint = <&vp0_out_hdmi>;
401 remote-endpoint = <&hdmi_con_in>;
415 interrupt-parent = <&gpio0>;
417 clock-output-names = "rk808-clkout1", "rk808-clkout2";
418 clock-names = "mclk";
420 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
421 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
422 #clock-cells = <1>;
423 #sound-dai-cells = <0>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&i2s1m0_mclk>, <&pmic_int_l>;
426 wakeup-source;
428 vcc1-supply = <&vcc_sys>;
429 vcc2-supply = <&vcc_sys>;
430 vcc3-supply = <&vcc_sys>;
431 vcc4-supply = <&vcc_sys>;
432 vcc5-supply = <&vcc_sys>;
433 vcc6-supply = <&vcc_sys>;
434 vcc7-supply = <&vcc_sys>;
435 vcc8-supply = <&vcc_sys>;
436 vcc9-supply = <&dcdc_boost>;
440 regulator-always-on;
441 regulator-boot-on;
442 regulator-min-microvolt = <500000>;
443 regulator-max-microvolt = <1350000>;
444 regulator-ramp-delay = <6001>;
445 regulator-initial-mode = <0x2>;
446 regulator-name = "vdd_logic";
447 regulator-state-mem {
448 regulator-off-in-suspend;
449 regulator-suspend-microvolt = <900000>;
454 regulator-always-on;
455 regulator-boot-on;
456 regulator-min-microvolt = <500000>;
457 regulator-max-microvolt = <1350000>;
458 regulator-ramp-delay = <6001>;
459 regulator-initial-mode = <0x2>;
460 regulator-name = "vdd_gpu";
461 regulator-state-mem {
462 regulator-off-in-suspend;
467 regulator-always-on;
468 regulator-boot-on;
469 regulator-initial-mode = <0x2>;
470 regulator-name = "vcc_ddr";
471 regulator-state-mem {
472 regulator-on-in-suspend;
477 regulator-always-on;
478 regulator-boot-on;
479 regulator-min-microvolt = <3300000>;
480 regulator-max-microvolt = <3300000>;
481 regulator-initial-mode = <0x2>;
482 regulator-name = "vcc_3v3";
483 regulator-state-mem {
484 regulator-on-in-suspend;
485 regulator-suspend-microvolt = <3300000>;
490 regulator-always-on;
491 regulator-boot-on;
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
494 regulator-name = "vcca1v8_pmu";
495 regulator-state-mem {
496 regulator-on-in-suspend;
497 regulator-suspend-microvolt = <1800000>;
502 regulator-always-on;
503 regulator-boot-on;
504 regulator-min-microvolt = <900000>;
505 regulator-max-microvolt = <900000>;
506 regulator-name = "vdda_0v9";
507 regulator-state-mem {
508 regulator-off-in-suspend;
513 regulator-always-on;
514 regulator-boot-on;
515 regulator-min-microvolt = <900000>;
516 regulator-max-microvolt = <900000>;
517 regulator-name = "vdda0v9_pmu";
518 regulator-state-mem {
519 regulator-on-in-suspend;
520 regulator-suspend-microvolt = <900000>;
525 regulator-always-on;
526 regulator-boot-on;
527 regulator-min-microvolt = <3300000>;
528 regulator-max-microvolt = <3300000>;
529 regulator-name = "vccio_acodec";
530 regulator-state-mem {
531 regulator-off-in-suspend;
536 regulator-always-on;
537 regulator-boot-on;
538 regulator-min-microvolt = <1800000>;
539 regulator-max-microvolt = <3300000>;
540 regulator-name = "vccio_sd";
541 regulator-state-mem {
542 regulator-off-in-suspend;
547 regulator-always-on;
548 regulator-boot-on;
549 regulator-min-microvolt = <3300000>;
550 regulator-max-microvolt = <3300000>;
551 regulator-name = "vcc3v3_pmu";
552 regulator-state-mem {
553 regulator-on-in-suspend;
554 regulator-suspend-microvolt = <3300000>;
559 regulator-always-on;
560 regulator-boot-on;
561 regulator-min-microvolt = <1800000>;
562 regulator-max-microvolt = <1800000>;
563 regulator-name = "vcc_1v8";
564 regulator-state-mem {
565 regulator-off-in-suspend;
570 regulator-always-on;
571 regulator-boot-on;
572 regulator-min-microvolt = <1800000>;
573 regulator-max-microvolt = <3300000>;
574 regulator-name = "vcc1v8_dvp";
575 regulator-state-mem {
576 regulator-off-in-suspend;
581 regulator-always-on;
582 regulator-boot-on;
583 regulator-min-microvolt = <2800000>;
584 regulator-max-microvolt = <2800000>;
585 regulator-name = "vcc2v8_dvp";
586 regulator-state-mem {
587 regulator-off-in-suspend;
592 regulator-always-on;
593 regulator-boot-on;
594 regulator-min-microvolt = <4700000>;
595 regulator-max-microvolt = <5400000>;
596 regulator-name = "boost";
597 regulator-state-mem {
598 regulator-off-in-suspend;
603 regulator-name = "otg_switch";
604 regulator-state-mem {
605 regulator-off-in-suspend;
611 monitored-battery = <&battery>;
612 rockchip,resistor-sense-micro-ohms = <10000>;
613 rockchip,sleep-enter-current-microamp = <300000>;
614 rockchip,sleep-filter-current-microamp = <100000>;
621 fcs,suspend-voltage-selector = <1>;
622 regulator-always-on;
623 regulator-boot-on;
624 regulator-min-microvolt = <712500>;
625 regulator-max-microvolt = <1390000>;
626 regulator-name = "vdd_cpu";
627 regulator-ramp-delay = <2300>;
628 vin-supply = <&vcc_sys>;
629 regulator-state-mem {
630 regulator-off-in-suspend;
636 pinctrl-0 = <&i2c5m1_xfer>;
637 pinctrl-names = "default";
646 pinctrl-0 = <&i2s1m0_sclktx
650 pinctrl-names = "default";
651 rockchip,trcm-sync-tx-only;
656 gpio-btns {
657 btn_pins_ctrl: btn-pins-ctrl {
677 btn_pins_vol: btn-pins-vol {
684 joy-mux {
685 joy_mux_en: joy-mux-en {
691 gpio-lcd {
692 lcd_rst: lcd-rst {
699 pmic_int_l: pmic-int-l {
705 sdio-pwrseq {
706 wifi_enable_h: wifi-enable-h {
712 vcc3v3-lcd {
713 vcc_lcd_h: vcc-lcd-h {
719 vcc-wifi {
720 vcc_wifi_h: vcc-wifi-h {
729 pmuio1-supply = <&vcc3v3_pmu>;
730 pmuio2-supply = <&vcc3v3_pmu>;
731 vccio1-supply = <&vccio_acodec>;
732 vccio3-supply = <&vccio_sd>;
733 vccio4-supply = <&vcc_1v8>;
734 vccio5-supply = <&vcc_3v3>;
735 vccio6-supply = <&vcc1v8_dvp>;
736 vccio7-supply = <&vcc_3v3>;
752 vref-supply = <&vcc_1v8>;
757 bus-width = <4>;
758 cap-sd-highspeed;
759 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
760 disable-wp;
761 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
762 pinctrl-names = "default";
763 sd-uhs-sdr104;
764 vmmc-supply = <&vcc_3v3>;
765 vqmmc-supply = <&vccio_sd>;
770 bus-width = <4>;
771 cap-sd-highspeed;
772 cd-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_LOW>;
773 disable-wp;
774 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk &sdmmc1_det>;
775 pinctrl-names = "default";
776 sd-uhs-sdr104;
777 vmmc-supply = <&vcc_3v3>;
778 vqmmc-supply = <&vcc1v8_dvp>;
783 bus-width = <4>;
784 cap-sd-highspeed;
785 cap-sdio-irq;
786 keep-power-in-suspend;
787 mmc-pwrseq = <&sdio_pwrseq>;
788 non-removable;
789 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
790 pinctrl-names = "default";
791 vmmc-supply = <&vcc_wifi>;
792 vqmmc-supply = <&vcca1v8_pmu>;
797 rockchip,hw-tshut-mode = <1>;
798 rockchip,hw-tshut-polarity = <0>;
803 pinctrl-0 = <&uart1m1_xfer &uart1m1_ctsn &uart1m1_rtsn>;
804 pinctrl-names = "default";
805 uart-has-rtscts;
809 compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt";
810 device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
811 enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
812 host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
819 phy-names = "usb2-phy";
832 phy-names = "usb2-phy", "usb3-phy";
854 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
855 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
866 remote-endpoint = <&hdmi_in_vp0>;
873 remote-endpoint = <&dsi0_in_vp1>;