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";
147 audio-codec = <&codec_hdmi_spdif>;
148 i2s-controller = <&spdif>;
154 compatible = "rockchip,vmac-phy";
155 power-gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_HIGH>;
164 rockchip,pins = <GPIO1_A2>;
165 rockchip,pull = <VALUE_PULL_UP>;
171 //could add other pinctrl definition such as gpio
177 clock-frequency = <50000000>;
178 clock-freq-min-max = <400000 50000000>;
188 clock-frequency = <50000000>;
189 lock-freq-min-max = <400000 50000000>;
194 card-detect-delay = <200>;
196 pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/
202 clock-frequency = <50000000>;
203 clock-freq-min-max = <200000 50000000>;
214 dma-names = "!tx", "!rx";
215 pinctrl-0 = <&uart0_xfer &uart0_cts>;
220 dma-names = "!tx", "!rx";
224 rockchip,timeout = <50>;
225 rockchip,debug = <1>;
231 max-freq = <48000000>;
234 compatible = "rockchip,spi_test_bus0_cs0";
236 spi-max-frequency = <24000000>;
244 compatible = "rockchip,spi_test_bus0_cs1";
246 spi-max-frequency = <24000000>;
256 max-freq = <48000000>;
259 compatible = "rockchip,spi_test_bus1_cs0";
261 spi-max-frequency = <24000000>;
268 compatible = "rockchip,spi_test_bus1_cs1";
270 spi-max-frequency = <24000000>;
282 compatible = "rt5631";
287 compatible = "rk610_ctl";
289 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
291 clock-names = "i2s_clk";
294 rk610_codec: rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80)
295 compatible = "rk610_codec";
297 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
299 pa_enable_time = <1000>;
303 compatible = "gs_mma8452";
305 type = <SENSOR_TYPE_ACCEL>;
306 irq-gpio = <&gpio0 GPIO_B7 IRQ_TYPE_EDGE_FALLING>;
308 poll_delay_ms = <30>;
316 compatible = "nxp,pcf8563";
320 act8846: act8846@5a {
328 bq24296: bq24296@6b {
329 compatible = "ti,bq24296";
331 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
332 bq24296,chg_current = <1000 500 2000>;
335 bq27320: bq27320@55 {
336 compatible = "ti,bq27320";
338 /* gpios = <&gpio0 GPIO_A7 GPIO_ACTIVE_HIGH>; */
346 compatible = "goodix,gt8xx";
348 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
349 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
350 power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
355 compatible = "ct,ct36x";
358 touch-gpio = <&gpio1 GPIO_B7 IRQ_TYPE_LEVEL_LOW>;
359 reset-gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_HIGH>;
362 orientation=<1 0 0 1>;
371 rockchip,disp-mode = <DUAL>;
375 display-timings = <&disp_timings>;
380 power_ctr: power_ctr {
381 rockchip,debug = <0>;
383 rockchip,power_type = <GPIO>;
384 gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
385 rockchip,delay = <10>;
389 rockchip,power_type = <GPIO>;
390 gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
391 rockchip,delay = <10>;
395 rockchip,power_type = <REGULATOR>;
396 rockchip,delay = <5>;
410 compatible = "rockchip,key";
411 io-channels = <&adc 1>;
416 rockchip,adc_value = <1>;
421 label = "volume down";
422 rockchip,adc_value = <170>;
426 gpios = <&gpio0 GPIO_A4 GPIO_ACTIVE_LOW>;
435 rockchip,adc_value = <355>;
441 rockchip,adc_value = <746>;
447 rockchip,adc_value = <560>;
453 rockchip,adc_value = <450>;
466 &clk_core_dvfs_table {
479 &clk_gpu_dvfs_table {
488 &clk_ddr_dvfs_table {
498 SYS_STATUS_NORMAL 400000
499 SYS_STATUS_SUSPEND 200000
500 SYS_STATUS_VIDEO 300000
501 SYS_STATUS_DUALVIEW 500000
505 /include/ "act8846.dtsi"
507 gpios =<&gpio3 GPIO_D3 GPIO_ACTIVE_LOW>;
511 dcdc1_reg: regulator@0{
512 regulator-name= "act_dcdc1";
513 regulator-min-microvolt = <1200000>;
514 regulator-max-microvolt = <1200000>;
519 dcdc2_reg: regulator@1 {
520 regulator-name= "vdd_logic";
521 regulator-min-microvolt = <700000>;
522 regulator-max-microvolt = <1500000>;
523 regulator-initial-state = <3>;
524 regulator-state-mem {
525 regulator-state-enabled;
526 regulator-state-uv = <1200000>;
530 dcdc3_reg: regulator@2 {
531 regulator-name= "vdd_arm";
532 regulator-min-microvolt = <700000>;
533 regulator-max-microvolt = <1500000>;
534 regulator-initial-state = <3>;
535 regulator-state-mem {
536 regulator-state-enabled;
537 regulator-state-uv = <1200000>;
541 dcdc4_reg: regulator@3 {
542 regulator-name= "vccio";
543 regulator-min-microvolt = <1800000>;
544 regulator-max-microvolt = <3300000>;
545 regulator-initial-state = <3>;
546 regulator-state-mem {
547 regulator-state-enabled;
548 regulator-state-uv = <3300000>;
552 ldo1_reg: regulator@4 {
553 regulator-name= "act_ldo1";
554 regulator-min-microvolt = <1000000>;
555 regulator-max-microvolt = <1000000>;
559 ldo2_reg: regulator@5 {
560 regulator-name= "act_ldo2";
561 regulator-min-microvolt = <1200000>;
562 regulator-max-microvolt = <1200000>;
566 ldo3_reg: regulator@6 {
567 regulator-name= "act_ldo3";
568 regulator-min-microvolt = <1800000>;
569 regulator-max-microvolt = <1800000>;
573 ldo4_reg:regulator@7 {
574 regulator-name= "act_ldo4";
575 regulator-min-microvolt = <3300000>;
576 regulator-max-microvolt = <3300000>;
580 ldo5_reg: regulator@8 {
581 regulator-name= "act_ldo5";
582 regulator-min-microvolt = <3300000>;
583 regulator-max-microvolt = <3300000>;
587 ldo6_reg: regulator@9 {
588 regulator-name= "act_ldo6";
589 regulator-min-microvolt = <3300000>;
590 regulator-max-microvolt = <3300000>;
594 ldo7_reg: regulator@10 {
595 regulator-name= "act_ldo7";
596 regulator-min-microvolt = <1800000>;
597 regulator-max-microvolt = <1800000>;
601 ldo8_reg: regulator@11 {
602 regulator-name= "act_ldo8";
603 regulator-min-microvolt = <2800000>;
604 regulator-max-microvolt = <2800000>;
610 /include/ "rk808.dtsi"
612 gpios =<&gpio0 GPIO_B3 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>;
616 rk808_dcdc1_reg: regulator@0{
617 regulator-name= "vdd_arm";
622 rk808_dcdc2_reg: regulator@1 {
623 regulator-name= "vdd_logic";
628 rk808_dcdc3_reg: regulator@2 {
629 regulator-name= "rk_dcdc3";
630 regulator-min-microvolt = <1200000>;
631 regulator-max-microvolt = <1200000>;
636 rk808_dcdc4_reg: regulator@3 {
637 regulator-name= "vccio";
638 regulator-min-microvolt = <1800000>;
639 regulator-max-microvolt = <3300000>;
644 rk808_ldo1_reg: regulator@4 {
645 regulator-name= "rk_ldo1";
646 regulator-min-microvolt = <3300000>;
647 regulator-max-microvolt = <3300000>;
652 rk808_ldo2_reg: regulator@5 {
653 regulator-name= "rk_ldo2";
654 regulator-min-microvolt = <3300000>;
655 regulator-max-microvolt = <3300000>;
660 rk808_ldo3_reg: regulator@6 {
661 regulator-name= "rk_ldo3";
662 regulator-min-microvolt = <1000000>;
663 regulator-max-microvolt = <1000000>;
668 rk808_ldo4_reg:regulator@7 {
669 regulator-name= "rk_ldo4";
670 regulator-min-microvolt = <1800000>;
671 regulator-max-microvolt = <1800000>;
676 rk808_ldo5_reg: regulator@8 {
677 regulator-name= "rk_ldo5";
678 regulator-min-microvolt = <2800000>;
679 regulator-max-microvolt = <2800000>;
684 rk808_ldo6_reg: regulator@9 {
685 regulator-name= "rk_ldo6";
686 regulator-min-microvolt = <1200000>;
687 regulator-max-microvolt = <1200000>;
692 rk808_ldo7_reg: regulator@10 {
693 regulator-name= "rk_ldo7";
694 regulator-min-microvolt = <1800000>;
695 regulator-max-microvolt = <1800000>;
700 rk808_ldo8_reg: regulator@11 {
701 regulator-name= "rk_ldo8";
702 regulator-min-microvolt = <1800000>;
703 regulator-max-microvolt = <1800000>;
711 regulator-name= "vccio_wl";
714 regulator-name= "vccio";
717 regulator-name= "vcc18_cif";
720 regulator-name= "vcc_flash";
723 regulator-name= "vccio";
726 regulator-name= "vccio";
729 regulator-name= "vcc_lcd";
732 regulator-name= "vccio";