4 #include "lcd-b101ew05.dtsi"
12 bootargs = "vmalloc=512M clk_ignore_unused";
16 compatible = "rockchip,rk3126-usb-control";
17 host_drv_gpio = <&gpio2 GPIO_B4 GPIO_ACTIVE_LOW>;
18 otg_drv_gpio = <&gpio2 GPIO_B6 GPIO_ACTIVE_LOW>;
20 rockchip,remote_wakeup;
21 rockchip,usb_irq_wakeup;
24 pwm_regulator1:pwm-regulator1 {
25 compatible = "rockchip_pwm_regulator";
26 pwms = <&pwm1 0 25000>;
28 rockchip,pwm_voltage_map= <950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000 1425000 1450000>;
29 rockchip,pwm_voltage= <1250000>;
30 rockchip,pwm_min_voltage= <950000>;
31 rockchip,pwm_max_voltage= <1450000>;
32 rockchip,pwm_suspend_voltage= <1250000>;
33 rockchip,pwm_coefficient= <550>;
38 pwm_reg0: regulator@0 {
39 regulator-compatible = "pwm_dcdc1";
40 regulator-name= "vdd_arm";
41 regulator-min-microvolt = <950000>;
42 regulator-max-microvolt = <1450000>;
49 pwm_regulator2:pwm-regulator2 {
50 compatible = "rockchip_pwm_regulator";
51 pwms = <&pwm2 0 25000>;
53 rockchip,pwm_voltage_map= <950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000 1425000 1450000>;
54 rockchip,pwm_voltage= <1200000>;
55 rockchip,pwm_min_voltage= <950000>;
56 rockchip,pwm_max_voltage= <1450000>;
57 rockchip,pwm_suspend_voltage= <1250000>;
58 rockchip,pwm_coefficient= <550>;
63 pwm_reg1: regulator@1 {
64 regulator-compatible = "pwm_dcdc2";
65 regulator-name= "vdd_logic";
66 regulator-min-microvolt = <950000>;
67 regulator-max-microvolt = <1450000>;
77 status = "okay"; // used nand set "okay" ,used emmc set "disabled"
81 status = "disabled"; // used nand set "disabled" ,used emmc set "okay"
85 clock-frequency = <100000000>;
86 clock-freq-min-max = <400000 100000000>;
93 keep-power-in-suspend;
99 clock-frequency = <50000000>;
100 clock-freq-min-max = <400000 50000000>;
103 cd-gpios = <&gpio2 GPIO_A7 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
105 card-detect-delay = <200>;
107 keep-power-in-suspend;
108 vmmc-supply = <&rk818_ldo9_reg>;
113 clock-frequency = <50000000>;
114 clock-freq-min-max = <200000 50000000>;
118 keep-power-in-suspend;
127 compatible = "rockchip,key";
128 io-channels = <&adc 1>;
133 rockchip,adc_value = <327>;
138 label = "volume down";
139 rockchip,adc_value = <426>;
143 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
152 rockchip,adc_value = <1>;
158 rockchip,adc_value = <746>;
164 rockchip,adc_value = <103>;
170 rockchip,adc_value = <450>;
186 compatible = "goodix,gt8xx";
188 touch-gpio = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
189 reset-gpio = <&gpio2 GPIO_C1 GPIO_ACTIVE_LOW>;
190 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
196 compatible = "ct,vtl_ts";
198 screen_max_x = <1280>;
199 screen_max_y = <800>;
200 irq_gpio_number = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>;
201 rst_gpio_number = <&gpio2 GPIO_C1 GPIO_ACTIVE_HIGH>;
207 rockchip,disp-mode = <ONE_DUAL>;
208 rockchip,uboot-logo-on = <0>;
212 display-timings = <&disp_timings>;
219 /include/ "rk818.dtsi"
221 gpios =<&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>,<&gpio1 GPIO_A1 GPIO_ACTIVE_LOW>;
222 rk818,system-power-controller;
223 rk818,support_dc_chg = <1>;/*1: dc chg; 0:usb chg*/
227 rk818_dcdc1_reg: regulator@0{
228 regulator-name= "vdd_arm";
229 regulator-min-microvolt = <700000>;
230 regulator-max-microvolt = <1500000>;
231 regulator-initial-mode = <0x2>;
232 regulator-initial-state = <3>;
233 regulator-state-mem {
234 regulator-state-mode = <0x2>;
235 regulator-state-enabled;
236 regulator-state-uv = <900000>;
240 rk818_dcdc2_reg: regulator@1 {
241 regulator-name= "vdd_logic";
242 regulator-min-microvolt = <700000>;
243 regulator-max-microvolt = <1500000>;
244 regulator-initial-mode = <0x2>;
245 regulator-initial-state = <3>;
246 regulator-state-mem {
247 regulator-state-mode = <0x2>;
248 regulator-state-enabled;
249 regulator-state-uv = <900000>;
253 rk818_dcdc3_reg: regulator@2 {
254 regulator-name= "rk818_dcdc3";
255 regulator-min-microvolt = <1200000>;
256 regulator-max-microvolt = <1200000>;
257 regulator-initial-mode = <0x2>;
258 regulator-initial-state = <3>;
259 regulator-state-mem {
260 regulator-state-mode = <0x2>;
261 regulator-state-disabled;
262 regulator-state-uv = <1200000>;
266 rk818_dcdc4_reg: regulator@3 {
267 regulator-name= "vccio";
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <3300000>;
270 regulator-initial-mode = <0x2>;
271 regulator-initial-state = <3>;
272 regulator-state-mem {
273 regulator-state-mode = <0x2>;
274 regulator-state-disabled;
275 regulator-state-uv = <2800000>;
279 rk818_ldo1_reg: regulator@4 {
280 regulator-name= "rk818_ldo1";
281 regulator-min-microvolt = <3300000>;
282 regulator-max-microvolt = <3300000>;
283 regulator-initial-state = <3>;
284 regulator-state-mem {
285 regulator-state-disabled;
286 regulator-state-uv = <3300000>;
290 rk818_ldo2_reg: regulator@5 {
291 regulator-name= "rk818_ldo2";
292 regulator-min-microvolt = <3000000>;
293 regulator-max-microvolt = <3000000>;
294 regulator-initial-state = <3>;
295 regulator-state-mem {
296 regulator-state-disabled;
297 regulator-state-uv = <3000000>;
301 rk818_ldo3_reg: regulator@6 {
302 regulator-name= "rk818_ldo3";
303 regulator-min-microvolt = <1100000>;
304 regulator-max-microvolt = <1100000>;
305 regulator-initial-state = <3>;
306 regulator-state-mem {
307 regulator-state-disabled;
308 regulator-state-uv = <1100000>;
312 rk818_ldo4_reg:regulator@7 {
313 regulator-name= "rk818_ldo4";
314 regulator-min-microvolt = <2500000>;
315 regulator-max-microvolt = <2500000>;
316 regulator-initial-state = <3>;
317 regulator-state-mem {
318 regulator-state-disabled;
319 regulator-state-uv = <2500000>;
323 rk818_ldo5_reg: regulator@8 {
324 regulator-name= "rk818_ldo5";
325 regulator-min-microvolt = <3000000>;
326 regulator-max-microvolt = <3000000>;
327 regulator-initial-state = <3>;
328 regulator-state-mem {
329 regulator-state-disabled;
330 regulator-state-uv = <3000000>;
334 rk818_ldo6_reg: regulator@9 {
335 regulator-name= "rk818_ldo6";
336 regulator-min-microvolt = <1200000>;
337 regulator-max-microvolt = <1200000>;
338 regulator-initial-state = <3>;
339 regulator-state-mem {
340 regulator-state-disabled;
341 regulator-state-uv = <1200000>;
345 rk818_ldo7_reg: regulator@10 {
346 regulator-name= "rk818_ldo7";
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
349 regulator-initial-state = <3>;
350 regulator-state-mem {
351 regulator-state-disabled;
352 regulator-state-uv = <1800000>;
356 rk818_ldo8_reg: regulator@11 {
357 regulator-name= "rk818_ldo8";
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <1800000>;
360 regulator-initial-state = <3>;
361 regulator-state-mem {
362 regulator-state-disabled;
363 regulator-state-uv = <1800000>;
366 rk818_ldo9_reg: regulator@12 {
367 regulator-name= "vcc_sd";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <3000000>;
370 regulator-initial-state = <3>;
371 regulator-state-mem {
372 regulator-state-disabled;
373 regulator-state-uv = <3000000>;
376 rk818_ldo10_reg: regulator@13 {
377 regulator-name= "rk818_ldo10";
378 regulator-state-mem {
379 regulator-state-disabled;
384 ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
385 design_capacity = <2100>;
386 design_qmax = <2200>;
387 max_overcharge = <100>;
388 max_charge_currentmA = <1500>;
389 max_charge_voltagemV = <4260>;
390 max_bat_voltagemV = <4200>;
394 &clk_core_dvfs_table {
406 &clk_gpu_dvfs_table {
415 &clk_ddr_dvfs_table {
426 SYS_STATUS_NORMAL 400000
427 SYS_STATUS_SUSPEND 200000
428 SYS_STATUS_VIDEO_1080P 240000
429 SYS_STATUS_VIDEO_4K 400000
430 SYS_STATUS_PERFORMANCE 528000
431 SYS_STATUS_DUALVIEW 400000
432 SYS_STATUS_BOOST 324000
433 SYS_STATUS_ISP 533000