4 #include "lcd-b101ew05.dtsi"
12 compatible = "wlan-platdata";
18 pmu_regulator = "act_ldo3";
19 pmu_enable_level = <1>; //1->HIGH, 0->LOW
21 WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
22 WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
23 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
29 compatible = "bluetooth-platdata";
31 uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
32 pinctrl-names = "default","rts_gpio";
33 pinctrl-0 = <&uart0_rts>;
34 pinctrl-1 = <&uart0_rts_gpio>;
36 BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
37 BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
38 BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
39 BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;
45 compatible = "hall_och165t";
46 type = <SENSOR_TYPE_HALL>;
47 irq-gpio = <&gpio0 GPIO_A6 IRQ_TYPE_EDGE_BOTH>;
51 compatible = "pwm-backlight";
52 pwms = <&pwm0 0 25000>;
53 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>;
54 default-brightness-level = <128>;
55 enable-gpios = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
59 compatible = "rockchip_pwm_regulator";
60 pwms = <&pwm1 0 25000>;
62 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
63 rockchip,pwm_voltage= <1000000>;
64 rockchip,pwm_min_voltage= <925000>;
65 rockchip,pwm_max_voltage= <1400000>;
66 rockchip,pwm_suspend_voltage= <950000>;
67 rockchip,pwm_coefficient= <475>;
71 pwm_reg0: regulator@0 {
72 regulator-compatible = "pwm_dcdc1";
73 regulator-name= "vdd_logic";
74 regulator-min-microvolt = <925000>;
75 regulator-max-microvolt = <1400000>;
82 codec_hdmi_i2s: codec-hdmi-i2s {
83 compatible = "hdmi-i2s";
86 codec_hdmi_spdif: codec-hdmi-spdif {
87 compatible = "hdmi-spdif";
91 compatible = "rockchip-hdmi-i2s";
94 audio-codec = <&codec_hdmi_i2s>;
95 i2s-controller = <&i2s>;
106 rockchip-hdmi-spdif {
107 compatible = "rockchip-hdmi-spdif";
111 compatible = "rockchip-rt5631";
114 audio-codec = <&rt5631>;
115 i2s-controller = <&i2s>;
118 //bitclock-inversion;
127 compatible = "rockchip-rt3261";
130 audio-codec = <&rt3261>;
131 i2s-controller = <&i2s>;
134 //bitclock-inversion;
145 clock-frequency = <50000000>;
146 clock-freq-min-max = <400000 50000000>;
156 clock-frequency = <50000000>;
157 lock-freq-min-max = <400000 50000000>;
162 card-detect-delay = <200>;
165 vmmc-supply = <&rk808_ldo5_reg>;
170 clock-frequency = <50000000>;
171 clock-freq-min-max = <200000 50000000>;
199 bq24296: bq24296@6b {
200 compatible = "ti,bq24296";
202 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>;
203 bq24296,chg_current = <1000 500 2000>;
206 bq27320: bq27320@55 {
207 compatible = "ti,bq27320";
209 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
217 compatible = "nxp,pcf8563";
222 compatible = "gs_mma8452";
224 type = <SENSOR_TYPE_ACCEL>;
225 irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_EDGE_FALLING>;
227 poll_delay_ms = <30>;
231 compatible = "gs_lis3dh";
233 type = <SENSOR_TYPE_ACCEL>;
234 irq-gpio = <&gpio0 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
236 poll_delay_ms = <30>;
240 compatible = "ak8963";
242 type = <SENSOR_TYPE_COMPASS>;
243 irq-gpio = <&gpio8 GPIO_A2 IRQ_TYPE_EDGE_RISING>;
245 poll_delay_ms = <30>;
250 compatible = "l3g20d_gyro";
252 type = <SENSOR_TYPE_GYROSCOPE>;
253 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_LEVEL_LOW>;
255 poll_delay_ms = <30>;
259 compatible = "ls_cm3218";
261 type = <SENSOR_TYPE_LIGHT>;
262 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;
264 poll_delay_ms = <30>;
273 compatible = "rt5631";
277 compatible = "es8323";
281 compatible = "rt3261";
283 codec-en-gpio = <0>;//sdk default high level
285 modem-input-mode = <1>;
286 lout-to-modem_mode = <1>;
288 playback-if1-data_control = <0>;
289 playback-if2-data_control = <0>;
292 compatible = "rt5616";
304 compatible = "goodix,gt8xx";
306 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
307 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
308 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
314 compatible = "ct,ct36x";
317 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
318 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
321 orientation=<1 0 0 1>;
330 rockchip,disp-mode = <DUAL>;
334 display-timings = <&disp_timings>;
337 /*lcdc1 as PRMRY(LCD),lcdc0 as EXTEND(HDMI)*/
340 power_ctr: power_ctr {
341 rockchip,debug = <0>;
342 rockchip,mirror = <NO_MIRROR>;
344 rockchip,power_type = <GPIO>;
345 gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
346 rockchip,delay = <10>;
350 rockchip,power_type = <REGULATOR>;
351 rockchip,delay = <10>;
355 rockchip,power_type = <GPIO>;
356 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
357 rockchip,delay = <5>;
369 rockchips,hdmi_audio_source = <0>;
376 compatible = "rockchip,key";
377 io-channels = <&adc 1>;
382 rockchip,adc_value = <1>;
387 label = "volume down";
388 rockchip,adc_value = <170>;
392 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
401 rockchip,adc_value = <355>;
407 rockchip,adc_value = <746>;
413 rockchip,adc_value = <560>;
419 rockchip,adc_value = <450>;
433 &clk_core_dvfs_table {
443 &clk_gpu_dvfs_table {
452 &clk_ddr_dvfs_table {
462 SYS_STATUS_NORMAL 400000
463 SYS_STATUS_SUSPEND 200000
464 SYS_STATUS_VIDEO 300000
465 SYS_STATUS_DUALVIEW 500000
469 /include/ "rk808.dtsi"
471 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
475 rk808_dcdc1_reg: regulator@0{
476 regulator-name= "vdd_arm";
481 rk808_dcdc2_reg: regulator@1 {
482 regulator-name= "vdd_gpu";
487 rk808_dcdc3_reg: regulator@2 {
488 regulator-name= "rk_dcdc3";
489 regulator-min-microvolt = <1200000>;
490 regulator-max-microvolt = <1200000>;
495 rk808_dcdc4_reg: regulator@3 {
496 regulator-name= "vccio";
497 regulator-min-microvolt = <1800000>;
498 regulator-max-microvolt = <3300000>;
503 rk808_ldo1_reg: regulator@4 {
504 regulator-name= "rk_ldo1";
505 regulator-min-microvolt = <3300000>;
506 regulator-max-microvolt = <3300000>;
511 rk808_ldo2_reg: regulator@5 {
512 regulator-name= "rk_ldo2";
513 regulator-min-microvolt = <3300000>;
514 regulator-max-microvolt = <3300000>;
519 rk808_ldo3_reg: regulator@6 {
520 regulator-name= "rk_ldo3";
521 regulator-min-microvolt = <1000000>;
522 regulator-max-microvolt = <1000000>;
527 rk808_ldo4_reg:regulator@7 {
528 regulator-name= "rk_ldo4";
529 regulator-min-microvolt = <1800000>;
530 regulator-max-microvolt = <1800000>;
535 rk808_ldo5_reg: regulator@8 {
536 regulator-name= "rk_ldo5";
537 regulator-min-microvolt = <3300000>;
538 regulator-max-microvolt = <3300000>;
543 rk808_ldo6_reg: regulator@9 {
544 regulator-name= "rk_ldo6";
545 regulator-min-microvolt = <1000000>;
546 regulator-max-microvolt = <1000000>;
551 rk808_ldo7_reg: regulator@10 {
552 regulator-name= "rk_ldo7";
553 regulator-min-microvolt = <1800000>;
554 regulator-max-microvolt = <1800000>;
559 rk808_ldo8_reg: regulator@11 {
560 regulator-name= "rk_ldo8";
561 regulator-min-microvolt = <3300000>;
562 regulator-max-microvolt = <3300000>;