4 #include "lcd-b101ew05.dtsi"
8 device_type = "memory";
9 reg = <0x60000000 0x40000000>;
13 bootargs = "clk_ignore_unused";
22 compatible = "wlan-platdata";
28 pmu_regulator = "act_ldo3";
29 pmu_enable_level = <1>; //1->HIGH, 0->LOW
31 WIFI,poweren_gpio = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
32 WIFI,host_wake_irq = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
33 //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
39 compatible = "bluetooth-platdata";
41 uart_rts_gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
42 pinctrl-names = "default","rts_gpio";
43 pinctrl-0 = <&uart0_rts>;
44 pinctrl-1 = <&uart0_rts_gpio>;
46 BT,power_gpio = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>;
47 BT,reset_gpio = <&gpio3 GPIO_D1 GPIO_ACTIVE_HIGH>;
48 BT,wake_gpio = <&gpio3 GPIO_C6 GPIO_ACTIVE_HIGH>;
49 BT,wake_host_irq = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
55 compatible = "pwm-backlight";
56 pwms = <&pwm3 0 25000>;
57 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>;
58 default-brightness-level = <128>;
59 enable-gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
63 compatible = "rockchip_pwm_regulator";
64 pwms = <&pwm0 0 25000>;
66 rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
67 rockchip,pwm_voltage= <1000000>;
68 rockchip,pwm_min_voltage= <925000>;
69 rockchip,pwm_max_voltage= <1400000>;
70 rockchip,pwm_suspend_voltage= <950000>;
71 rockchip,pwm_coefficient= <475>;
75 pwm_reg0: regulator@0{
76 regulator-compatible = "pwm_dcdc1";
77 regulator-name= "vdd_gpu";
78 regulator-min-microvolt = <925000>;
79 regulator-max-microvolt = <1400000>;
87 codec_hdmi_i2s: codec-hdmi-i2s {
88 compatible = "hdmi-i2s";
91 codec_hdmi_spdif: codec-hdmi-spdif {
92 compatible = "hdmi-spdif";
96 compatible = "rockchip-rt5631";
99 audio-codec = <&rt5631>;
100 i2s-controller = <&i2s0>;
103 //bitclock-inversion;
112 compatible = "rockchip-rk610";
115 audio-codec = <&rk610_codec>;
116 i2s-controller = <&i2s0>;
119 //bitclock-inversion;
128 compatible = "rockchip-hdmi-i2s";
131 audio-codec = <&codec_hdmi_i2s>;
132 i2s-controller = <&i2s0>;
135 //bitclock-inversion;
143 rockchip-hdmi-spdif {
144 compatible = "rockchip-hdmi-spdif";
148 compatible = "rockchip,vmac-phy";
149 power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
158 rockchip,pins = <GPIO1_A2>;
159 rockchip,pull = <VALUE_PULL_UP>;
165 //could add other pinctrl definition such as gpio
171 clock-frequency = <50000000>;
172 clock-freq-min-max = <400000 50000000>;
182 clock-frequency = <50000000>;
183 lock-freq-min-max = <400000 50000000>;
188 card-detect-delay = <200>;
190 pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/
196 clock-frequency = <50000000>;
197 clock-freq-min-max = <200000 50000000>;
208 dma-names = "!tx", "!rx";
209 pinctrl-0 = <&uart0_xfer &uart0_cts>;
214 dma-names = "!tx", "!rx";
218 rockchip,timeout = <50>;
219 rockchip,debug = <1>;
225 max-freq = <48000000>;
228 compatible = "rockchip,spi_test_bus0_cs0";
230 spi-max-frequency = <24000000>;
238 compatible = "rockchip,spi_test_bus0_cs1";
240 spi-max-frequency = <24000000>;
250 max-freq = <48000000>;
253 compatible = "rockchip,spi_test_bus1_cs0";
255 spi-max-frequency = <24000000>;
262 compatible = "rockchip,spi_test_bus1_cs1";
264 spi-max-frequency = <24000000>;
276 compatible = "rt5631";
281 compatible = "rk610_ctl";
283 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
285 clock-names = "i2s_clk";
288 rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
289 compatible = "rk610_codec";
291 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
293 pa_enable_time = <1000>;
297 compatible = "gs_mma8452";
299 type = <SENSOR_TYPE_ACCEL>;
300 irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
302 poll_delay_ms = <30>;
310 compatible = "nxp,pcf8563";
314 act8846: act8846@5a {
322 bq24296: bq24296@6b {
323 compatible = "ti,bq24296";
325 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
326 bq24296,chg_current = <1000 500 2000>;
329 bq27320: bq27320@55 {
330 compatible = "ti,bq27320";
332 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
340 compatible = "goodix,gt8xx";
342 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
343 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
344 power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
349 compatible = "ct,ct36x";
352 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
353 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
356 orientation=<1 0 0 1>;
365 rockchip,disp-mode = <DUAL>;
369 display-timings = <&disp_timings>;
374 power_ctr: power_ctr {
375 rockchip,debug = <0>;
377 rockchip,power_type = <GPIO>;
378 gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
379 rockchip,delay = <10>;
383 rockchip,power_type = <GPIO>;
384 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
385 rockchip,delay = <10>;
389 rockchip,power_type = <REGULATOR>;
390 rockchip,delay = <5>;
404 compatible = "rockchip,key";
405 io-channels = <&adc 1>;
410 rockchip,adc_value = <1>;
415 label = "volume down";
416 rockchip,adc_value = <170>;
420 gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
429 rockchip,adc_value = <355>;
435 rockchip,adc_value = <746>;
441 rockchip,adc_value = <560>;
447 rockchip,adc_value = <450>;
460 &clk_core_dvfs_table {
473 &clk_gpu_dvfs_table {
482 &clk_ddr_dvfs_table {
492 SYS_STATUS_NORMAL 400000
493 SYS_STATUS_SUSPEND 200000
494 SYS_STATUS_VIDEO 300000
495 SYS_STATUS_DUALVIEW 500000
499 /include/ "act8846.dtsi"
501 gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
505 dcdc1_reg: regulator@0{
506 regulator-name= "act_dcdc1";
507 regulator-min-microvolt = <1200000>;
508 regulator-max-microvolt = <1200000>;
513 dcdc2_reg: regulator@1 {
514 regulator-name= "vdd_logic";
519 dcdc3_reg: regulator@2 {
520 regulator-name= "vdd_arm";
525 dcdc4_reg: regulator@3 {
526 regulator-name= "vccio";
527 regulator-min-microvolt = <1800000>;
528 regulator-max-microvolt = <3300000>;
533 ldo1_reg: regulator@4 {
534 regulator-name= "act_ldo1";
535 regulator-min-microvolt = <1000000>;
536 regulator-max-microvolt = <1000000>;
541 ldo2_reg: regulator@5 {
542 regulator-name= "act_ldo2";
543 regulator-min-microvolt = <1200000>;
544 regulator-max-microvolt = <1200000>;
549 ldo3_reg: regulator@6 {
550 regulator-name= "act_ldo3";
551 regulator-min-microvolt = <1800000>;
552 regulator-max-microvolt = <1800000>;
557 ldo4_reg:regulator@7 {
558 regulator-name= "act_ldo4";
559 regulator-min-microvolt = <3300000>;
560 regulator-max-microvolt = <3300000>;
565 ldo5_reg: regulator@8 {
566 regulator-name= "act_ldo5";
567 regulator-min-microvolt = <3300000>;
568 regulator-max-microvolt = <3300000>;
573 ldo6_reg: regulator@9 {
574 regulator-name= "act_ldo6";
575 regulator-min-microvolt = <3300000>;
576 regulator-max-microvolt = <3300000>;
581 ldo7_reg: regulator@10 {
582 regulator-name= "act_ldo7";
583 regulator-min-microvolt = <1800000>;
584 regulator-max-microvolt = <1800000>;
589 ldo8_reg: regulator@11 {
590 regulator-name= "act_ldo8";
591 regulator-min-microvolt = <2800000>;
592 regulator-max-microvolt = <2800000>;
599 /include/ "rk808.dtsi"
601 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
605 rk808_dcdc1_reg: regulator@0{
606 regulator-name= "vdd_arm";
611 rk808_dcdc2_reg: regulator@1 {
612 regulator-name= "vdd_logic";
617 rk808_dcdc3_reg: regulator@2 {
618 regulator-name= "rk_dcdc3";
619 regulator-min-microvolt = <1200000>;
620 regulator-max-microvolt = <1200000>;
625 rk808_dcdc4_reg: regulator@3 {
626 regulator-name= "vccio";
627 regulator-min-microvolt = <1800000>;
628 regulator-max-microvolt = <3300000>;
633 rk808_ldo1_reg: regulator@4 {
634 regulator-name= "rk_ldo1";
635 regulator-min-microvolt = <3300000>;
636 regulator-max-microvolt = <3300000>;
641 rk808_ldo2_reg: regulator@5 {
642 regulator-name= "rk_ldo2";
643 regulator-min-microvolt = <3300000>;
644 regulator-max-microvolt = <3300000>;
649 rk808_ldo3_reg: regulator@6 {
650 regulator-name= "rk_ldo3";
651 regulator-min-microvolt = <1000000>;
652 regulator-max-microvolt = <1000000>;
657 rk808_ldo4_reg:regulator@7 {
658 regulator-name= "rk_ldo4";
659 regulator-min-microvolt = <1800000>;
660 regulator-max-microvolt = <1800000>;
665 rk808_ldo5_reg: regulator@8 {
666 regulator-name= "rk_ldo5";
667 regulator-min-microvolt = <2800000>;
668 regulator-max-microvolt = <2800000>;
673 rk808_ldo6_reg: regulator@9 {
674 regulator-name= "rk_ldo6";
675 regulator-min-microvolt = <1200000>;
676 regulator-max-microvolt = <1200000>;
681 rk808_ldo7_reg: regulator@10 {
682 regulator-name= "rk_ldo7";
683 regulator-min-microvolt = <1800000>;
684 regulator-max-microvolt = <1800000>;
689 rk808_ldo8_reg: regulator@11 {
690 regulator-name= "rk_ldo8";
691 regulator-min-microvolt = <1800000>;
692 regulator-max-microvolt = <1800000>;
700 regulator-name= "vccio_wl";
703 regulator-name= "vccio";
706 regulator-name= "vcc18_cif";
709 regulator-name= "vcc_flash";
712 regulator-name= "vccio";
715 regulator-name= "vccio";
718 regulator-name= "vcc_lcd";
721 regulator-name= "vccio";