Lines Matching +full:ocv +full:- +full:capacity +full:- +full:celsius
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>
13 chassis-type = "handset";
21 adc-joystick {
22 compatible = "adc-joystick";
23 io-channels = <&adc_mux 0>,
27 pinctrl-0 = <&joy_mux_en>;
28 pinctrl-names = "default";
29 poll-interval = <60>;
30 #address-cells = <1>;
31 #size-cells = <0>;
35 abs-flat = <32>;
36 abs-fuzz = <32>;
37 abs-range = <1023 15>;
43 abs-flat = <32>;
44 abs-fuzz = <32>;
45 abs-range = <15 1023>;
51 abs-flat = <32>;
52 abs-fuzz = <32>;
53 abs-range = <15 1023>;
59 abs-flat = <32>;
60 abs-fuzz = <32>;
61 abs-range = <1023 15>;
66 adc_mux: adc-mux {
67 compatible = "io-channel-mux";
69 #io-channel-cells = <1>;
70 io-channels = <&saradc 3>;
71 io-channel-names = "parent";
72 mux-controls = <&gpio_mux>;
73 settle-time-us = <100>;
77 compatible = "pwm-backlight";
78 power-supply = <&vcc_sys>;
83 compatible = "simple-battery";
84 charge-full-design-microamp-hours = <3151000>;
85 charge-term-current-microamp = <300000>;
86 constant-charge-current-max-microamp = <2000000>;
87 constant-charge-voltage-max-microvolt = <4250000>;
88 factory-internal-resistance-micro-ohms = <117000>;
89 voltage-max-design-microvolt = <4172000>;
90 voltage-min-design-microvolt = <3400000>;
92 ocv-capacity-celsius = <20>;
93 ocv-capacity-table-0 = <4172000 100>, <4092000 95>, <4035000 90>, <3990000 85>,
101 gpio_keys_control: gpio-keys-control {
102 compatible = "gpio-keys";
103 pinctrl-0 = <&btn_pins_ctrl>;
104 pinctrl-names = "default";
106 button-a {
112 button-b {
118 button-down {
120 label = "DPAD-DOWN";
124 button-l1 {
130 button-l2 {
136 button-left {
138 label = "DPAD-LEFT";
142 button-r1 {
148 button-r2 {
154 button-right {
156 label = "DPAD-RIGHT";
160 button-select {
166 button-start {
172 button-thumbl {
178 button-thumbr {
184 button-up {
186 label = "DPAD-UP";
190 button-x {
196 button-y {
203 gpio_keys_vol: gpio-keys-vol {
204 compatible = "gpio-keys";
206 pinctrl-0 = <&btn_pins_vol>;
207 pinctrl-names = "default";
209 button-vol-down {
215 button-vol-up {
222 gpio_mux: mux-controller {
223 compatible = "gpio-mux";
224 mux-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>,
226 #mux-control-cells = <0>;
229 hdmi-con {
230 compatible = "hdmi-connector";
231 ddc-i2c-bus = <&i2c5>;
236 remote-endpoint = <&hdmi_out_con>;
245 leds: pwm-leds {
246 compatible = "pwm-leds";
248 green_led: led-0 {
251 max-brightness = <255>;
255 red_led: led-1 {
258 max-brightness = <255>;
263 sdio_pwrseq: sdio-pwrseq {
264 compatible = "mmc-pwrseq-simple";
266 clock-names = "ext_clock";
267 pinctrl-0 = <&wifi_enable_h>;
268 pinctrl-names = "default";
269 post-power-on-delay-ms = <200>;
270 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>;
279 compatible = "simple-audio-card";
280 simple-audio-card,name = "rk817_ext";
281 simple-audio-card,format = "i2s";
282 simple-audio-card,mclk-fs = <256>;
283 simple-audio-card,widgets =
285 simple-audio-card,routing =
289 simple-audio-card,codec {
290 sound-dai = <&rk817>;
293 simple-audio-card,cpu {
294 sound-dai = <&i2s1_8ch>;
298 vcc3v3_lcd0_n: regulator-vcc3v3-lcd0 {
299 compatible = "regulator-fixed";
301 enable-active-high;
302 pinctrl-0 = <&vcc_lcd_h>;
303 pinctrl-names = "default";
304 regulator-boot-on;
305 regulator-min-microvolt = <3300000>;
306 regulator-max-microvolt = <3300000>;
307 regulator-name = "vcc3v3_lcd0_n";
308 vin-supply = <&vcc_3v3>;
309 regulator-state-mem {
310 regulator-off-in-suspend;
314 vcc_sys: regulator-vcc-sys {
315 compatible = "regulator-fixed";
316 regulator-always-on;
317 regulator-boot-on;
318 regulator-min-microvolt = <3800000>;
319 regulator-max-microvolt = <3800000>;
320 regulator-name = "vcc_sys";
323 vcc_wifi: regulator-vcc-wifi {
324 compatible = "regulator-fixed";
325 enable-active-high;
327 pinctrl-0 = <&vcc_wifi_h>;
328 pinctrl-names = "default";
329 regulator-always-on;
330 regulator-boot-on;
331 regulator-min-microvolt = <3300000>;
332 regulator-max-microvolt = <3300000>;
333 regulator-name = "vcc_wifi";
342 cpu-supply = <&vdd_cpu>;
346 cpu-supply = <&vdd_cpu>;
350 cpu-supply = <&vdd_cpu>;
354 cpu-supply = <&vdd_cpu>;
359 #address-cells = <1>;
360 #size-cells = <0>;
366 remote-endpoint = <&vp1_out_dsi0>;
373 remote-endpoint = <&mipi_in_panel>;
384 mali-supply = <&vdd_gpu>;
389 ddc-i2c-bus = <&i2c5>;
390 pinctrl-0 = <&hdmitxm0_cec>;
391 pinctrl-names = "default";
397 remote-endpoint = <&vp0_out_hdmi>;
403 remote-endpoint = <&hdmi_con_in>;
417 interrupt-parent = <&gpio0>;
419 clock-output-names = "rk808-clkout1", "rk808-clkout2";
420 clock-names = "mclk";
422 assigned-clocks = <&cru I2S1_MCLKOUT_TX>;
423 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>;
424 #clock-cells = <1>;
425 #sound-dai-cells = <0>;
426 pinctrl-names = "default";
427 pinctrl-0 = <&i2s1m0_mclk>, <&pmic_int_l>;
428 wakeup-source;
430 vcc1-supply = <&vcc_sys>;
431 vcc2-supply = <&vcc_sys>;
432 vcc3-supply = <&vcc_sys>;
433 vcc4-supply = <&vcc_sys>;
434 vcc5-supply = <&vcc_sys>;
435 vcc6-supply = <&vcc_sys>;
436 vcc7-supply = <&vcc_sys>;
437 vcc8-supply = <&vcc_sys>;
438 vcc9-supply = <&dcdc_boost>;
442 regulator-always-on;
443 regulator-boot-on;
444 regulator-min-microvolt = <500000>;
445 regulator-max-microvolt = <1350000>;
446 regulator-ramp-delay = <6001>;
447 regulator-initial-mode = <0x2>;
448 regulator-name = "vdd_logic";
449 regulator-state-mem {
450 regulator-off-in-suspend;
451 regulator-suspend-microvolt = <900000>;
456 regulator-always-on;
457 regulator-boot-on;
458 regulator-min-microvolt = <500000>;
459 regulator-max-microvolt = <1350000>;
460 regulator-ramp-delay = <6001>;
461 regulator-initial-mode = <0x2>;
462 regulator-name = "vdd_gpu";
463 regulator-state-mem {
464 regulator-off-in-suspend;
469 regulator-always-on;
470 regulator-boot-on;
471 regulator-initial-mode = <0x2>;
472 regulator-name = "vcc_ddr";
473 regulator-state-mem {
474 regulator-on-in-suspend;
479 regulator-always-on;
480 regulator-boot-on;
481 regulator-min-microvolt = <3300000>;
482 regulator-max-microvolt = <3300000>;
483 regulator-initial-mode = <0x2>;
484 regulator-name = "vcc_3v3";
485 regulator-state-mem {
486 regulator-on-in-suspend;
487 regulator-suspend-microvolt = <3300000>;
492 regulator-always-on;
493 regulator-boot-on;
494 regulator-min-microvolt = <1800000>;
495 regulator-max-microvolt = <1800000>;
496 regulator-name = "vcca1v8_pmu";
497 regulator-state-mem {
498 regulator-on-in-suspend;
499 regulator-suspend-microvolt = <1800000>;
504 regulator-always-on;
505 regulator-boot-on;
506 regulator-min-microvolt = <900000>;
507 regulator-max-microvolt = <900000>;
508 regulator-name = "vdda_0v9";
509 regulator-state-mem {
510 regulator-off-in-suspend;
515 regulator-always-on;
516 regulator-boot-on;
517 regulator-min-microvolt = <900000>;
518 regulator-max-microvolt = <900000>;
519 regulator-name = "vdda0v9_pmu";
520 regulator-state-mem {
521 regulator-on-in-suspend;
522 regulator-suspend-microvolt = <900000>;
527 regulator-always-on;
528 regulator-boot-on;
529 regulator-min-microvolt = <3300000>;
530 regulator-max-microvolt = <3300000>;
531 regulator-name = "vccio_acodec";
532 regulator-state-mem {
533 regulator-off-in-suspend;
538 regulator-always-on;
539 regulator-boot-on;
540 regulator-min-microvolt = <1800000>;
541 regulator-max-microvolt = <3300000>;
542 regulator-name = "vccio_sd";
543 regulator-state-mem {
544 regulator-off-in-suspend;
549 regulator-always-on;
550 regulator-boot-on;
551 regulator-min-microvolt = <3300000>;
552 regulator-max-microvolt = <3300000>;
553 regulator-name = "vcc3v3_pmu";
554 regulator-state-mem {
555 regulator-on-in-suspend;
556 regulator-suspend-microvolt = <3300000>;
561 regulator-always-on;
562 regulator-boot-on;
563 regulator-min-microvolt = <1800000>;
564 regulator-max-microvolt = <1800000>;
565 regulator-name = "vcc_1v8";
566 regulator-state-mem {
567 regulator-off-in-suspend;
572 regulator-always-on;
573 regulator-boot-on;
574 regulator-min-microvolt = <1800000>;
575 regulator-max-microvolt = <3300000>;
576 regulator-name = "vcc1v8_dvp";
577 regulator-state-mem {
578 regulator-off-in-suspend;
583 regulator-always-on;
584 regulator-boot-on;
585 regulator-min-microvolt = <2800000>;
586 regulator-max-microvolt = <2800000>;
587 regulator-name = "vcc2v8_dvp";
588 regulator-state-mem {
589 regulator-off-in-suspend;
594 regulator-always-on;
595 regulator-boot-on;
596 regulator-min-microvolt = <4700000>;
597 regulator-max-microvolt = <5400000>;
598 regulator-name = "boost";
599 regulator-state-mem {
600 regulator-off-in-suspend;
605 regulator-name = "otg_switch";
606 regulator-state-mem {
607 regulator-off-in-suspend;
613 monitored-battery = <&battery>;
614 rockchip,resistor-sense-micro-ohms = <10000>;
615 rockchip,sleep-enter-current-microamp = <300000>;
616 rockchip,sleep-filter-current-microamp = <100000>;
622 pinctrl-0 = <&i2c5m1_xfer>;
623 pinctrl-names = "default";
632 pinctrl-0 = <&i2s1m0_sclktx
636 pinctrl-names = "default";
637 rockchip,trcm-sync-tx-only;
642 gpio-btns {
643 btn_pins_ctrl: btn-pins-ctrl {
663 btn_pins_vol: btn-pins-vol {
670 joy-mux {
671 joy_mux_en: joy-mux-en {
677 gpio-lcd {
678 lcd_rst: lcd-rst {
685 pmic_int_l: pmic-int-l {
691 sdio-pwrseq {
692 wifi_enable_h: wifi-enable-h {
698 vcc3v3-lcd {
699 vcc_lcd_h: vcc-lcd-h {
705 vcc-wifi {
706 vcc_wifi_h: vcc-wifi-h {
715 pmuio1-supply = <&vcc3v3_pmu>;
716 pmuio2-supply = <&vcc3v3_pmu>;
717 vccio1-supply = <&vccio_acodec>;
718 vccio3-supply = <&vccio_sd>;
719 vccio4-supply = <&vcc_1v8>;
720 vccio5-supply = <&vcc_3v3>;
721 vccio6-supply = <&vcc1v8_dvp>;
722 vccio7-supply = <&vcc_3v3>;
738 vref-supply = <&vcc_1v8>;
743 bus-width = <4>;
744 cap-sd-highspeed;
745 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
746 disable-wp;
747 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
748 pinctrl-names = "default";
749 sd-uhs-sdr104;
750 vmmc-supply = <&vcc_3v3>;
751 vqmmc-supply = <&vccio_sd>;
756 bus-width = <4>;
757 cap-sd-highspeed;
758 cd-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_LOW>;
759 disable-wp;
760 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk &sdmmc1_det>;
761 pinctrl-names = "default";
762 sd-uhs-sdr104;
763 vmmc-supply = <&vcc_3v3>;
764 vqmmc-supply = <&vcc1v8_dvp>;
769 bus-width = <4>;
770 cap-sd-highspeed;
771 cap-sdio-irq;
772 keep-power-in-suspend;
773 mmc-pwrseq = <&sdio_pwrseq>;
774 non-removable;
775 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
776 pinctrl-names = "default";
777 vmmc-supply = <&vcc_wifi>;
778 vqmmc-supply = <&vcca1v8_pmu>;
783 rockchip,hw-tshut-mode = <1>;
784 rockchip,hw-tshut-polarity = <0>;
789 pinctrl-0 = <&uart1m1_xfer &uart1m1_ctsn &uart1m1_rtsn>;
790 pinctrl-names = "default";
791 uart-has-rtscts;
795 compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt";
796 device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
797 enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
798 host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
805 phy-names = "usb2-phy";
818 phy-names = "usb2-phy", "usb3-phy";
840 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
841 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
852 remote-endpoint = <&hdmi_in_vp0>;
859 remote-endpoint = <&dsi0_in_vp1>;