4 #include "lcd-b101ew05.dtsi"
12 compatible = "wlan-platdata";
14 /* wifi_chip_type - wifi chip define
15 * bcmwifi ==> like ap6xxx, rk90x;
16 * rtkwifi ==> like rtl8188xx, rtl8723xx;
17 * esp8089 ==> esp8089;
18 * other ==> for other wifi;
20 wifi_chip_type = "bcmwifi";
22 sdio_vref = <1800>; //1800mv or 3300mv
27 power_pmu_regulator = "act_ldo3";
28 power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
31 //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
32 vref_pmu_regulator = "act_ldo3";
33 vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
35 WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
36 WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
37 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
43 compatible = "bluetooth-platdata";
45 //wifi-bt-power-toggle;
47 uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
48 pinctrl-names = "default","rts_gpio";
49 pinctrl-0 = <&uart0_rts>;
50 pinctrl-1 = <&uart0_rts_gpio>;
52 BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
53 BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
54 BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
55 BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
61 compatible = "hall_och165t";
62 type = <SENSOR_TYPE_HALL>;
63 irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>;
67 compatible = "pwm-backlight";
68 pwms = <&pwm0 0 25000>;
69 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>;
70 default-brightness-level = <128>;
71 enable-gpios = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
75 compatible = "rockchip_pwm_regulator";
76 pwms = <&pwm1 0 2000>;
78 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
79 rockchip,pwm_voltage= <1000000>;
80 rockchip,pwm_min_voltage= <925000>;
81 rockchip,pwm_max_voltage= <1400000>;
82 rockchip,pwm_suspend_voltage= <950000>;
83 rockchip,pwm_coefficient= <475>;
87 pwm_reg0: regulator@0 {
88 regulator-compatible = "pwm_dcdc1";
89 regulator-name= "vdd_logic";
90 regulator-min-microvolt = <925000>;
91 regulator-max-microvolt = <1400000>;
98 codec_hdmi_i2s: codec-hdmi-i2s {
99 compatible = "hdmi-i2s";
102 codec_hdmi_spdif: codec-hdmi-spdif {
103 compatible = "hdmi-spdif";
107 compatible = "rockchip-hdmi-i2s";
110 audio-codec = <&codec_hdmi_i2s>;
111 audio-controller = <&i2s>;
114 //bitclock-inversion;
122 rockchip-hdmi-spdif {
123 compatible = "rockchip-hdmi-spdif";
126 audio-codec = <&codec_hdmi_spdif>;
127 audio-controller = <&spdif>;
133 compatible = "rockchip-rt5631";
136 audio-codec = <&rt5631>;
137 audio-controller = <&i2s>;
140 //bitclock-inversion;
149 compatible = "rockchip-rt3261";
152 audio-codec = <&rt3261>;
153 audio-controller = <&i2s>;
156 //bitclock-inversion;
162 audio-codec = <&rt3261>;
163 audio-controller = <&i2s>;
175 compatible = "rockchip,rk3288-usb-control";
177 host_drv_gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
178 otg_drv_gpio = <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;
180 rockchip,remote_wakeup;
181 rockchip,usb_irq_wakeup;
186 // power_ctl_by = "gpio"; //"gpio" "pmu"
187 power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
188 // power-pmu = "act_ldo"
189 reset-gpio = <&gpio4 GPIO_A7 GPIO_ACTIVE_LOW>;
190 status = "disabled"; //if want to use gmac, please set "okay"
194 //used for init some gpio
195 init-gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH
196 /*&gpio0 GPIO_C2 GPIO_ACTIVE_HIGH */
197 /*&gpio7 GPIO_B7 GPIO_ACTIVE_LOW */>;
201 rockchip,pins = <GPIO0_C2>;
202 rockchip,pull = <VALUE_PULL_DOWN>;
210 rockchip,pins = <GPIO7_B7>;
211 rockchip,pull = <VALUE_PULL_UP>;
217 //could add other pinctrl definition such as gpio
222 status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
225 status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
229 status = "okay"; // used nand set "disabled" ,used emmc set "okay"
233 clock-frequency = <100000000>;
234 clock-freq-min-max = <400000 100000000>;
241 //supports-DDR_MODE; //you should set the two value in your project. only close in RK3288-SDK board.
245 keep-power-in-suspend;
252 clock-frequency = <50000000>;
253 clock-freq-min-max = <400000 50000000>;
257 card-detect-delay = <200>;
260 keep-power-in-suspend;
262 vmmc-supply = <&rk808_ldo5_reg>;
267 clock-frequency = <50000000>;
268 clock-freq-min-max = <200000 50000000>;
272 keep-power-in-suspend;
279 max-freq = <48000000>;
282 compatible = "rockchip,spi_test_bus0_cs0";
284 spi-max-frequency = <24000000>;
294 compatible = "rockchip,spi_test_bus0_cs1";
296 spi-max-frequency = <24000000>;
308 max-freq = <48000000>;
311 compatible = "rockchip,spi_test_bus1_cs0";
313 spi-max-frequency = <24000000>;
326 max-freq = <48000000>;
329 compatible = "rockchip,spi_test_bus2_cs0";
331 spi-max-frequency = <24000000>;
340 compatible = "rockchip,spi_test_bus2_cs1";
342 spi-max-frequency = <24000000>;
354 dma-names = "!tx", "!rx";
355 pinctrl-0 = <&uart0_xfer &uart0_cts>;
369 compatible = "silergy,syr82x";
373 #address-cells = <1>;
375 syr827_dc1: regulator@0 {
377 regulator-compatible = "syr82x_dcdc1";
378 regulator-name = "vdd_arm";
379 regulator-min-microvolt = <712500>;
380 regulator-max-microvolt = <1500000>;
383 regulator-initial-mode = <0x2>;
384 regulator-initial-state = <3>;
385 regulator-state-mem {
386 regulator-state-mode = <0x2>;
387 regulator-state-disabled;
388 regulator-state-uv = <900000>;
394 compatible = "silergy,syr82x";
398 #address-cells = <1>;
400 syr828_dc1: regulator@0 {
402 regulator-compatible = "syr82x_dcdc1";
403 regulator-name = "vdd_gpu";
404 regulator-min-microvolt = <712500>;
405 regulator-max-microvolt = <1500000>;
408 regulator-initial-mode = <0x2>;
409 regulator-initial-state = <3>;
410 regulator-state-mem {
411 regulator-state-mode = <0x2>;
412 regulator-state-enabled;
413 regulator-state-uv = <900000>;
418 act8846: act8846@5a {
423 ricoh619: ricoh619@32 {
427 bq24296: bq24296@6b {
428 compatible = "ti,bq24296";
430 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
431 bq24296,chg_current = <1000 2000 3000>;
435 bq27320: bq27320@55 {
436 compatible = "ti,bq27320";
438 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
443 compatible = "cw201x";
445 dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
446 bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
447 chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
448 bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32
449 0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52
450 0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB
451 0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>;
457 compatible = "rtc,hym8563";
459 irq_gpio = <&gpio0 GPIO_A4 IRQ_TYPE_EDGE_FALLING>;
467 compatible = "nxp,pcf8563";
472 compatible = "gs_mma8452";
474 type = <SENSOR_TYPE_ACCEL>;
475 irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_EDGE_FALLING>;
477 poll_delay_ms = <30>;
481 compatible = "gs_lis3dh";
483 type = <SENSOR_TYPE_ACCEL>;
484 irq-gpio = <&gpio0 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
486 poll_delay_ms = <30>;
490 compatible = "ak8963";
492 type = <SENSOR_TYPE_COMPASS>;
493 irq-gpio = <&gpio8 GPIO_A2 IRQ_TYPE_EDGE_RISING>;
495 poll_delay_ms = <30>;
500 compatible = "l3g20d_gyro";
502 type = <SENSOR_TYPE_GYROSCOPE>;
503 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_LEVEL_LOW>;
505 poll_delay_ms = <30>;
509 compatible = "ls_cm3218";
511 type = <SENSOR_TYPE_LIGHT>;
512 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;
514 poll_delay_ms = <30>;
519 compatible = "nfc-bcm2079x.ap6441";
521 en_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
522 wake_gpio = <&gpio5 GPIO_C0 GPIO_ACTIVE_HIGH>;
523 irq_gpio = <&gpio5 GPIO_B7 IRQ_TYPE_EDGE_RISING>;
527 compatible = "nfc-bcm2079x.ap6493";
529 en_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
530 wake_gpio = <&gpio5 GPIO_C0 GPIO_ACTIVE_HIGH>;
531 irq_gpio = <&gpio5 GPIO_B7 IRQ_TYPE_EDGE_RISING>;
539 compatible = "rt5631";
543 compatible = "es8323";
547 compatible = "rt3261";
549 // codec-en-gpio = <0>;//sdk default high level
551 modem-input-mode = <1>;
552 lout-to-modem_mode = <1>;
554 playback-if1-data_control = <0>;
555 playback-if2-data_control = <0>;
558 compatible = "rt5616";
570 compatible = "goodix,gt8xx";
572 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
573 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
574 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
580 compatible = "ct,vtl_ts";
582 screen_max_x = <2048>;
583 screen_max_y = <1536>;
584 irq_gpio_number = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
585 rst_gpio_number = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
594 rockchip,disp-mode = <DUAL>;
595 rockchip,uboot-logo-on = <1>;
599 display-timings = <&disp_timings>;
602 /*lcdc0 as PRMRY(LCD),lcdc1 as EXTEND(HDMI)*/
605 rockchip,mirror = <NO_MIRROR>;
606 rockchip,cabc_mode = <0>;
607 power_ctr: power_ctr {
608 rockchip,debug = <0>;
610 rockchip,power_type = <GPIO>;
611 gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
612 rockchip,delay = <10>;
616 rockchip,power_type = <GPIO>;
617 gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
618 rockchip,delay = <10>;
622 rockchip,power_type = <GPIO>;
623 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
624 rockchip,delay = <5>;
632 rockchip,mirror = <NO_MIRROR>;
637 rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
644 compatible = "rockchip_headset";
645 headset_gpio = <&gpio0 GPIO_C2 GPIO_ACTIVE_LOW>;
646 pinctrl-names = "default";
647 pinctrl-0 = <&gpio0_c2>;
648 io-channels = <&adc 2>;
651 hook_down_type = ; //interrupt hook key down status
656 compatible = "rockchip,key";
657 io-channels = <&adc 1>;
662 rockchip,adc_value = <1>;
667 label = "volume down";
668 rockchip,adc_value = <170>;
672 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
681 rockchip,adc_value = <355>;
687 rockchip,adc_value = <746>;
693 rockchip,adc_value = <560>;
699 rockchip,adc_value = <450>;
713 &clk_core_dvfs_table {
730 &clk_gpu_dvfs_table {
742 &clk_ddr_dvfs_table {
753 SYS_STATUS_NORMAL 400000
754 SYS_STATUS_SUSPEND 200000
755 SYS_STATUS_VIDEO_1080P 240000
756 SYS_STATUS_VIDEO_4K 400000
757 SYS_STATUS_PERFORMANCE 528000
758 SYS_STATUS_DUALVIEW 400000
759 SYS_STATUS_BOOST 324000
760 SYS_STATUS_ISP 533000
778 /include/ "act8846.dtsi"
780 gpios =<&gpio7 GPIO_A1 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B2 GPIO_ACTIVE_HIGH>;
781 act8846,system-power-controller;
785 dcdc1_reg: regulator@0{
786 regulator-name= "act_dcdc1";
787 regulator-min-microvolt = <1200000>;
788 regulator-max-microvolt = <1200000>;
793 dcdc2_reg: regulator@1 {
794 regulator-name= "vccio";
795 regulator-min-microvolt = <3300000>;
796 regulator-max-microvolt = <3300000>;
797 regulator-initial-state = <3>;
798 regulator-state-mem {
799 regulator-state-enabled;
800 regulator-state-uv = <3300000>;
804 dcdc3_reg: regulator@2 {
805 regulator-name= "vdd_logic";
806 regulator-min-microvolt = <700000>;
807 regulator-max-microvolt = <1500000>;
808 regulator-initial-state = <3>;
809 regulator-state-mem {
810 regulator-state-enabled;
811 regulator-state-uv = <1200000>;
816 dcdc4_reg: regulator@3 {
817 regulator-name= "act_dcdc4";
818 regulator-min-microvolt = <2000000>;
819 regulator-max-microvolt = <2000000>;
820 regulator-initial-state = <3>;
821 regulator-state-mem {
822 regulator-state-enabled;
823 regulator-state-uv = <2000000>;
827 ldo1_reg: regulator@4 {
828 regulator-name= "vccio_sd";
829 regulator-min-microvolt = <1800000>;
830 regulator-max-microvolt = <3300000>;
834 ldo2_reg: regulator@5 {
835 regulator-name= "act_ldo2";
836 regulator-min-microvolt = <1000000>;
837 regulator-max-microvolt = <1000000>;
841 ldo3_reg: regulator@6 {
842 regulator-name= "act_ldo3";
843 regulator-min-microvolt = <3300000>;
844 regulator-max-microvolt = <3300000>;
848 ldo4_reg:regulator@7 {
849 regulator-name= "act_ldo4";
850 regulator-min-microvolt = <3300000>;
851 regulator-max-microvolt = <3300000>;
855 ldo5_reg: regulator@8 {
856 regulator-name= "act_ldo5";
857 regulator-min-microvolt = <3300000>;
858 regulator-max-microvolt = <3300000>;
862 ldo6_reg: regulator@9 {
863 regulator-name= "act_ldo6";
864 regulator-min-microvolt = <1000000>;
865 regulator-max-microvolt = <1000000>;
866 regulator-initial-state = <3>;
867 regulator-state-mem {
868 regulator-state-enabled;
873 ldo7_reg: regulator@10 {
874 regulator-name= "vcc_18";
875 regulator-min-microvolt = <1800000>;
876 regulator-max-microvolt = <1800000>;
877 regulator-initial-state = <3>;
878 regulator-state-mem {
879 regulator-state-enabled;
884 ldo8_reg: regulator@11 {
885 regulator-name= "act_ldo8";
886 regulator-min-microvolt = <1800000>;
887 regulator-max-microvolt = <1800000>;
894 /include/ "rk808.dtsi"
896 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
897 rk808,system-power-controller;
901 rk808_dcdc1_reg: regulator@0{
902 regulator-name= "vdd_arm";
907 rk808_dcdc2_reg: regulator@1 {
908 regulator-name= "vdd_gpu";
909 //regulator-always-on;
913 rk808_dcdc3_reg: regulator@2 {
914 regulator-name= "rk_dcdc3";
915 regulator-min-microvolt = <1200000>;
916 regulator-max-microvolt = <1200000>;
921 rk808_dcdc4_reg: regulator@3 {
922 regulator-name= "vccio";
923 regulator-min-microvolt = <1800000>;
924 regulator-max-microvolt = <3300000>;
929 rk808_ldo1_reg: regulator@4 {
930 regulator-name= "rk_ldo1";
931 regulator-min-microvolt = <3300000>;
932 regulator-max-microvolt = <3300000>;
937 rk808_ldo2_reg: regulator@5 {
938 regulator-name= "rk_ldo2";
939 regulator-min-microvolt = <3300000>;
940 regulator-max-microvolt = <3300000>;
945 rk808_ldo3_reg: regulator@6 {
946 regulator-name= "rk_ldo3";
947 regulator-min-microvolt = <1000000>;
948 regulator-max-microvolt = <1000000>;
953 rk808_ldo4_reg:regulator@7 {
954 regulator-name= "rk_ldo4";
955 regulator-min-microvolt = <1800000>;
956 regulator-max-microvolt = <1800000>;
961 rk808_ldo5_reg: regulator@8 {
962 regulator-name= "vcc_sd";
963 regulator-min-microvolt = <1800000>;
964 regulator-max-microvolt = <3300000>;
969 rk808_ldo6_reg: regulator@9 {
970 regulator-name= "rk_ldo6";
971 regulator-min-microvolt = <1000000>;
972 regulator-max-microvolt = <1000000>;
977 rk808_ldo7_reg: regulator@10 {
978 regulator-name= "rk_ldo7";
979 regulator-min-microvolt = <1800000>;
980 regulator-max-microvolt = <1800000>;
985 rk808_ldo8_reg: regulator@11 {
986 regulator-name= "rk_ldo8";
987 regulator-min-microvolt = <3300000>;
988 regulator-max-microvolt = <3300000>;
993 rk808_ldo9_reg: regulator@12 {
994 regulator-name= "rk_ldo9";
999 rk808_ldo10_reg: regulator@13 {
1000 regulator-name= "rk_ldo10";
1001 regulator-always-on;
1007 /include/ "ricoh619.dtsi"
1009 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
1010 ricoh619,system-power-controller;
1013 ricoh619_dcdc1_reg: regulator@0 {
1014 regulator-name = "vccio";
1015 regulator-min-microvolt = <3300000>;
1016 regulator-max-microvolt = <3300000>;
1017 regulator-initial-mode = <0x2>;
1018 regulator-initial-state = <3>;
1019 regulator-state-mem {
1020 regulator-state-mode = <0x2>;
1021 regulator-state-enabled;
1022 regulator-state-uv = <2800000>;
1025 ricoh619_dcdc2_reg: regulator@1 {
1026 regulator-name = "ricoh619_dcdc2";
1027 regulator-min-microvolt = <2000000>;
1028 regulator-max-microvolt = <2000000>;
1029 regulator-initial-mode = <0x2>;
1030 regulator-initial-state = <3>;
1031 regulator-state-mem {
1032 regulator-state-mode = <0x2>;
1033 regulator-state-enabled;
1034 regulator-state-uv = <2000000>;
1037 ricoh619_dcdc3_reg: regulator@2 {
1038 regulator-name = "vcc_lcd";
1039 regulator-min-microvolt = <3300000>;
1040 regulator-max-microvolt = <3300000>;
1041 regulator-initial-mode = <0x2>;
1042 regulator-initial-state = <3>;
1043 regulator-state-mem {
1044 regulator-state-mode = <0x2>;
1045 regulator-state-enabled;
1046 regulator-state-uv = <3300000>;
1049 ricoh619_dcdc4_reg: regulator@3 {
1050 regulator-name = "vdd_logic";
1051 regulator-min-microvolt = <700000>;
1052 regulator-max-microvolt = <1500000>;
1053 regulator-initial-mode = <0x2>;
1054 regulator-initial-state = <3>;
1055 regulator-state-mem {
1056 regulator-state-mode = <0x2>;
1057 regulator-state-enabled;
1058 regulator-state-uv = <900000>;
1061 ricoh619_dcdc5_reg: regulator@4 {
1062 regulator-name = "vcc_ddr";
1063 regulator-min-microvolt = <1200000>;
1064 regulator-max-microvolt = <1200000>;
1065 regulator-initial-mode = <0x2>;
1066 regulator-initial-state = <3>;
1067 regulator-state-mem {
1068 regulator-state-mode = <0x2>;
1069 regulator-state-enabled;
1070 regulator-state-uv = <1200000>;
1073 ricoh619_ldo1_reg: regulator@5 {
1074 regulator-name = "vccio_pmu";
1075 regulator-min-microvolt = <3300000>;
1076 regulator-max-microvolt = <3300000>;
1077 regulator-initial-state = <3>;
1078 regulator-state-mem {
1079 regulator-state-enabled;
1080 regulator-state-uv = <3300000>;
1083 ricoh619_ldo2_reg: regulator@6 {
1084 regulator-name = "ricoh619_ldo2";
1085 regulator-min-microvolt = <3300000>;
1086 regulator-max-microvolt = <3300000>;
1087 regulator-initial-state = <3>;
1088 regulator-state-mem {
1089 regulator-state-enabled;
1090 regulator-state-uv = <3300000>;
1093 ricoh619_ldo3_reg: regulator@7 {
1094 regulator-name = "ricoh619_ldo3";
1095 regulator-min-microvolt = <3300000>;
1096 regulator-max-microvolt = <3300000>;
1097 regulator-initial-state = <3>;
1098 regulator-state-mem {
1099 regulator-state-enabled;
1100 regulator-state-uv = <3300000>;
1103 ricoh619_ldo4_reg: regulator@8 {
1104 regulator-name = "vcc_sd";
1105 regulator-min-microvolt = <3300000>;
1106 regulator-max-microvolt = <3300000>;
1107 regulator-initial-state = <3>;
1108 regulator-state-mem {
1109 regulator-state-enabled;
1110 regulator-state-uv = <3300000>;
1113 ricoh619_ldo5_reg: regulator@9 {
1114 regulator-name = "vcc_wl";
1115 regulator-min-microvolt = <1800000>;
1116 regulator-max-microvolt = <1800000>;
1117 regulator-initial-state = <3>;
1118 regulator-state-mem {
1119 regulator-state-enabled;
1120 regulator-state-uv = <1800000>;
1123 ricoh619_ldo6_reg: regulator@10 {
1124 regulator-name = "ricoh619_ldo6";
1125 regulator-min-microvolt = <1800000>;
1126 regulator-max-microvolt = <1800000>;
1127 regulator-initial-state = <3>;
1128 regulator-state-mem {
1129 regulator-state-enabled;
1130 regulator-state-uv = <1800000>;
1133 ricoh619_ldo7_reg: regulator@11 {
1134 regulator-name = "ricoh619_ldo7";
1135 regulator-min-microvolt = <1000000>;
1136 regulator-max-microvolt = <1000000>;
1137 regulator-initial-state = <3>;
1138 regulator-state-mem {
1139 regulator-state-enabled;
1140 regulator-state-uv = <1000000>;
1143 ricoh619_ldo8_reg: regulator@12 {
1144 regulator-name = "ricoh619_ldo8";
1145 regulator-min-microvolt = <3300000>;
1146 regulator-max-microvolt = <3300000>;
1147 regulator-initial-state = <3>;
1148 regulator-state-mem {
1149 regulator-state-enabled;
1150 regulator-state-uv = <3300000>;
1153 ricoh619_ldo9_reg: regulator@13 {
1154 regulator-name = "ricoh619_ldo9";
1155 regulator-min-microvolt = <1000000>;
1156 regulator-max-microvolt = <1000000>;
1157 regulator-initial-state = <3>;
1158 regulator-state-mem {
1159 regulator-state-enabled;
1160 regulator-state-uv = <1000000>;
1163 ricoh619_ldo10_reg: regulator@14 {
1164 regulator-name = "vcc_18";
1165 regulator-min-microvolt = <1800000>;
1166 regulator-max-microvolt = <1800000>;
1167 regulator-initial-state = <3>;
1168 regulator-state-mem {
1169 regulator-state-enabled;
1170 regulator-state-uv = <1800000>;
1173 ricoh619_ldortc1_reg: regulator@15 {
1174 regulator-name = "ricoh619_ldortc1";
1175 regulator-min-microvolt = < 3300000>;
1176 regulator-max-microvolt = <3300000>;
1178 ricoh619_ldortc2_reg: regulator@16 {
1179 regulator-name = "ricoh619_ldortc2";
1180 regulator-min-microvolt = < 3300000>;
1181 regulator-max-microvolt = <3300000>;
1185 /include/ "rk818.dtsi"
1187 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
1188 rk818,system-power-controller;
1192 rk818_dcdc1_reg: regulator@0{
1193 regulator-name= "vdd_logic";
1194 regulator-min-microvolt = <700000>;
1195 regulator-max-microvolt = <1500000>;
1196 regulator-initial-mode = <0x2>;
1197 regulator-initial-state = <3>;
1198 regulator-state-mem {
1199 regulator-state-mode = <0x2>;
1200 regulator-state-enabled;
1201 regulator-state-uv = <900000>;
1205 rk818_dcdc2_reg: regulator@1 {
1206 regulator-name= "rk818_dcdc2";
1207 regulator-min-microvolt = <1200000>;
1208 regulator-max-microvolt = <1200000>;
1209 regulator-initial-mode = <0x2>;
1210 regulator-initial-state = <3>;
1211 regulator-state-mem {
1212 regulator-state-mode = <0x2>;
1213 regulator-state-enabled;
1214 regulator-state-uv = <1200000>;
1218 rk818_dcdc3_reg: regulator@2 {
1219 regulator-name= "rk818_dcdc3";
1220 regulator-min-microvolt = <1200000>;
1221 regulator-max-microvolt = <1200000>;
1222 regulator-initial-mode = <0x2>;
1223 regulator-initial-state = <3>;
1224 regulator-state-mem {
1225 regulator-state-mode = <0x2>;
1226 regulator-state-enabled;
1227 regulator-state-uv = <1200000>;
1231 rk818_dcdc4_reg: regulator@3 {
1232 regulator-name= "vccio";
1233 regulator-min-microvolt = <1800000>;
1234 regulator-max-microvolt = <3300000>;
1235 regulator-initial-mode = <0x2>;
1236 regulator-initial-state = <3>;
1237 regulator-state-mem {
1238 regulator-state-mode = <0x2>;
1239 regulator-state-enabled;
1240 regulator-state-uv = <2800000>;
1244 rk818_ldo1_reg: regulator@4 {
1245 regulator-name= "rk818_ldo1";
1246 regulator-min-microvolt = <3300000>;
1247 regulator-max-microvolt = <3300000>;
1248 regulator-initial-state = <3>;
1249 regulator-state-mem {
1250 regulator-state-enabled;
1251 regulator-state-uv = <3300000>;
1255 rk818_ldo2_reg: regulator@5 {
1256 regulator-name= "rk818_ldo2";
1257 regulator-min-microvolt = <3300000>;
1258 regulator-max-microvolt = <3300000>;
1259 regulator-initial-state = <3>;
1260 regulator-state-mem {
1261 regulator-state-enabled;
1262 regulator-state-uv = <3300000>;
1266 rk818_ldo3_reg: regulator@6 {
1267 regulator-name= "rk818_ldo3";
1268 regulator-min-microvolt = <1000000>;
1269 regulator-max-microvolt = <1000000>;
1270 regulator-initial-state = <3>;
1271 regulator-state-mem {
1272 regulator-state-enabled;
1273 regulator-state-uv = <1000000>;
1277 rk818_ldo4_reg:regulator@7 {
1278 regulator-name= "rk818_ldo4";
1279 regulator-min-microvolt = <1800000>;
1280 regulator-max-microvolt = <1800000>;
1281 regulator-initial-state = <3>;
1282 regulator-state-mem {
1283 regulator-state-disabled;
1284 regulator-state-uv = <1800000>;
1288 rk818_ldo5_reg: regulator@8 {
1289 regulator-name= "rk818_ldo5";
1290 regulator-min-microvolt = <3300000>;
1291 regulator-max-microvolt = <3300000>;
1292 regulator-initial-state = <3>;
1293 regulator-state-mem {
1294 regulator-state-enabled;
1295 regulator-state-uv = <3300000>;
1299 rk818_ldo6_reg: regulator@9 {
1300 regulator-name= "rk818_ldo6";
1301 regulator-min-microvolt = <1000000>;
1302 regulator-max-microvolt = <1000000>;
1303 regulator-initial-state = <3>;
1304 regulator-state-mem {
1305 regulator-state-disabled;
1306 regulator-state-uv = <1000000>;
1310 rk818_ldo7_reg: regulator@10 {
1311 regulator-name= "rk818_ldo7";
1312 regulator-min-microvolt = <1800000>;
1313 regulator-max-microvolt = <1800000>;
1314 regulator-initial-state = <3>;
1315 regulator-state-mem {
1316 regulator-state-enabled;
1317 regulator-state-uv = <1800000>;
1321 rk818_ldo8_reg: regulator@11 {
1322 regulator-name= "rk818_ldo8";
1323 regulator-min-microvolt = <1800000>;
1324 regulator-max-microvolt = <1800000>;
1325 regulator-initial-state = <3>;
1326 regulator-state-mem {
1327 regulator-state-enabled;
1328 regulator-state-uv = <1800000>;
1331 rk818_ldo9_reg: regulator@12 {
1332 regulator-name= "vcc_sd";
1333 regulator-min-microvolt = <1800000>;
1334 regulator-max-microvolt = <3300000>;
1335 regulator-initial-state = <3>;
1336 regulator-state-mem {
1337 regulator-state-enabled;
1338 regulator-state-uv = <3300000>;
1341 rk818_ldo10_reg: regulator@13 {
1342 regulator-name= "rk818_ldo10";
1343 regulator-state-mem {
1344 regulator-state-disabled;
1349 ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
1350 design_capacity = <2100>;
1351 design_qmax = <2200>;
1352 max_overcharge = <100>;
1353 max_charge_currentma = <1500>;
1354 max_charge_voltagemv = <4260>;
1355 max_bat_voltagemv = <4200>;
1360 regulator-name = "vcc30_lcd";
1363 regulator-name = "vcc18_cif";
1366 regulator-name = "vcc_flash";
1369 regulator-name = "vcc_flash";
1372 regulator-name = "vccio_wl";
1375 regulator-name = "vccio";
1378 regulator-name = "vccio";
1381 regulator-name = "vccio";
1384 regulator-name = "vccio";
1387 regulator-name = "vcc_sd";
1392 status = "disabled";