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>;
206 rockchip,disp-mode = <DUAL>;
211 power_ctr = <&disp_power_ctr>;
212 display-timings = <&disp_timings>;
223 compatible = "rockchip,key";
224 io-channels = <&adc 1>;
229 rockchip,adc_value = <1>;
234 label = "volume down";
235 rockchip,adc_value = <170>;
239 gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
248 rockchip,adc_value = <355>;
254 rockchip,adc_value = <746>;
260 rockchip,adc_value = <560>;
266 rockchip,adc_value = <450>;
275 &clk_core_dvfs_table {
288 &clk_gpu_dvfs_table {
297 &clk_ddr_dvfs_table {
307 SYS_STATUS_NORMAL 400000
308 SYS_STATUS_SUSPEND 200000
309 SYS_STATUS_VIDEO 300000
310 SYS_STATUS_DUALVIEW 500000
314 /include/ "act8846.dtsi"
316 gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
320 dcdc1_reg: regulator@0{
321 regulator-name= "act_dcdc1";
322 regulator-min-microvolt = <1200000>;
323 regulator-max-microvolt = <1200000>;
328 dcdc2_reg: regulator@1 {
329 regulator-name= "vdd_logic";
334 dcdc3_reg: regulator@2 {
335 regulator-name= "vdd_arm";
340 dcdc4_reg: regulator@3 {
341 regulator-name= "vccio";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <3300000>;
348 ldo1_reg: regulator@4 {
349 regulator-name= "act_ldo1";
350 regulator-min-microvolt = <1000000>;
351 regulator-max-microvolt = <1000000>;
356 ldo2_reg: regulator@5 {
357 regulator-name= "act_ldo2";
358 regulator-min-microvolt = <1200000>;
359 regulator-max-microvolt = <1200000>;
364 ldo3_reg: regulator@6 {
365 regulator-name= "act_ldo3";
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
372 ldo4_reg:regulator@7 {
373 regulator-name= "act_ldo4";
374 regulator-min-microvolt = <3300000>;
375 regulator-max-microvolt = <3300000>;
380 ldo5_reg: regulator@8 {
381 regulator-name= "act_ldo5";
382 regulator-min-microvolt = <3300000>;
383 regulator-max-microvolt = <3300000>;
388 ldo6_reg: regulator@9 {
389 regulator-name= "act_ldo6";
390 regulator-min-microvolt = <3300000>;
391 regulator-max-microvolt = <3300000>;
396 ldo7_reg: regulator@10 {
397 regulator-name= "act_ldo7";
398 regulator-min-microvolt = <1800000>;
399 regulator-max-microvolt = <1800000>;
404 ldo8_reg: regulator@11 {
405 regulator-name= "act_ldo8";
406 regulator-min-microvolt = <2800000>;
407 regulator-max-microvolt = <2800000>;
413 /include/ "rk808.dtsi"
415 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
419 rk808_dcdc1_reg: regulator@0{
420 regulator-name= "vdd_arm";
425 rk808_dcdc2_reg: regulator@1 {
426 regulator-name= "vdd_logic";
431 rk808_dcdc3_reg: regulator@2 {
432 regulator-name= "rk_dcdc3";
433 regulator-min-microvolt = <1200000>;
434 regulator-max-microvolt = <1200000>;
439 rk808_dcdc4_reg: regulator@3 {
440 regulator-name= "vccio";
441 regulator-min-microvolt = <1800000>;
442 regulator-max-microvolt = <3300000>;
447 rk808_ldo1_reg: regulator@4 {
448 regulator-name= "rk_ldo1";
449 regulator-min-microvolt = <3300000>;
450 regulator-max-microvolt = <3300000>;
455 rk808_ldo2_reg: regulator@5 {
456 regulator-name= "rk_ldo2";
457 regulator-min-microvolt = <3300000>;
458 regulator-max-microvolt = <3300000>;
463 rk808_ldo3_reg: regulator@6 {
464 regulator-name= "rk_ldo3";
465 regulator-min-microvolt = <1000000>;
466 regulator-max-microvolt = <1000000>;
471 rk808_ldo4_reg:regulator@7 {
472 regulator-name= "rk_ldo4";
473 regulator-min-microvolt = <1800000>;
474 regulator-max-microvolt = <1800000>;
479 rk808_ldo5_reg: regulator@8 {
480 regulator-name= "rk_ldo5";
481 regulator-min-microvolt = <2800000>;
482 regulator-max-microvolt = <2800000>;
487 rk808_ldo6_reg: regulator@9 {
488 regulator-name= "rk_ldo6";
489 regulator-min-microvolt = <1200000>;
490 regulator-max-microvolt = <1200000>;
495 rk808_ldo7_reg: regulator@10 {
496 regulator-name= "rk_ldo7";
497 regulator-min-microvolt = <1800000>;
498 regulator-max-microvolt = <1800000>;
503 rk808_ldo8_reg: regulator@11 {
504 regulator-name= "rk_ldo8";
505 regulator-min-microvolt = <1800000>;
506 regulator-max-microvolt = <1800000>;