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>;
56 brightness_invert = <0>;
60 compatible = "rockchip_pwm_regulator";
61 pwms = <&pwm1 0 25000>;
63 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
64 rockchip,pwm_voltage= <1000000>;
65 rockchip,pwm_min_voltage= <925000>;
66 rockchip,pwm_max_voltage= <1400000>;
67 rockchip,pwm_suspend_voltage= <950000>;
68 rockchip,pwm_coefficient= <475>;
72 pwm_reg0: regulator@0 {
73 regulator-compatible = "pwm_dcdc1";
74 regulator-name= "vdd_logic";
75 regulator-min-microvolt = <925000>;
76 regulator-max-microvolt = <1400000>;
83 codec_hdmi_i2s: codec-hdmi-i2s {
84 compatible = "hdmi-i2s";
87 codec_hdmi_spdif: codec-hdmi-spdif {
88 compatible = "hdmi-spdif";
92 compatible = "rockchip-hdmi-i2s";
95 audio-codec = <&codec_hdmi_i2s>;
96 i2s-controller = <&i2s>;
107 rockchip-hdmi-spdif {
108 compatible = "rockchip-hdmi-spdif";
111 audio-codec = <&codec_hdmi_spdif>;
112 i2s-controller = <&spdif>;
115 //bitclock-inversion;
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>;
157 //bitclock-inversion;
168 clock-frequency = <50000000>;
169 clock-freq-min-max = <400000 50000000>;
179 clock-frequency = <50000000>;
180 lock-freq-min-max = <400000 50000000>;
185 card-detect-delay = <200>;
188 vmmc-supply = <&rk808_ldo5_reg>;
193 clock-frequency = <50000000>;
194 clock-freq-min-max = <200000 50000000>;
205 max-freq = <48000000>;
208 compatible = "rockchip,spi_test_bus0_cs0";
210 spi-max-frequency = <24000000>;
218 compatible = "rockchip,spi_test_bus0_cs1";
220 spi-max-frequency = <24000000>;
230 max-freq = <48000000>;
233 compatible = "rockchip,spi_test_bus1_cs0";
235 spi-max-frequency = <24000000>;
242 compatible = "rockchip,spi_test_bus1_cs1";
244 spi-max-frequency = <24000000>;
254 max-freq = <48000000>;
257 compatible = "rockchip,spi_test_bus2_cs0";
259 spi-max-frequency = <24000000>;
266 compatible = "rockchip,spi_test_bus2_cs1";
268 spi-max-frequency = <24000000>;
283 bq24296: bq24296@6b {
284 compatible = "ti,bq24296";
286 gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
287 bq24296,chg_current = <1000 2000 3000>;
290 bq27320: bq27320@55 {
291 compatible = "ti,bq27320";
293 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
298 compatible = "cw201x";
300 dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
301 bat_low_gpio = <&gpio0 GPIO_A7 GPIO_ACTIVE_LOW>;
302 chg_ok_gpio = <&gpio0 GPIO_B1 GPIO_ACTIVE_HIGH>;
303 bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32
304 0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52
305 0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB
306 0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>;
315 compatible = "nxp,pcf8563";
320 compatible = "gs_mma8452";
322 type = <SENSOR_TYPE_ACCEL>;
323 irq-gpio = <&gpio8 GPIO_A0 IRQ_TYPE_EDGE_FALLING>;
325 poll_delay_ms = <30>;
329 compatible = "gs_lis3dh";
331 type = <SENSOR_TYPE_ACCEL>;
332 irq-gpio = <&gpio0 GPIO_A0 IRQ_TYPE_LEVEL_LOW>;
334 poll_delay_ms = <30>;
338 compatible = "ak8963";
340 type = <SENSOR_TYPE_COMPASS>;
341 irq-gpio = <&gpio8 GPIO_A2 IRQ_TYPE_EDGE_RISING>;
343 poll_delay_ms = <30>;
348 compatible = "l3g20d_gyro";
350 type = <SENSOR_TYPE_GYROSCOPE>;
351 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_LEVEL_LOW>;
353 poll_delay_ms = <30>;
357 compatible = "ls_cm3218";
359 type = <SENSOR_TYPE_LIGHT>;
360 irq-gpio = <&gpio8 GPIO_A3 IRQ_TYPE_EDGE_FALLING>;
362 poll_delay_ms = <30>;
371 compatible = "rt5631";
375 compatible = "es8323";
379 compatible = "rt3261";
381 // codec-en-gpio = <0>;//sdk default high level
383 modem-input-mode = <1>;
384 lout-to-modem_mode = <1>;
386 playback-if1-data_control = <0>;
387 playback-if2-data_control = <0>;
390 compatible = "rt5616";
402 compatible = "goodix,gt8xx";
404 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
405 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
406 //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
412 compatible = "ct,ct36x";
415 touch-gpio = <&gpio7 GPIO_A6 IRQ_TYPE_LEVEL_LOW>;
416 reset-gpio = <&gpio7 GPIO_A5 GPIO_ACTIVE_HIGH>;
419 orientation=<1 0 0 1>;
428 rockchip,disp-mode = <DUAL>;
432 display-timings = <&disp_timings>;
435 /*lcdc1 as PRMRY(LCD),lcdc0 as EXTEND(HDMI)*/
438 power_ctr: power_ctr {
439 rockchip,debug = <0>;
440 rockchip,mirror = <NO_MIRROR>;
442 rockchip,power_type = <GPIO>;
443 gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
444 rockchip,delay = <10>;
448 rockchip,power_type = <GPIO>;
449 gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
450 rockchip,delay = <10>;
454 rockchip,power_type = <GPIO>;
455 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
456 rockchip,delay = <5>;
468 rockchips,hdmi_audio_source = <0>;
475 compatible = "rockchip,key";
476 io-channels = <&adc 1>;
481 rockchip,adc_value = <1>;
486 label = "volume down";
487 rockchip,adc_value = <170>;
491 gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
500 rockchip,adc_value = <355>;
506 rockchip,adc_value = <746>;
512 rockchip,adc_value = <560>;
518 rockchip,adc_value = <450>;
532 &clk_core_dvfs_table {
542 &clk_gpu_dvfs_table {
552 &clk_ddr_dvfs_table {
562 SYS_STATUS_NORMAL 400000
563 SYS_STATUS_SUSPEND 200000
564 SYS_STATUS_VIDEO 300000
565 SYS_STATUS_DUALVIEW 500000
569 /include/ "rk808.dtsi"
571 gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
575 rk808_dcdc1_reg: regulator@0{
576 regulator-name= "vdd_arm";
581 rk808_dcdc2_reg: regulator@1 {
582 regulator-name= "vdd_gpu";
587 rk808_dcdc3_reg: regulator@2 {
588 regulator-name= "rk_dcdc3";
589 regulator-min-microvolt = <1200000>;
590 regulator-max-microvolt = <1200000>;
595 rk808_dcdc4_reg: regulator@3 {
596 regulator-name= "vccio";
597 regulator-min-microvolt = <1800000>;
598 regulator-max-microvolt = <3300000>;
603 rk808_ldo1_reg: regulator@4 {
604 regulator-name= "rk_ldo1";
605 regulator-min-microvolt = <3300000>;
606 regulator-max-microvolt = <3300000>;
611 rk808_ldo2_reg: regulator@5 {
612 regulator-name= "rk_ldo2";
613 regulator-min-microvolt = <3300000>;
614 regulator-max-microvolt = <3300000>;
619 rk808_ldo3_reg: regulator@6 {
620 regulator-name= "rk_ldo3";
621 regulator-min-microvolt = <1000000>;
622 regulator-max-microvolt = <1000000>;
627 rk808_ldo4_reg:regulator@7 {
628 regulator-name= "rk_ldo4";
629 regulator-min-microvolt = <1800000>;
630 regulator-max-microvolt = <1800000>;
635 rk808_ldo5_reg: regulator@8 {
636 regulator-name= "rk_ldo5";
637 regulator-min-microvolt = <3300000>;
638 regulator-max-microvolt = <3300000>;
643 rk808_ldo6_reg: regulator@9 {
644 regulator-name= "rk_ldo6";
645 regulator-min-microvolt = <1000000>;
646 regulator-max-microvolt = <1000000>;
651 rk808_ldo7_reg: regulator@10 {
652 regulator-name= "rk_ldo7";
653 regulator-min-microvolt = <1800000>;
654 regulator-max-microvolt = <1800000>;
659 rk808_ldo8_reg: regulator@11 {
660 regulator-name= "rk_ldo8";
661 regulator-min-microvolt = <3300000>;
662 regulator-max-microvolt = <3300000>;