4 #include "lcd-b101ew05.dtsi"
8 device_type = "memory";
9 reg = <0x60000000 0x40000000>;
13 bootargs = "clk_ignore_unused";
22 compatible = "wlan-platdata";
28 pmu_regulator = "act_ldo3";
29 pmu_enable_level = <1>; //1->HIGH, 0->LOW
31 WIFI,poweren_gpio = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
32 WIFI,host_wake_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
33 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
39 compatible = "bluetooth-platdata";
41 uart_rts_gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
42 pinctrl-names = "default","rts_gpio";
43 pinctrl-0 = <&uart0_rts>;
44 pinctrl-1 = <&uart0_rts_gpio>;
46 BT,power_gpio = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>;
47 BT,reset_gpio = <&gpio3 GPIO_D1 GPIO_ACTIVE_HIGH>;
48 BT,wake_gpio = <&gpio3 GPIO_C6 GPIO_ACTIVE_HIGH>;
49 BT,wake_host_irq = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
55 compatible = "pwm-backlight";
56 pwms = <&pwm3 0 25000>;
57 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>;
58 default-brightness-level = <128>;
59 enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
63 compatible = "rockchip_pwm_regulator";
64 pwms = <&pwm0 0 25000>;
66 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
67 rockchip,pwm_voltage= <1000000>;
68 rockchip,pwm_min_voltage= <925000>;
69 rockchip,pwm_max_voltage= <1400000>;
70 rockchip,pwm_suspend_voltage= <950000>;
71 rockchip,pwm_coefficient= <475>;
75 pwm_reg0: regulator@0{
76 regulator-compatible = "pwm_dcdc1";
77 regulator-name= "vdd_gpu";
78 regulator-min-microvolt = <925000>;
79 regulator-max-microvolt = <1400000>;
87 codec_hdmi_i2s: codec-hdmi-i2s {
88 compatible = "hdmi-i2s";
91 codec_hdmi_spdif: codec-hdmi-spdif {
92 compatible = "hdmi-spdif";
96 compatible = "rockchip-rt5631";
99 audio-codec = <&rt5631>;
100 i2s-controller = <&i2s0>;
103 //bitclock-inversion;
112 compatible = "rockchip-rk610";
115 audio-codec = <&rk610_codec>;
116 i2s-controller = <&i2s0>;
119 //bitclock-inversion;
128 compatible = "rockchip-hdmi-i2s";
131 audio-codec = <&codec_hdmi_i2s>;
132 i2s-controller = <&i2s0>;
135 //bitclock-inversion;
143 rockchip-hdmi-spdif {
144 compatible = "rockchip-hdmi-spdif";
148 compatible = "rockchip,vmac-phy";
149 power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
156 clock-frequency = <50000000>;
157 clock-freq-min-max = <400000 50000000>;
167 clock-frequency = <50000000>;
168 lock-freq-min-max = <400000 50000000>;
173 card-detect-delay = <200>;
175 pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/
181 clock-frequency = <50000000>;
182 clock-freq-min-max = <200000 50000000>;
193 dma-names = "!tx", "!rx";
194 pinctrl-0 = <&uart0_xfer &uart0_cts>;
199 dma-names = "!tx", "!rx";
203 rockchip,timeout = <50>;
204 rockchip,debug = <1>;
210 max-freq = <24000000>;
213 compatible = "rockchip,spi_test_bus0_cs0";
215 spi-max-frequency = <12000000>;
223 compatible = "rockchip,spi_test_bus0_cs1";
225 spi-max-frequency = <12000000>;
235 max-freq = <24000000>;
238 compatible = "rockchip,spi_test_bus1_cs0";
240 spi-max-frequency = <12000000>;
247 compatible = "rockchip,spi_test_bus1_cs1";
249 spi-max-frequency = <12000000>;
261 compatible = "rt5631";
266 compatible = "rk610_ctl";
268 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
270 clock-names = "i2s_clk";
273 rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
274 compatible = "rk610_codec";
276 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
278 pa_enable_time = <1000>;
282 compatible = "gs_mma8452";
284 type = <SENSOR_TYPE_ACCEL>;
285 irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
287 poll_delay_ms = <30>;
295 compatible = "nxp,pcf8563";
299 act8846: act8846@5a {
307 bq24296: bq24296@6b {
308 compatible = "ti,bq24296";
310 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
311 bq24296,chg_current = <1000 500 2000>;
314 bq27320: bq27320@55 {
315 compatible = "ti,bq27320";
317 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
325 compatible = "goodix,gt8xx";
327 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
328 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
329 power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
334 compatible = "ct,ct36x";
337 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
338 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
341 orientation=<1 0 0 1>;
350 rockchip,disp-mode = <DUAL>;
354 display-timings = <&disp_timings>;
359 power_ctr: power_ctr {
360 rockchip,debug = <0>;
362 rockchip,power_type = <GPIO>;
363 gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
364 rockchip,delay = <10>;
368 rockchip,power_type = <GPIO>;
369 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
370 rockchip,delay = <10>;
374 rockchip,power_type = <REGULATOR>;
375 rockchip,delay = <5>;
389 compatible = "rockchip,key";
390 io-channels = <&adc 1>;
395 rockchip,adc_value = <1>;
400 label = "volume down";
401 rockchip,adc_value = <170>;
405 gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
414 rockchip,adc_value = <355>;
420 rockchip,adc_value = <746>;
426 rockchip,adc_value = <560>;
432 rockchip,adc_value = <450>;
445 &clk_core_dvfs_table {
458 &clk_gpu_dvfs_table {
467 &clk_ddr_dvfs_table {
477 SYS_STATUS_NORMAL 400000
478 SYS_STATUS_SUSPEND 200000
479 SYS_STATUS_VIDEO 300000
480 SYS_STATUS_DUALVIEW 500000
484 /include/ "act8846.dtsi"
486 gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
490 dcdc1_reg: regulator@0{
491 regulator-name= "act_dcdc1";
492 regulator-min-microvolt = <1200000>;
493 regulator-max-microvolt = <1200000>;
498 dcdc2_reg: regulator@1 {
499 regulator-name= "vdd_logic";
504 dcdc3_reg: regulator@2 {
505 regulator-name= "vdd_arm";
510 dcdc4_reg: regulator@3 {
511 regulator-name= "vccio";
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <3300000>;
518 ldo1_reg: regulator@4 {
519 regulator-name= "act_ldo1";
520 regulator-min-microvolt = <1000000>;
521 regulator-max-microvolt = <1000000>;
526 ldo2_reg: regulator@5 {
527 regulator-name= "act_ldo2";
528 regulator-min-microvolt = <1200000>;
529 regulator-max-microvolt = <1200000>;
534 ldo3_reg: regulator@6 {
535 regulator-name= "act_ldo3";
536 regulator-min-microvolt = <1800000>;
537 regulator-max-microvolt = <1800000>;
542 ldo4_reg:regulator@7 {
543 regulator-name= "act_ldo4";
544 regulator-min-microvolt = <3300000>;
545 regulator-max-microvolt = <3300000>;
550 ldo5_reg: regulator@8 {
551 regulator-name= "act_ldo5";
552 regulator-min-microvolt = <3300000>;
553 regulator-max-microvolt = <3300000>;
558 ldo6_reg: regulator@9 {
559 regulator-name= "act_ldo6";
560 regulator-min-microvolt = <3300000>;
561 regulator-max-microvolt = <3300000>;
566 ldo7_reg: regulator@10 {
567 regulator-name= "act_ldo7";
568 regulator-min-microvolt = <1800000>;
569 regulator-max-microvolt = <1800000>;
574 ldo8_reg: regulator@11 {
575 regulator-name= "act_ldo8";
576 regulator-min-microvolt = <2800000>;
577 regulator-max-microvolt = <2800000>;
584 /include/ "rk808.dtsi"
586 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
590 rk808_dcdc1_reg: regulator@0{
591 regulator-name= "vdd_arm";
596 rk808_dcdc2_reg: regulator@1 {
597 regulator-name= "vdd_logic";
602 rk808_dcdc3_reg: regulator@2 {
603 regulator-name= "rk_dcdc3";
604 regulator-min-microvolt = <1200000>;
605 regulator-max-microvolt = <1200000>;
610 rk808_dcdc4_reg: regulator@3 {
611 regulator-name= "vccio";
612 regulator-min-microvolt = <1800000>;
613 regulator-max-microvolt = <3300000>;
618 rk808_ldo1_reg: regulator@4 {
619 regulator-name= "rk_ldo1";
620 regulator-min-microvolt = <3300000>;
621 regulator-max-microvolt = <3300000>;
626 rk808_ldo2_reg: regulator@5 {
627 regulator-name= "rk_ldo2";
628 regulator-min-microvolt = <3300000>;
629 regulator-max-microvolt = <3300000>;
634 rk808_ldo3_reg: regulator@6 {
635 regulator-name= "rk_ldo3";
636 regulator-min-microvolt = <1000000>;
637 regulator-max-microvolt = <1000000>;
642 rk808_ldo4_reg:regulator@7 {
643 regulator-name= "rk_ldo4";
644 regulator-min-microvolt = <1800000>;
645 regulator-max-microvolt = <1800000>;
650 rk808_ldo5_reg: regulator@8 {
651 regulator-name= "rk_ldo5";
652 regulator-min-microvolt = <2800000>;
653 regulator-max-microvolt = <2800000>;
658 rk808_ldo6_reg: regulator@9 {
659 regulator-name= "rk_ldo6";
660 regulator-min-microvolt = <1200000>;
661 regulator-max-microvolt = <1200000>;
666 rk808_ldo7_reg: regulator@10 {
667 regulator-name= "rk_ldo7";
668 regulator-min-microvolt = <1800000>;
669 regulator-max-microvolt = <1800000>;
674 rk808_ldo8_reg: regulator@11 {
675 regulator-name= "rk_ldo8";
676 regulator-min-microvolt = <1800000>;
677 regulator-max-microvolt = <1800000>;
685 regulator-name= "vccio_wl";
688 regulator-name= "vccio";
691 regulator-name= "vcc18_cif";
694 regulator-name= "vcc_flash";
697 regulator-name= "vccio";
700 regulator-name= "vccio";
703 regulator-name= "vcc_lcd";
706 regulator-name= "vccio";