4 #include "rk3188-clocks.dtsi"
5 #include "lcd-b101ew05.dtsi"
6 #include "rk3188-mmc.dtsi"
7 #include <dt-bindings/clock/ddr.h>
10 device_type = "memory";
11 reg = <0x60000000 0x40000000>;
15 bootargs = "clk_ignore_unused";
23 compatible = "wlan-platdata";
28 power_ctrl_by_pmu = "false";
29 pmu_regulator = "act_ldo3";
30 pmu_enable_level = <1>; //1->HIGH, 0->LOW
35 pin-func = "wlan_poweren";
36 gpios = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
40 pin-func = "wlan_reset";
41 #gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
45 pin-func = "wlan_wake_host_irq";
46 gpios = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
52 compatible = "pwm-backlight";
53 pwms = <&pwm3 0 25000>;
54 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>;
55 default-brightness-level = <128>;
56 enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
59 codec_hdmi_i2s: codec-hdmi-i2s {
60 compatible = "hdmi-i2s";
63 codec_hdmi_spdif: codec-hdmi-spdif {
64 compatible = "hdmi-spdif";
68 compatible = "rockchip-rt5631";
71 codec-of-node = <&rt5631>;
72 cpu-of-node = <&i2s0>;
84 compatible = "rockchip-rk610";
87 codec-of-node = <&rk610_codec>;
88 cpu-of-node = <&i2s0>;
100 compatible = "rockchip-hdmi-i2s";
103 codec-of-node = <&codec_hdmi_i2s>;
104 cpu-of-node = <&i2s0>;
107 //bitclock-inversion;
115 rockchip-hdmi-spdif {
116 compatible = "rockchip-hdmi-spdif";
122 dma-names = "!tx", "!rx";
128 dma-names = "!tx", "!rx";
132 rockchip,timeout = <50>;
133 rockchip,debug = <1>;
140 compatible = "rt5631";
145 compatible = "rk610_ctl";
147 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
149 clock-names = "i2s_clk";
152 rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
153 compatible = "rk610_codec";
155 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
157 pa_enable_time = <1000>;
161 compatible = "gs_mma8452";
163 type = <SENSOR_TYPE_ACCEL>;
164 irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
166 poll_delay_ms = <30>;
174 compatible = "nxp,pcf8563";
178 act8846: act8846@5a {
191 compatible = "goodix,gt8xx";
193 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
194 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
195 power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
200 compatible = "ct,ct36x";
203 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
204 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
207 orientation=<1 0 0 1>;
216 rockchip,disp-mode = <DUAL>;
221 power_ctr = <&disp_power_ctr>;
222 display-timings = <&disp_timings>;
233 compatible = "rockchip,key";
234 io-channels = <&adc 1>;
239 rockchip,adc_value = <1>;
244 label = "volume down";
245 rockchip,adc_value = <170>;
249 gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
258 rockchip,adc_value = <355>;
264 rockchip,adc_value = <746>;
270 rockchip,adc_value = <560>;
276 rockchip,adc_value = <450>;
285 &clk_core_dvfs_table {
298 &clk_gpu_dvfs_table {
307 &clk_ddr_dvfs_table {
317 SYS_STATUS_NORMAL 400000
318 SYS_STATUS_SUSPEND 200000
319 SYS_STATUS_VIDEO 300000
320 SYS_STATUS_DUALVIEW 500000
324 /include/ "act8846.dtsi"
326 gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
330 dcdc1_reg: regulator@0{
331 regulator-name= "act_dcdc1";
332 regulator-min-microvolt = <1200000>;
333 regulator-max-microvolt = <1200000>;
338 dcdc2_reg: regulator@1 {
339 regulator-name= "vdd_logic";
344 dcdc3_reg: regulator@2 {
345 regulator-name= "vdd_arm";
350 dcdc4_reg: regulator@3 {
351 regulator-name= "vccio";
352 regulator-min-microvolt = <1800000>;
353 regulator-max-microvolt = <3300000>;
358 ldo1_reg: regulator@4 {
359 regulator-name= "act_ldo1";
360 regulator-min-microvolt = <1000000>;
361 regulator-max-microvolt = <1000000>;
366 ldo2_reg: regulator@5 {
367 regulator-name= "act_ldo2";
368 regulator-min-microvolt = <1200000>;
369 regulator-max-microvolt = <1200000>;
374 ldo3_reg: regulator@6 {
375 regulator-name= "act_ldo3";
376 regulator-min-microvolt = <1800000>;
377 regulator-max-microvolt = <1800000>;
382 ldo4_reg:regulator@7 {
383 regulator-name= "act_ldo4";
384 regulator-min-microvolt = <3300000>;
385 regulator-max-microvolt = <3300000>;
390 ldo5_reg: regulator@8 {
391 regulator-name= "act_ldo5";
392 regulator-min-microvolt = <3300000>;
393 regulator-max-microvolt = <3300000>;
398 ldo6_reg: regulator@9 {
399 regulator-name= "act_ldo6";
400 regulator-min-microvolt = <3300000>;
401 regulator-max-microvolt = <3300000>;
406 ldo7_reg: regulator@10 {
407 regulator-name= "act_ldo7";
408 regulator-min-microvolt = <1800000>;
409 regulator-max-microvolt = <1800000>;
414 ldo8_reg: regulator@11 {
415 regulator-name= "act_ldo8";
416 regulator-min-microvolt = <2800000>;
417 regulator-max-microvolt = <2800000>;
423 /include/ "rk808.dtsi"
425 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
429 rk808_dcdc1_reg: regulator@0{
430 regulator-name= "vdd_arm";
435 rk808_dcdc2_reg: regulator@1 {
436 regulator-name= "vdd_logic";
441 rk808_dcdc3_reg: regulator@2 {
442 regulator-name= "rk_dcdc3";
443 regulator-min-microvolt = <1200000>;
444 regulator-max-microvolt = <1200000>;
449 rk808_dcdc4_reg: regulator@3 {
450 regulator-name= "vccio";
451 regulator-min-microvolt = <1800000>;
452 regulator-max-microvolt = <3300000>;
457 rk808_ldo1_reg: regulator@4 {
458 regulator-name= "rk_ldo1";
459 regulator-min-microvolt = <3300000>;
460 regulator-max-microvolt = <3300000>;
465 rk808_ldo2_reg: regulator@5 {
466 regulator-name= "rk_ldo2";
467 regulator-min-microvolt = <3300000>;
468 regulator-max-microvolt = <3300000>;
473 rk808_ldo3_reg: regulator@6 {
474 regulator-name= "rk_ldo3";
475 regulator-min-microvolt = <1000000>;
476 regulator-max-microvolt = <1000000>;
481 rk808_ldo4_reg:regulator@7 {
482 regulator-name= "rk_ldo4";
483 regulator-min-microvolt = <1800000>;
484 regulator-max-microvolt = <1800000>;
489 rk808_ldo5_reg: regulator@8 {
490 regulator-name= "rk_ldo5";
491 regulator-min-microvolt = <2800000>;
492 regulator-max-microvolt = <2800000>;
497 rk808_ldo6_reg: regulator@9 {
498 regulator-name= "rk_ldo6";
499 regulator-min-microvolt = <1200000>;
500 regulator-max-microvolt = <1200000>;
505 rk808_ldo7_reg: regulator@10 {
506 regulator-name= "rk_ldo7";
507 regulator-min-microvolt = <1800000>;
508 regulator-max-microvolt = <1800000>;
513 rk808_ldo8_reg: regulator@11 {
514 regulator-name= "rk_ldo8";
515 regulator-min-microvolt = <1800000>;
516 regulator-max-microvolt = <1800000>;