4 #include "lcd-b101ew05.dtsi"
12 compatible = "wlan-platdata";
15 sdio_vref = <1800>; //1800mv or 3300mv
18 power_pmu_regulator = "act_ldo3";
19 power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
22 //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
23 vref_pmu_regulator = "act_ldo3";
24 vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
26 WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
27 WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
28 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
34 compatible = "bluetooth-platdata";
36 //wifi-bt-power-toggle;
38 uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
39 pinctrl-names = "default","rts_gpio";
40 pinctrl-0 = <&uart0_rts>;
41 pinctrl-1 = <&uart0_rts_gpio>;
43 BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
44 BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
45 BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
46 BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
52 compatible = "hall_och165t";
53 type = <SENSOR_TYPE_HALL>;
54 irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>;
58 compatible = "pwm-backlight";
59 pwms = <&pwm0 0 25000>;
60 brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255>;
61 default-brightness-level = <128>;
62 enable-gpios = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
66 compatible = "rockchip_pwm_regulator";
67 pwms = <&pwm1 0 2000>;
69 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
70 rockchip,pwm_voltage= <1000000>;
71 rockchip,pwm_min_voltage= <925000>;
72 rockchip,pwm_max_voltage= <1400000>;
73 rockchip,pwm_suspend_voltage= <950000>;
74 rockchip,pwm_coefficient= <475>;
78 pwm_reg0: regulator@0 {
79 regulator-compatible = "pwm_dcdc1";
80 regulator-name= "vdd_logic";
81 regulator-min-microvolt = <925000>;
82 regulator-max-microvolt = <1400000>;
89 codec_hdmi_i2s: codec-hdmi-i2s {
90 compatible = "hdmi-i2s";
93 codec_hdmi_spdif: codec-hdmi-spdif {
94 compatible = "hdmi-spdif";
98 compatible = "rockchip-hdmi-i2s";
101 audio-codec = <&codec_hdmi_i2s>;
102 i2s-controller = <&i2s>;
105 //bitclock-inversion;
113 rockchip-hdmi-spdif {
114 compatible = "rockchip-hdmi-spdif";
117 audio-codec = <&codec_hdmi_spdif>;
118 i2s-controller = <&spdif>;
124 compatible = "rockchip-rt5631";
127 audio-codec = <&rt5631>;
128 i2s-controller = <&i2s>;
131 //bitclock-inversion;
140 compatible = "rockchip-rt3261";
143 audio-codec = <&rt3261>;
144 i2s-controller = <&i2s>;
147 //bitclock-inversion;
153 audio-codec = <&rt3261>;
154 i2s-controller = <&i2s>;
166 compatible = "rockchip,rk3288-usb-control";
168 host_drv_gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
169 otg_drv_gpio = <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;
171 rockchip,remote_wakeup;
172 rockchip,usb_irq_wakeup;
177 // power_ctl_by = "gpio"; //"gpio" "pmu"
178 power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
179 // power-pmu = "act_ldo"
180 reset-gpio = <&gpio4 GPIO_A7 GPIO_ACTIVE_LOW>;
184 //used for init some gpio
185 init-gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH
186 /*&gpio0 GPIO_C2 GPIO_ACTIVE_HIGH */
187 /*&gpio7 GPIO_B7 GPIO_ACTIVE_LOW */>;
191 rockchip,pins = <GPIO0_C2>;
192 rockchip,pull = <VALUE_PULL_DOWN>;
200 rockchip,pins = <GPIO7_B7>;
201 rockchip,pull = <VALUE_PULL_UP>;
207 //could add other pinctrl definition such as gpio
212 clock-frequency = <100000000>;
213 clock-freq-min-max = <400000 100000000>;
219 //supports-DDR_MODE; //you should set the two value in your project. only close in RK3288-SDK board.
223 keep-power-in-suspend;
230 clock-frequency = <50000000>;
231 lock-freq-min-max = <400000 50000000>;
235 card-detect-delay = <200>;
238 keep-power-in-suspend;
240 vmmc-supply = <&rk808_ldo5_reg>;
245 clock-frequency = <50000000>;
246 clock-freq-min-max = <200000 50000000>;
250 keep-power-in-suspend;
257 max-freq = <48000000>;
260 compatible = "rockchip,spi_test_bus0_cs0";
262 spi-max-frequency = <24000000>;
272 compatible = "rockchip,spi_test_bus0_cs1";
274 spi-max-frequency = <24000000>;
286 max-freq = <48000000>;
289 compatible = "rockchip,spi_test_bus1_cs0";
291 spi-max-frequency = <24000000>;
304 max-freq = <48000000>;
307 compatible = "rockchip,spi_test_bus2_cs0";
309 spi-max-frequency = <24000000>;
318 compatible = "rockchip,spi_test_bus2_cs1";
320 spi-max-frequency = <24000000>;
332 dma-names = "!tx", "!rx";
333 pinctrl-0 = <&uart0_xfer &uart0_cts>;
347 compatible = "silergy,syr82x";
351 #address-cells = <1>;
353 syr827_dc1: regulator@0 {
355 regulator-compatible = "syr82x_dcdc1";
356 regulator-name = "vdd_arm";
357 regulator-min-microvolt = <712500>;
358 regulator-max-microvolt = <1500000>;
361 regulator-initial-mode = <0x2>;
362 regulator-initial-state = <3>;
363 regulator-state-mem {
364 regulator-state-mode = <0x2>;
365 regulator-state-disabled;
366 regulator-state-uv = <900000>;
372 compatible = "silergy,syr82x";
376 #address-cells = <1>;
378 syr828_dc1: regulator@0 {
380 regulator-compatible = "syr82x_dcdc1";
381 regulator-name = "vdd_gpu";
382 regulator-min-microvolt = <712500>;
383 regulator-max-microvolt = <1500000>;
384 // regulator-always-on;
386 regulator-initial-mode = <0x2>;
387 regulator-initial-state = <3>;
388 regulator-state-mem {
389 regulator-state-mode = <0x2>;
390 regulator-state-disabled;
391 regulator-state-uv = <900000>;
396 act8846: act8846@5a {
401 ricoh619: ricoh619@32 {
405 bq24296: bq24296@6b {
406 compatible = "ti,bq24296";
408 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
409 bq24296,chg_current = <1000 2000 3000>;
413 bq27320: bq27320@55 {
414 compatible = "ti,bq27320";
416 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
421 compatible = "cw201x";
423 dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
424 bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
425 chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
426 bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32
427 0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52
428 0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB
429 0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>;
435 compatible = "rtc,hym8563";
437 irq_gpio = <&gpio0 GPIO_A4 IRQ_TYPE_EDGE_FALLING>;
445 compatible = "nxp,pcf8563";
450 compatible = "gs_mma8452";
452 type = <SENSOR_TYPE_ACCEL>;
453 irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_EDGE_FALLING>;
455 poll_delay_ms = <30>;
459 compatible = "gs_lis3dh";
461 type = <SENSOR_TYPE_ACCEL>;
462 irq-gpio = <&gpio0 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
464 poll_delay_ms = <30>;
468 compatible = "ak8963";
470 type = <SENSOR_TYPE_COMPASS>;
471 irq-gpio = <&gpio8 GPIO_A2 IRQ_TYPE_EDGE_RISING>;
473 poll_delay_ms = <30>;
478 compatible = "l3g20d_gyro";
480 type = <SENSOR_TYPE_GYROSCOPE>;
481 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_LEVEL_LOW>;
483 poll_delay_ms = <30>;
487 compatible = "ls_cm3218";
489 type = <SENSOR_TYPE_LIGHT>;
490 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;
492 poll_delay_ms = <30>;
501 compatible = "rt5631";
505 compatible = "es8323";
509 compatible = "rt3261";
511 // codec-en-gpio = <0>;//sdk default high level
513 modem-input-mode = <1>;
514 lout-to-modem_mode = <1>;
516 playback-if1-data_control = <0>;
517 playback-if2-data_control = <0>;
520 compatible = "rt5616";
532 compatible = "goodix,gt8xx";
534 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
535 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
536 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
542 compatible = "ct,vtl_ts";
544 screen_max_x = <2048>;
545 screen_max_y = <1536>;
546 irq_gpio_number = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
547 rst_gpio_number = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
556 rockchip,disp-mode = <DUAL>;
560 display-timings = <&disp_timings>;
563 /*lcdc1 as PRMRY(LCD),lcdc0 as EXTEND(HDMI)*/
566 rockchip,cabc_mode = <0>;
567 power_ctr: power_ctr {
568 rockchip,debug = <0>;
569 rockchip,mirror = <NO_MIRROR>;
571 rockchip,power_type = <GPIO>;
572 gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
573 rockchip,delay = <10>;
577 rockchip,power_type = <GPIO>;
578 gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
579 rockchip,delay = <10>;
583 rockchip,power_type = <GPIO>;
584 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
585 rockchip,delay = <5>;
597 rockchips,hdmi_audio_source = <0>;
604 compatible = "rockchip_headset";
605 headset_gpio = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&gpio0_c2>;
608 io-channels = <&adc 2>;
611 hook_down_type = ; //interrupt hook key down status
616 compatible = "rockchip,key";
617 io-channels = <&adc 1>;
622 rockchip,adc_value = <1>;
627 label = "volume down";
628 rockchip,adc_value = <170>;
632 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
641 rockchip,adc_value = <355>;
647 rockchip,adc_value = <746>;
653 rockchip,adc_value = <560>;
659 rockchip,adc_value = <450>;
673 &clk_core_dvfs_table {
690 &clk_gpu_dvfs_table {
702 &clk_ddr_dvfs_table {
713 SYS_STATUS_NORMAL 400000
714 SYS_STATUS_SUSPEND 200000
715 SYS_STATUS_VIDEO_1080P 240000
716 SYS_STATUS_VIDEO_4K 400000
717 SYS_STATUS_PERFORMANCE 528000
718 SYS_STATUS_DUALVIEW 400000
719 SYS_STATUS_BOOST 324000
720 SYS_STATUS_ISP 400000
731 /include/ "act8846.dtsi"
733 gpios =<&gpio7 GPIO_A1 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B2 GPIO_ACTIVE_HIGH>;
734 act8846,system-power-controller;
738 dcdc1_reg: regulator@0{
739 regulator-name= "act_dcdc1";
740 regulator-min-microvolt = <1200000>;
741 regulator-max-microvolt = <1200000>;
746 dcdc2_reg: regulator@1 {
747 regulator-name= "vccio";
748 regulator-min-microvolt = <3300000>;
749 regulator-max-microvolt = <3300000>;
750 regulator-initial-state = <3>;
751 regulator-state-mem {
752 regulator-state-enabled;
753 regulator-state-uv = <3300000>;
757 dcdc3_reg: regulator@2 {
758 regulator-name= "vdd_logic";
759 regulator-min-microvolt = <700000>;
760 regulator-max-microvolt = <1500000>;
761 regulator-initial-state = <3>;
762 regulator-state-mem {
763 regulator-state-enabled;
764 regulator-state-uv = <1200000>;
769 dcdc4_reg: regulator@3 {
770 regulator-name= "act_dcdc4";
771 regulator-min-microvolt = <2000000>;
772 regulator-max-microvolt = <2000000>;
773 regulator-initial-state = <3>;
774 regulator-state-mem {
775 regulator-state-enabled;
776 regulator-state-uv = <2000000>;
780 ldo1_reg: regulator@4 {
781 regulator-name= "vccio_sd";
782 regulator-min-microvolt = <3300000>;
783 regulator-max-microvolt = <3300000>;
787 ldo2_reg: regulator@5 {
788 regulator-name= "act_ldo2";
789 regulator-min-microvolt = <1000000>;
790 regulator-max-microvolt = <1000000>;
794 ldo3_reg: regulator@6 {
795 regulator-name= "act_ldo3";
796 regulator-min-microvolt = <3300000>;
797 regulator-max-microvolt = <3300000>;
801 ldo4_reg:regulator@7 {
802 regulator-name= "act_ldo4";
803 regulator-min-microvolt = <3300000>;
804 regulator-max-microvolt = <3300000>;
808 ldo5_reg: regulator@8 {
809 regulator-name= "act_ldo5";
810 regulator-min-microvolt = <3300000>;
811 regulator-max-microvolt = <3300000>;
815 ldo6_reg: regulator@9 {
816 regulator-name= "act_ldo6";
817 regulator-min-microvolt = <1000000>;
818 regulator-max-microvolt = <1000000>;
819 regulator-initial-state = <3>;
820 regulator-state-mem {
821 regulator-state-enabled;
826 ldo7_reg: regulator@10 {
827 regulator-name= "vcc_18";
828 regulator-min-microvolt = <1800000>;
829 regulator-max-microvolt = <1800000>;
830 regulator-initial-state = <3>;
831 regulator-state-mem {
832 regulator-state-enabled;
837 ldo8_reg: regulator@11 {
838 regulator-name= "act_ldo8";
839 regulator-min-microvolt = <1800000>;
840 regulator-max-microvolt = <1800000>;
847 /include/ "rk808.dtsi"
849 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
850 rk808,system-power-controller;
854 rk808_dcdc1_reg: regulator@0{
855 regulator-name= "vdd_arm";
860 rk808_dcdc2_reg: regulator@1 {
861 regulator-name= "vdd_gpu";
862 // regulator-always-on;
866 rk808_dcdc3_reg: regulator@2 {
867 regulator-name= "rk_dcdc3";
868 regulator-min-microvolt = <1200000>;
869 regulator-max-microvolt = <1200000>;
874 rk808_dcdc4_reg: regulator@3 {
875 regulator-name= "vccio";
876 regulator-min-microvolt = <1800000>;
877 regulator-max-microvolt = <3300000>;
882 rk808_ldo1_reg: regulator@4 {
883 regulator-name= "rk_ldo1";
884 regulator-min-microvolt = <3300000>;
885 regulator-max-microvolt = <3300000>;
890 rk808_ldo2_reg: regulator@5 {
891 regulator-name= "rk_ldo2";
892 regulator-min-microvolt = <3300000>;
893 regulator-max-microvolt = <3300000>;
898 rk808_ldo3_reg: regulator@6 {
899 regulator-name= "rk_ldo3";
900 regulator-min-microvolt = <1000000>;
901 regulator-max-microvolt = <1000000>;
906 rk808_ldo4_reg:regulator@7 {
907 regulator-name= "rk_ldo4";
908 regulator-min-microvolt = <1800000>;
909 regulator-max-microvolt = <1800000>;
914 rk808_ldo5_reg: regulator@8 {
915 regulator-name= "vcc_sd";
916 regulator-min-microvolt = <1800000>;
917 regulator-max-microvolt = <3300000>;
922 rk808_ldo6_reg: regulator@9 {
923 regulator-name= "rk_ldo6";
924 regulator-min-microvolt = <1000000>;
925 regulator-max-microvolt = <1000000>;
930 rk808_ldo7_reg: regulator@10 {
931 regulator-name= "rk_ldo7";
932 regulator-min-microvolt = <1800000>;
933 regulator-max-microvolt = <1800000>;
938 rk808_ldo8_reg: regulator@11 {
939 regulator-name= "rk_ldo8";
940 regulator-min-microvolt = <3300000>;
941 regulator-max-microvolt = <3300000>;
946 rk808_ldo9_reg: regulator@12 {
947 regulator-name= "rk_ldo9";
952 rk808_ldo10_reg: regulator@13 {
953 regulator-name= "rk_ldo10";
960 /include/ "ricoh619.dtsi"
962 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
963 ricoh619,system-power-controller;
966 ricoh619_dcdc1_reg: regulator@0 {
967 regulator-name = "vdd_logic";
968 regulator-min-microvolt = < 700000>;
969 regulator-max-microvolt = <1500000>;
970 regulator-initial-mode = <0x2>;
971 regulator-initial-state = <3>;
972 regulator-state-mem {
973 regulator-state-mode = <0x2>;
974 regulator-state-enabled;
975 regulator-state-uv = <900000>;
978 ricoh619_dcdc2_reg: regulator@1 {
979 regulator-name = "ricoh619_dcdc2";
980 regulator-min-microvolt = <1200000>;
981 regulator-max-microvolt = <1200000>;
982 regulator-initial-mode = <0x2>;
983 regulator-initial-state = <3>;
984 regulator-state-mem {
985 regulator-state-mode = <0x2>;
986 regulator-state-enabled;
987 regulator-state-uv = <1200000>;
990 ricoh619_dcdc3_reg: regulator@2 {
991 regulator-name = "ricoh619_dcdc3";
992 regulator-min-microvolt = < 1200000>;
993 regulator-max-microvolt = <1200000>;
994 regulator-initial-mode = <0x2>;
995 regulator-initial-state = <3>;
996 regulator-state-mem {
997 regulator-state-mode = <0x2>;
998 regulator-state-enabled;
999 regulator-state-uv = <1200000>;
1002 ricoh619_dcdc4_reg: regulator@3 {
1003 regulator-name = "ricoh619_dcdc4";
1004 regulator-min-microvolt = < 3300000>;
1005 regulator-max-microvolt = <3300000>;
1006 regulator-initial-mode = <0x2>;
1007 regulator-initial-state = <3>;
1008 regulator-state-mem {
1009 regulator-state-mode = <0x2>;
1010 regulator-state-enabled;
1011 regulator-state-uv = <2800000>;
1014 ricoh619_dcdc5_reg: regulator@4 {
1015 regulator-name = "ricoh619_dcdc5";
1016 regulator-min-microvolt = < 2000000>;
1017 regulator-max-microvolt = <2000000>;
1018 regulator-initial-mode = <0x2>;
1019 regulator-initial-state = <3>;
1020 regulator-state-mem {
1021 regulator-state-mode = <0x2>;
1022 regulator-state-enabled;
1023 regulator-state-uv = <2000000>;
1026 ricoh619_ldo1_reg: regulator@5 {
1027 regulator-name = "ricoh619_ldo1";
1028 regulator-min-microvolt = <3300000>;
1029 regulator-max-microvolt = <3300000>;
1030 regulator-initial-state = <3>;
1031 regulator-state-mem {
1032 regulator-state-enabled;
1033 regulator-state-uv = <3300000>;
1036 ricoh619_ldo2_reg: regulator@6 {
1037 regulator-name = "ricoh619_ldo2";
1038 regulator-min-microvolt = <3300000>;
1039 regulator-max-microvolt = <3300000>;
1040 regulator-initial-state = <3>;
1041 regulator-state-mem {
1042 regulator-state-enabled;
1043 regulator-state-uv = <3300000>;
1046 ricoh619_ldo3_reg: regulator@7 {
1047 regulator-name = "ricoh619_ldo3";
1048 regulator-min-microvolt = <3300000>;
1049 regulator-max-microvolt = <3300000>;
1050 regulator-initial-state = <3>;
1051 regulator-state-mem {
1052 regulator-state-enabled;
1053 regulator-state-uv = <3300000>;
1056 ricoh619_ldo4_reg: regulator@8 {
1057 regulator-name = "vcc_sd";
1058 regulator-min-microvolt = <3300000>;
1059 regulator-max-microvolt = <3300000>;
1060 regulator-initial-state = <3>;
1061 regulator-state-mem {
1062 regulator-state-enabled;
1063 regulator-state-uv = <3300000>;
1066 ricoh619_ldo5_reg: regulator@9 {
1067 regulator-name = "ricoh619_ldo5";
1068 regulator-min-microvolt = <3300000>;
1069 regulator-max-microvolt = <3300000>;
1070 regulator-initial-state = <3>;
1071 regulator-state-mem {
1072 regulator-state-enabled;
1073 regulator-state-uv = <3300000>;
1076 ricoh619_ldo6_reg: regulator@10 {
1077 regulator-name = "ricoh619_ldo6";
1078 regulator-min-microvolt = <1800000>;
1079 regulator-max-microvolt = <1800000>;
1080 regulator-initial-state = <3>;
1081 regulator-state-mem {
1082 regulator-state-enabled;
1083 regulator-state-uv = <1800000>;
1086 ricoh619_ldo7_reg: regulator@11 {
1087 regulator-name = "ricoh619_ldo7";
1088 regulator-min-microvolt = <1000000>;
1089 regulator-max-microvolt = <1000000>;
1090 regulator-initial-state = <3>;
1091 regulator-state-mem {
1092 regulator-state-enabled;
1093 regulator-state-uv = <1000000>;
1096 ricoh619_ldo8_reg: regulator@12 {
1097 regulator-name = "ricoh619_ldo8";
1098 regulator-min-microvolt = <1800000>;
1099 regulator-max-microvolt = <1800000>;
1100 regulator-initial-state = <3>;
1101 regulator-state-mem {
1102 regulator-state-enabled;
1103 regulator-state-uv = <1800000>;
1106 ricoh619_ldo9_reg: regulator@13 {
1107 regulator-name = "ricoh619_ldo9";
1108 regulator-min-microvolt = <1000000>;
1109 regulator-max-microvolt = <1000000>;
1110 regulator-initial-state = <3>;
1111 regulator-state-mem {
1112 regulator-state-enabled;
1113 regulator-state-uv = <1000000>;
1116 ricoh619_ldo10_reg: regulator@14 {
1117 regulator-name = "ricoh619_ldo10";
1118 regulator-min-microvolt = <1800000>;
1119 regulator-max-microvolt = <1800000>;
1120 regulator-initial-state = <3>;
1121 regulator-state-mem {
1122 regulator-state-enabled;
1123 regulator-state-uv = <1800000>;
1126 ricoh619_ldortc1_reg: regulator@15 {
1127 regulator-name = "ricoh619_ldortc1";
1128 regulator-min-microvolt = < 3300000>;
1129 regulator-max-microvolt = <3300000>;
1131 ricoh619_ldortc2_reg: regulator@16 {
1132 regulator-name = "ricoh619_ldortc2";
1133 regulator-min-microvolt = < 3300000>;
1134 regulator-max-microvolt = <3300000>;
1138 /include/ "rk818.dtsi"
1140 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
1141 rk818,system-power-controller;
1145 rk818_dcdc1_reg: regulator@0{
1146 regulator-name= "vdd_logic";
1147 regulator-min-microvolt = <700000>;
1148 regulator-max-microvolt = <1500000>;
1149 regulator-initial-mode = <0x2>;
1150 regulator-initial-state = <3>;
1151 regulator-state-mem {
1152 regulator-state-mode = <0x2>;
1153 regulator-state-enabled;
1154 regulator-state-uv = <900000>;
1158 rk818_dcdc2_reg: regulator@1 {
1159 regulator-name= "rk818_dcdc2";
1160 regulator-min-microvolt = <1200000>;
1161 regulator-max-microvolt = <1200000>;
1162 regulator-initial-mode = <0x2>;
1163 regulator-initial-state = <3>;
1164 regulator-state-mem {
1165 regulator-state-mode = <0x2>;
1166 regulator-state-enabled;
1167 regulator-state-uv = <1200000>;
1171 rk818_dcdc3_reg: regulator@2 {
1172 regulator-name= "rk818_dcdc3";
1173 regulator-min-microvolt = <1200000>;
1174 regulator-max-microvolt = <1200000>;
1175 regulator-initial-mode = <0x2>;
1176 regulator-initial-state = <3>;
1177 regulator-state-mem {
1178 regulator-state-mode = <0x2>;
1179 regulator-state-enabled;
1180 regulator-state-uv = <1200000>;
1184 rk818_dcdc4_reg: regulator@3 {
1185 regulator-name= "vccio";
1186 regulator-min-microvolt = <1800000>;
1187 regulator-max-microvolt = <3300000>;
1188 regulator-initial-mode = <0x2>;
1189 regulator-initial-state = <3>;
1190 regulator-state-mem {
1191 regulator-state-mode = <0x2>;
1192 regulator-state-enabled;
1193 regulator-state-uv = <2800000>;
1197 rk818_ldo1_reg: regulator@4 {
1198 regulator-name= "rk818_ldo1";
1199 regulator-min-microvolt = <3300000>;
1200 regulator-max-microvolt = <3300000>;
1201 regulator-initial-state = <3>;
1202 regulator-state-mem {
1203 regulator-state-enabled;
1204 regulator-state-uv = <3300000>;
1208 rk818_ldo2_reg: regulator@5 {
1209 regulator-name= "rk818_ldo2";
1210 regulator-min-microvolt = <3300000>;
1211 regulator-max-microvolt = <3300000>;
1212 regulator-initial-state = <3>;
1213 regulator-state-mem {
1214 regulator-state-enabled;
1215 regulator-state-uv = <3300000>;
1219 rk818_ldo3_reg: regulator@6 {
1220 regulator-name= "rk818_ldo3";
1221 regulator-min-microvolt = <1000000>;
1222 regulator-max-microvolt = <1000000>;
1223 regulator-initial-state = <3>;
1224 regulator-state-mem {
1225 regulator-state-enabled;
1226 regulator-state-uv = <1000000>;
1230 rk818_ldo4_reg:regulator@7 {
1231 regulator-name= "rk818_ldo4";
1232 regulator-min-microvolt = <1800000>;
1233 regulator-max-microvolt = <1800000>;
1234 regulator-initial-state = <3>;
1235 regulator-state-mem {
1236 regulator-state-disabled;
1237 regulator-state-uv = <1800000>;
1241 rk818_ldo5_reg: regulator@8 {
1242 regulator-name= "rk818_ldo5";
1243 regulator-min-microvolt = <3300000>;
1244 regulator-max-microvolt = <3300000>;
1245 regulator-initial-state = <3>;
1246 regulator-state-mem {
1247 regulator-state-enabled;
1248 regulator-state-uv = <3300000>;
1252 rk818_ldo6_reg: regulator@9 {
1253 regulator-name= "rk818_ldo6";
1254 regulator-min-microvolt = <1000000>;
1255 regulator-max-microvolt = <1000000>;
1256 regulator-initial-state = <3>;
1257 regulator-state-mem {
1258 regulator-state-disabled;
1259 regulator-state-uv = <1000000>;
1263 rk818_ldo7_reg: regulator@10 {
1264 regulator-name= "rk818_ldo7";
1265 regulator-min-microvolt = <1800000>;
1266 regulator-max-microvolt = <1800000>;
1267 regulator-initial-state = <3>;
1268 regulator-state-mem {
1269 regulator-state-enabled;
1270 regulator-state-uv = <1800000>;
1274 rk818_ldo8_reg: regulator@11 {
1275 regulator-name= "rk818_ldo8";
1276 regulator-min-microvolt = <1800000>;
1277 regulator-max-microvolt = <1800000>;
1278 regulator-initial-state = <3>;
1279 regulator-state-mem {
1280 regulator-state-enabled;
1281 regulator-state-uv = <1800000>;
1284 rk818_ldo9_reg: regulator@12 {
1285 regulator-name= "vcc_sd";
1286 regulator-min-microvolt = <1800000>;
1287 regulator-max-microvolt = <3300000>;
1288 regulator-initial-state = <3>;
1289 regulator-state-mem {
1290 regulator-state-enabled;
1291 regulator-state-uv = <3300000>;
1294 rk818_ldo10_reg: regulator@13 {
1295 regulator-name= "rk818_ldo10";
1296 regulator-state-mem {
1297 regulator-state-disabled;
1302 ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
1303 design_capacity = <2100>;
1304 design_qmax = <2200>;
1305 max_overcharge = <100>;
1306 max_charge_currentma = <1500>;
1307 max_charge_voltagemv = <4260>;
1308 max_bat_voltagemv = <4200>;
1313 regulator-name = "vcc30_lcd";
1316 regulator-name = "vcc18_cif";
1319 regulator-name = "vcc_flash";
1322 regulator-name = "vcc_flash";
1325 regulator-name = "vccio_wl";
1328 regulator-name = "vccio";
1331 regulator-name = "vccio";
1334 regulator-name = "vccio";
1337 regulator-name = "vccio";
1340 regulator-name = "vcc_sd";