4 #include "rk3188-clocks.dtsi"
5 #include <dt-bindings/clock/ddr.h>
7 #include "rk3188-mmc.dtsi"
8 #include "lcd-b101ew05.dtsi"
12 device_type = "memory";
13 reg = <0x60000000 0x40000000>;
17 bootargs = "clk_ignore_unused";
25 compatible = "wlan-platdata";
31 pmu_regulator = "act_ldo3";
32 pmu_enable_level = <1>; //1->HIGH, 0->LOW
34 WIFI,poweren_gpio = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
35 WIFI,host_wake_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
36 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
42 compatible = "bluetooth-platdata";
44 support_uart_rts_ctrl;
45 uart_rts_gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&uart0_rts>;
49 BT,power_gpio = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>;
50 BT,reset_gpio = <&gpio3 GPIO_D1 GPIO_ACTIVE_HIGH>;
51 BT,wake_gpio = <&gpio3 GPIO_C6 GPIO_ACTIVE_HIGH>;
52 BT,wake_host_irq = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
58 compatible = "pwm-backlight";
59 pwms = <&pwm3 0 25000>;
60 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>;
61 default-brightness-level = <128>;
62 enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
65 codec_hdmi_i2s: codec-hdmi-i2s {
66 compatible = "hdmi-i2s";
69 codec_hdmi_spdif: codec-hdmi-spdif {
70 compatible = "hdmi-spdif";
74 compatible = "rockchip-rt5631";
77 audio-codec = <&rt5631>;
78 i2s-controller = <&i2s0>;
90 compatible = "rockchip-rk610";
93 audio-codec = <&rk610_codec>;
94 i2s-controller = <&i2s0>;
106 compatible = "rockchip-hdmi-i2s";
109 audio-codec = <&codec_hdmi_i2s>;
110 i2s-controller = <&i2s0>;
113 //bitclock-inversion;
121 rockchip-hdmi-spdif {
122 compatible = "rockchip-hdmi-spdif";
126 compatible = "rockchip,vmac-phy";
127 power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
133 dma-names = "!tx", "!rx";
139 dma-names = "!tx", "!rx";
143 rockchip,timeout = <50>;
144 rockchip,debug = <1>;
151 compatible = "rt5631";
156 compatible = "rk610_ctl";
158 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
160 clock-names = "i2s_clk";
163 rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
164 compatible = "rk610_codec";
166 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
168 pa_enable_time = <1000>;
172 compatible = "gs_mma8452";
174 type = <SENSOR_TYPE_ACCEL>;
175 irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
177 poll_delay_ms = <30>;
185 compatible = "nxp,pcf8563";
189 act8846: act8846@5a {
202 compatible = "goodix,gt8xx";
204 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
205 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
206 power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
211 compatible = "ct,ct36x";
214 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
215 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
218 orientation=<1 0 0 1>;
227 rockchip,disp-mode = <DUAL>;
232 power_ctr = <&disp_power_ctr>;
233 display-timings = <&disp_timings>;
244 compatible = "rockchip,key";
245 io-channels = <&adc 1>;
250 rockchip,adc_value = <1>;
255 label = "volume down";
256 rockchip,adc_value = <170>;
260 gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
269 rockchip,adc_value = <355>;
275 rockchip,adc_value = <746>;
281 rockchip,adc_value = <560>;
287 rockchip,adc_value = <450>;
296 &clk_core_dvfs_table {
309 &clk_gpu_dvfs_table {
318 &clk_ddr_dvfs_table {
328 SYS_STATUS_NORMAL 400000
329 SYS_STATUS_SUSPEND 200000
330 SYS_STATUS_VIDEO 300000
331 SYS_STATUS_DUALVIEW 500000
335 /include/ "act8846.dtsi"
337 gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
341 dcdc1_reg: regulator@0{
342 regulator-name= "act_dcdc1";
343 regulator-min-microvolt = <1200000>;
344 regulator-max-microvolt = <1200000>;
349 dcdc2_reg: regulator@1 {
350 regulator-name= "vdd_logic";
355 dcdc3_reg: regulator@2 {
356 regulator-name= "vdd_arm";
361 dcdc4_reg: regulator@3 {
362 regulator-name= "vccio";
363 regulator-min-microvolt = <1800000>;
364 regulator-max-microvolt = <3300000>;
369 ldo1_reg: regulator@4 {
370 regulator-name= "act_ldo1";
371 regulator-min-microvolt = <1000000>;
372 regulator-max-microvolt = <1000000>;
377 ldo2_reg: regulator@5 {
378 regulator-name= "act_ldo2";
379 regulator-min-microvolt = <1200000>;
380 regulator-max-microvolt = <1200000>;
385 ldo3_reg: regulator@6 {
386 regulator-name= "act_ldo3";
387 regulator-min-microvolt = <1800000>;
388 regulator-max-microvolt = <1800000>;
393 ldo4_reg:regulator@7 {
394 regulator-name= "act_ldo4";
395 regulator-min-microvolt = <3300000>;
396 regulator-max-microvolt = <3300000>;
401 ldo5_reg: regulator@8 {
402 regulator-name= "act_ldo5";
403 regulator-min-microvolt = <3300000>;
404 regulator-max-microvolt = <3300000>;
409 ldo6_reg: regulator@9 {
410 regulator-name= "act_ldo6";
411 regulator-min-microvolt = <3300000>;
412 regulator-max-microvolt = <3300000>;
417 ldo7_reg: regulator@10 {
418 regulator-name= "act_ldo7";
419 regulator-min-microvolt = <1800000>;
420 regulator-max-microvolt = <1800000>;
425 ldo8_reg: regulator@11 {
426 regulator-name= "act_ldo8";
427 regulator-min-microvolt = <2800000>;
428 regulator-max-microvolt = <2800000>;
434 /include/ "rk808.dtsi"
436 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
440 rk808_dcdc1_reg: regulator@0{
441 regulator-name= "vdd_arm";
446 rk808_dcdc2_reg: regulator@1 {
447 regulator-name= "vdd_logic";
452 rk808_dcdc3_reg: regulator@2 {
453 regulator-name= "rk_dcdc3";
454 regulator-min-microvolt = <1200000>;
455 regulator-max-microvolt = <1200000>;
460 rk808_dcdc4_reg: regulator@3 {
461 regulator-name= "vccio";
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <3300000>;
468 rk808_ldo1_reg: regulator@4 {
469 regulator-name= "rk_ldo1";
470 regulator-min-microvolt = <3300000>;
471 regulator-max-microvolt = <3300000>;
476 rk808_ldo2_reg: regulator@5 {
477 regulator-name= "rk_ldo2";
478 regulator-min-microvolt = <3300000>;
479 regulator-max-microvolt = <3300000>;
484 rk808_ldo3_reg: regulator@6 {
485 regulator-name= "rk_ldo3";
486 regulator-min-microvolt = <1000000>;
487 regulator-max-microvolt = <1000000>;
492 rk808_ldo4_reg:regulator@7 {
493 regulator-name= "rk_ldo4";
494 regulator-min-microvolt = <1800000>;
495 regulator-max-microvolt = <1800000>;
500 rk808_ldo5_reg: regulator@8 {
501 regulator-name= "rk_ldo5";
502 regulator-min-microvolt = <2800000>;
503 regulator-max-microvolt = <2800000>;
508 rk808_ldo6_reg: regulator@9 {
509 regulator-name= "rk_ldo6";
510 regulator-min-microvolt = <1200000>;
511 regulator-max-microvolt = <1200000>;
516 rk808_ldo7_reg: regulator@10 {
517 regulator-name= "rk_ldo7";
518 regulator-min-microvolt = <1800000>;
519 regulator-max-microvolt = <1800000>;
524 rk808_ldo8_reg: regulator@11 {
525 regulator-name= "rk_ldo8";
526 regulator-min-microvolt = <1800000>;
527 regulator-max-microvolt = <1800000>;