ARM64: dts: rockchip: enable rockchip_suspend node of rk3368-p9 and rk3368-sheep...
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3368-p9.dts
1 /*
2  * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
3  *
4  * This file is dual-licensed: you can use it either under the terms
5  * of the GPL or the X11 license, at your option. Note that this dual
6  * licensing only applies to this file, and not this project as a
7  * whole.
8  *
9  *  a) This file is free software; you can redistribute it and/or
10  *     modify it under the terms of the GNU General Public License as
11  *     published by the Free Software Foundation; either version 2 of the
12  *     License, or (at your option) any later version.
13  *
14  *     This file is distributed in the hope that it will be useful,
15  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  *     GNU General Public License for more details.
18  *
19  * Or, alternatively,
20  *
21  *  b) Permission is hereby granted, free of charge, to any person
22  *     obtaining a copy of this software and associated documentation
23  *     files (the "Software"), to deal in the Software without
24  *     restriction, including without limitation the rights to use,
25  *     copy, modify, merge, publish, distribute, sublicense, and/or
26  *     sell copies of the Software, and to permit persons to whom the
27  *     Software is furnished to do so, subject to the following
28  *     conditions:
29  *
30  *     The above copyright notice and this permission notice shall be
31  *     included in all copies or substantial portions of the Software.
32  *
33  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40  *     OTHER DEALINGS IN THE SOFTWARE.
41  */
42
43 /dts-v1/;
44 #include <dt-bindings/pwm/pwm.h>
45 #include "rk3368.dtsi"
46 #include "rk3368-android.dtsi"
47
48 / {
49         model = "Rockchip rk3368 p9 board";
50         compatible = "rockchip,p9", "rockchip,rk3368";
51
52         es8316-sound {
53                 compatible = "simple-audio-card";
54                 simple-audio-card,format = "i2s";
55                 simple-audio-card,name = "rockchip,es8316-codec";
56                 simple-audio-card,mclk-fs = <256>;
57                 simple-audio-card,widgets =
58                         "Microphone", "Mic Jack",
59                         "Headphone", "Headphone Jack";
60                 simple-audio-card,routing =
61                         "Mic Jack", "MICBIAS1",
62                         "IN1P", "Mic Jack",
63                         "Headphone Jack", "HPOL",
64                         "Headphone Jack", "HPOR";
65                 simple-audio-card,cpu {
66                         sound-dai = <&i2s_8ch>;
67                 };
68                 simple-audio-card,codec {
69                         sound-dai = <&es8316>;
70                 };
71         };
72
73         sdio_pwrseq: sdio-pwrseq {
74                 compatible = "mmc-pwrseq-simple";
75                 clocks = <&rk818 1>;
76                 clock-names = "ext_clock";
77                 pinctrl-names = "default";
78                 pinctrl-0 = <&wifi_enable_h>;
79
80                 /*
81                  * On the module itself this is one of these (depending
82                  * on the actual card populated):
83                  * - SDIO_RESET_L_WL_REG_ON
84                  * - PDN (power down when low)
85                  */
86                 reset-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* GPIO3_A4 */
87         };
88
89         backlight: backlight {
90                 compatible = "pwm-backlight";
91                 pwms = <&pwm0 0 25000 0>;
92                 brightness-levels = <
93                           0   1   2   3   4   5   6   7
94                           8   9  10  11  12  13  14  15
95                          16  17  18  19  20  21  22  23
96                          24  25  26  27  28  29  30  31
97                          32  33  34  35  36  37  38  39
98                          40  41  42  43  44  45  46  47
99                          48  49  50  51  52  53  54  55
100                          56  57  58  59  60  61  62  63
101                          64  65  66  67  68  69  70  71
102                          72  73  74  75  76  77  78  79
103                          80  81  82  83  84  85  86  87
104                          88  89  90  91  92  93  94  95
105                          96  97  98  99 100 101 102 103
106                         104 105 106 107 108 109 110 111
107                         112 113 114 115 116 117 118 119
108                         120 121 122 123 124 125 126 127
109                         128 129 130 131 132 133 134 135
110                         136 137 138 139 140 141 142 143
111                         144 145 146 147 148 149 150 151
112                         152 153 154 155 156 157 158 159
113                         160 161 162 163 164 165 166 167
114                         168 169 170 171 172 173 174 175
115                         176 177 178 179 180 181 182 183
116                         184 185 186 187 188 189 190 191
117                         192 193 194 195 196 197 198 199
118                         200 201 202 203 204 205 206 207
119                         208 209 210 211 212 213 214 215
120                         216 217 218 219 220 221 222 223
121                         224 225 226 227 228 229 230 231
122                         232 233 234 235 236 237 238 239
123                         240 241 242 243 244 245 246 247
124                         248 249 250 251 252 253 254 255>;
125                 default-brightness-level = <200>;
126                 enable-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
127         };
128
129         rk_key: rockchip-key {
130                 compatible = "rockchip,key";
131                 status = "okay";
132
133                 io-channels = <&saradc 1>;
134
135                 vol-up-key {
136                         linux,code = <115>;
137                         label = "volume up";
138                         rockchip,adc_value = <1>;
139                 };
140
141                 vol-down-key {
142                         linux,code = <114>;
143                         label = "volume down";
144                         rockchip,adc_value = <170>;
145                 };
146
147                 power-key {
148                         gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
149                         linux,code = <116>;
150                         label = "power";
151                         gpio-key,wakeup;
152                 };
153         };
154
155         wireless-wlan {
156                 compatible = "wlan-platdata";
157                 rockchip,grf = <&grf>;
158                 /* wifi_chip_type - wifi chip define
159                 * ap6210, ap6330, ap6335
160                 * rtl8188eu, rtl8723bs, rtl8723bu
161                 * esp8089
162                 */
163                 wifi_chip_type = "ap6210";
164                 sdio_vref = <1800>; //1800mv or 3300mv
165                 WIFI,host_wake_irq = <&gpio3 6 GPIO_ACTIVE_HIGH>;
166                 status = "okay";
167         };
168
169         wireless-bluetooth {
170                 compatible = "bluetooth-platdata";
171                 clocks = <&rk818 1>;
172                 clock-names = "ext_clock";
173                 uart_rts_gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
174                 pinctrl-names = "default","rts_gpio";
175                 pinctrl-0 = <&uart0_rts>;
176                 pinctrl-1 = <&uart0_rts_gpio>;
177
178                 //BT,power_gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>;
179                 BT,reset_gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
180                 BT,wake_gpio = <&gpio3 2 GPIO_ACTIVE_HIGH>;
181                 BT,wake_host_irq = <&gpio3 7 GPIO_ACTIVE_HIGH>;
182
183                 status = "okay";
184         };
185
186         vcc_sys: vcc-sys {
187                 compatible = "regulator-fixed";
188                 regulator-name = "vcc_sys";
189                 regulator-always-on;
190                 regulator-boot-on;
191                 regulator-min-microvolt = <3800000>;
192                 regulator-max-microvolt = <3800000>;
193         };
194
195         vcc_host: vcc-host {
196                 compatible = "regulator-fixed";
197                 enable-active-high;
198                 gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
199                 pinctrl-names = "default";
200                 pinctrl-0 = <&host_vbus_drv>;
201                 regulator-name = "vcc_host";
202                 regulator-always-on;
203         };
204 };
205
206 &cpu_l0 {
207         cpu-supply = <&syr827>;
208 };
209
210 &cpu_l1 {
211         cpu-supply = <&syr827>;
212 };
213
214 &cpu_l2 {
215         cpu-supply = <&syr827>;
216 };
217
218 &cpu_l3 {
219         cpu-supply = <&syr827>;
220 };
221
222 &cpu_b0 {
223         cpu-supply = <&syr827>;
224 };
225
226 &cpu_b1 {
227         cpu-supply = <&syr827>;
228 };
229
230 &cpu_b2 {
231         cpu-supply = <&syr827>;
232 };
233
234 &cpu_b3 {
235         cpu-supply = <&syr827>;
236 };
237
238 &gpu {
239         logic-supply = <&vdd_logic>;
240 };
241
242 &rockchip_suspend {
243         status = "okay";
244 };
245
246 &emmc {
247         bus-width = <8>;
248         cap-mmc-highspeed;
249         mmc-hs200-1_8v;
250         supports-emmc;
251         disable-wp;
252         non-removable;
253         num-slots = <1>;
254         pinctrl-names = "default";
255         pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
256         status = "okay";
257 };
258
259 &sdmmc {
260         clock-frequency = <37500000>;
261         clock-freq-min-max = <400000 37500000>;
262         supports-sd;
263         cap-mmc-highspeed;
264         cap-sd-highspeed;
265         card-detect-delay = <200>;
266         disable-wp;
267         num-slots = <1>;
268         pinctrl-names = "default";
269         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
270         status = "okay";
271 };
272
273 &sdio0 {
274         clock-frequency = <50000000>;
275         clock-freq-min-max = <200000 50000000>;
276         supports-sdio;
277         bus-width = <4>;
278         disable-wp;
279         cap-sd-highspeed;
280         cap-sdio-irq;
281         keep-power-in-suspend;
282         mmc-pwrseq = <&sdio_pwrseq>;
283         non-removable;
284         num-slots = <1>;
285         pinctrl-names = "default";
286         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
287         sd-uhs-sdr104;
288         status = "okay";
289 };
290
291 &i2c0 {
292         status = "okay";
293
294         syr827: syr827@40 {
295                 compatible = "silergy,syr827";
296                 status = "okay";
297                 reg = <0x40>;
298
299                 regulator-compatible = "fan53555-reg";
300                 regulator-name = "vdd_arm";
301                 regulator-min-microvolt = <712500>;
302                 regulator-max-microvolt = <1500000>;
303                 regulator-ramp-delay = <1000>;
304                 fcs,suspend-voltage-selector = <1>;
305                 regulator-always-on;
306                 regulator-boot-on;
307                 regulator-initial-state = <3>;
308                 regulator-state-mem {
309                         regulator-off-in-suspend;
310                         regulator-suspend-microvolt = <900000>;
311                 };
312         };
313
314         rk818: pmic@1c {
315                 compatible = "rockchip,rk818";
316                 status = "okay";
317                 reg = <0x1c>;
318                 clock-output-names = "xin32k", "wifibt_32kin";
319                 interrupt-parent = <&gpio0>;
320                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
321                 pinctrl-names = "default";
322                 pinctrl-0 = <&pmic_int_l>;
323                 rockchip,system-power-controller;
324                 wakeup-source;
325                 #clock-cells = <1>;
326
327                 vcc1-supply = <&vcc_sys>;
328                 vcc2-supply = <&vcc_sys>;
329                 vcc3-supply = <&vcc_sys>;
330                 vcc4-supply = <&vcc_sys>;
331                 vcc6-supply = <&vcc_sys>;
332                 vcc7-supply = <&vcc_sys>;
333                 vcc8-supply = <&vcc_sys>;
334                 vcc9-supply = <&vcc_io>;
335
336                 regulators {
337                         vdd_logic: DCDC_REG1 {
338                                 regulator-name = "vdd_logic";
339                                 regulator-always-on;
340                                 regulator-boot-on;
341                                 regulator-min-microvolt = <750000>;
342                                 regulator-max-microvolt = <1450000>;
343                                 regulator-ramp-delay = <6001>;
344                                 regulator-state-mem {
345                                         regulator-on-in-suspend;
346                                         regulator-suspend-microvolt = <1000000>;
347                                 };
348                         };
349
350                         vdd_gpu: DCDC_REG2 {
351                                 regulator-name = "vdd_gpu";
352                                 regulator-always-on;
353                                 regulator-boot-on;
354                                 regulator-min-microvolt = <800000>;
355                                 regulator-max-microvolt = <1250000>;
356                                 regulator-ramp-delay = <6001>;
357                                 regulator-state-mem {
358                                         regulator-on-in-suspend;
359                                         regulator-suspend-microvolt = <1000000>;
360                                 };
361                         };
362
363                         vcc_ddr: DCDC_REG3 {
364                                 regulator-always-on;
365                                 regulator-boot-on;
366                                 regulator-name = "vcc_ddr";
367                                 regulator-state-mem {
368                                         regulator-on-in-suspend;
369                                 };
370                         };
371
372                         vcc_io: DCDC_REG4 {
373                                 regulator-always-on;
374                                 regulator-boot-on;
375                                 regulator-min-microvolt = <3300000>;
376                                 regulator-max-microvolt = <3300000>;
377                                 regulator-name = "vcc_io";
378                                 regulator-state-mem {
379                                         regulator-on-in-suspend;
380                                         regulator-suspend-microvolt = <3300000>;
381                                 };
382                         };
383
384                         vcca_codec: LDO_REG1 {
385                                 regulator-always-on;
386                                 regulator-boot-on;
387                                 regulator-min-microvolt = <3300000>;
388                                 regulator-max-microvolt = <3300000>;
389                                 regulator-name = "vcca_codec";
390                                 regulator-state-mem {
391                                         regulator-on-in-suspend;
392                                         regulator-suspend-microvolt = <3300000>;
393                                 };
394                         };
395
396                         vcc_tp: LDO_REG2 {
397                                 regulator-boot-on;
398                                 regulator-min-microvolt = <3000000>;
399                                 regulator-max-microvolt = <3000000>;
400                                 regulator-name = "vcc_tp";
401                                 regulator-state-mem {
402                                         regulator-off-in-suspend;
403                                 };
404                         };
405
406                         vdd_10: LDO_REG3 {
407                                 regulator-always-on;
408                                 regulator-boot-on;
409                                 regulator-min-microvolt = <1000000>;
410                                 regulator-max-microvolt = <1000000>;
411                                 regulator-name = "vdd_10";
412                                 regulator-state-mem {
413                                         regulator-on-in-suspend;
414                                         regulator-suspend-microvolt = <1000000>;
415                                 };
416                         };
417
418                         vcc18_lcd: LDO_REG4 {
419                                 regulator-always-on;
420                                 regulator-boot-on;
421                                 regulator-min-microvolt = <1800000>;
422                                 regulator-max-microvolt = <1800000>;
423                                 regulator-name = "vcc18_lcd";
424                                 regulator-state-mem {
425                                         regulator-on-in-suspend;
426                                         regulator-suspend-microvolt = <1800000>;
427                                 };
428                         };
429
430                         vccio_pmu: LDO_REG5 {
431                                 regulator-always-on;
432                                 regulator-boot-on;
433                                 regulator-min-microvolt = <1800000>;
434                                 regulator-max-microvolt = <1800000>;
435                                 regulator-name = "vccio_pmu";
436                                 regulator-state-mem {
437                                         regulator-on-in-suspend;
438                                         regulator-suspend-microvolt = <1800000>;
439                                 };
440                         };
441
442                         vdd10_lcd: LDO_REG6 {
443                                 regulator-always-on;
444                                 regulator-boot-on;
445                                 regulator-min-microvolt = <1000000>;
446                                 regulator-max-microvolt = <1000000>;
447                                 regulator-name = "vdd10_lcd";
448                                 regulator-state-mem {
449                                         regulator-on-in-suspend;
450                                         regulator-suspend-microvolt = <1000000>;
451                                 };
452                         };
453
454                         vcc_18: LDO_REG7 {
455                                 regulator-always-on;
456                                 regulator-boot-on;
457                                 regulator-min-microvolt = <1800000>;
458                                 regulator-max-microvolt = <1800000>;
459                                 regulator-name = "vcc_18";
460                                 regulator-state-mem {
461                                         regulator-on-in-suspend;
462                                         regulator-suspend-microvolt = <1800000>;
463                                 };
464                         };
465
466                         vccio_wl: LDO_REG8 {
467                                 regulator-always-on;
468                                 regulator-boot-on;
469                                 regulator-min-microvolt = <1800000>;
470                                 regulator-max-microvolt = <1800000>;
471                                 regulator-name = "vccio_wl";
472                                 regulator-state-mem {
473                                         regulator-on-in-suspend;
474                                         regulator-suspend-microvolt = <1800000>;
475                                 };
476                         };
477
478                         vccio_sd: LDO_REG9 {
479                                 regulator-always-on;
480                                 regulator-boot-on;
481                                 regulator-min-microvolt = <1800000>;
482                                 regulator-max-microvolt = <3300000>;
483                                 regulator-name = "vccio_sd";
484                                 regulator-state-mem {
485                                         regulator-on-in-suspend;
486                                         regulator-suspend-microvolt = <3300000>;
487                                 };
488                         };
489
490                         vcc_sd: SWITCH_REG {
491                                 regulator-always-on;
492                                 regulator-boot-on;
493                                 regulator-name = "vcc_sd";
494                                 regulator-state-mem {
495                                         regulator-on-in-suspend;
496                                 };
497                         };
498
499                         boost_otg: DCDC_BOOST {
500                                 regulator-name = "boost_otg";
501                                 regulator-always-on;
502                                 regulator-boot-on;
503                                 regulator-min-microvolt = <5000000>;
504                                 regulator-max-microvolt = <5000000>;
505                                 regulator-state-mem {
506                                         regulator-on-in-suspend;
507                                         regulator-suspend-microvolt = <5000000>;
508                                 };
509                         };
510                 };
511
512                 battery {
513                         compatible = "rk818-battery";
514                         pinctrl-names = "default";
515                         pinctrl-0 = <&dc_irq_gpio>;
516                         ocv_table = <
517                                 3400 3650 3693 3707 3731 3749 3760
518                                 3770 3782 3796 3812 3829 3852 3882
519                                 3915 3951 3981 4047 4086 4132 4182>;
520                         design_capacity = <8650>;
521                         design_qmax = <8800>;
522                         bat_res = <85>;
523                         max_input_current = <2000>;
524                         max_chrg_current = <1800>;
525                         max_chrg_voltage = <4200>;
526                         sleep_enter_current = <600>;
527                         sleep_exit_current = <600>;
528                         power_off_thresd = <3400>;
529                         zero_algorithm_vol = <3850>;
530                         fb_temperature = <115>;
531                         sample_res = <20>;
532                         max_soc_offset = <60>;
533                         energy_mode = <0>;
534                         monitor_sec = <5>;
535                         virtual_power = <0>;
536                         power_dc2otg = <1>;
537                         support_usb_adp = <1>;
538                         support_dc_adp = <1>;
539                         dc_det_gpio = <&gpio0 17 GPIO_ACTIVE_LOW>;
540                 };
541         };
542 };
543
544 &i2c1 {
545         status = "okay";
546
547         es8316: es8316@10 {
548                 status = "okay";
549                 #sound-dai-cells = <0>;
550                 compatible = "everest,es8316";
551                 reg = <0x10>;
552                 clocks = <&cru SCLK_I2S_8CH_OUT>;
553                 clock-names = "mclk";
554                 spk-con-gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
555                 hp-det-gpio = <&gpio0 23 GPIO_ACTIVE_HIGH>;
556         };
557 };
558
559 &i2c2 {
560         status = "okay";
561
562         gt9xx: gt9xx@14 {
563                 compatible = "goodix,gt9xx";
564                 reg = <0x14>;
565                 touch-gpio = <&gpio0 12 IRQ_TYPE_LEVEL_LOW>;
566                 reset-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
567                 max-x = <1920>;
568                 max-y = <1200>;
569                 tp-size = <89>;
570                 status = "okay";
571                 tp-supply = <&vcc_tp>;
572         };
573 };
574
575 &i2c3 {
576         status = "okay";
577 };
578
579 &i2c4 {
580         status = "okay";
581         mpu6500@68 {
582                 status = "okay";
583                 compatible = "invensense,mpu6500";
584                 pinctrl-names = "default";
585                 pinctrl-0 = <&mpu6500_irq_gpio>;
586                 reg = <0x68>;
587                 irq-gpio = <&gpio3 14 IRQ_TYPE_EDGE_RISING>;
588                 mpu-int_config = <0x10>;
589                 mpu-level_shifter = <0>;
590                 mpu-orientation = <1 0 0 0 1 0 0 0 1>;
591                 orientation-x= <1>;
592                 orientation-y= <0>;
593                 orientation-z= <1>;
594                 support-hw-poweroff = <1>;
595                 mpu-debug = <1>;
596         };
597 };
598
599 &i2s_8ch {
600         status = "okay";
601         rockchip,i2s-broken-burst-len;
602         rockchip,playback-channels = <8>;
603         rockchip,capture-channels = <2>;
604         #sound-dai-cells = <0>;
605 };
606
607 &io_domains {
608         status = "okay";
609
610         dvp-supply = <&vcc_18>;
611         audio-supply = <&vcc_io>;
612         gpio30-supply = <&vcc_io>;
613         gpio1830-supply = <&vcc_io>;
614         sdcard-supply = <&vccio_sd>;
615         wifi-supply = <&vccio_wl>;
616 };
617
618 &pmu_io_domains {
619         status = "okay";
620
621         pmu-supply = <&vccio_pmu>;
622         vop-supply = <&vccio_pmu>;
623 };
624
625 &pwm0 {
626         status = "okay";
627 };
628
629 &uart0 {
630         pinctrl-names = "default";
631         pinctrl-0 = <&uart0_xfer &uart0_cts>;
632         status = "okay";
633 };
634
635 &saradc {
636         status = "okay";
637 };
638
639 &u2phy {
640         status = "okay";
641
642         u2phy_host: host-port {
643                 phy-supply = <&vcc_host>;
644                 status = "okay";
645         };
646 };
647
648 &usb_host0_ehci {
649         status = "okay";
650 };
651
652 &usb_host0_ohci {
653         status = "okay";
654 };
655
656 &mipi_dsi_host {
657         status = "okay";
658
659         dsi_panel: panel@0 {
660                 compatible = "simple-panel-dsi";
661                 reg = <0>;
662                 backlight = <&backlight>;
663                 enable-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
664                 dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>;
665                 dsi,format = <MIPI_DSI_FMT_RGB888>;
666                 dsi,lanes = <4>;
667
668                 delay,prepare = <120>;
669                 delay,enable = <200>;
670
671                 disp_timings: display-timings {
672                         native-mode = <&timing0>;
673
674                         timing0: timing0 {
675                                 clock-frequency = <145000000>;
676                                 hactive = <1920>;
677                                 vactive = <1200>;
678                                 hback-porch = <16>;
679                                 hfront-porch = <24>;
680                                 vback-porch = <10>;
681                                 vfront-porch = <16>;
682                                 hsync-len = <10>;
683                                 vsync-len = <3>;
684                                 hsync-active = <0>;
685                                 vsync-active = <0>;
686                                 de-active = <0>;
687                         };
688                 };
689         };
690 };
691
692 &mipi_dphy {
693         rockchip,dsi-panel = <&dsi_panel>;
694         status = "okay";
695 };
696
697 &route_mipi {
698         status = "okay";
699 };
700
701 &tsadc {
702         tsadc-supply = <&syr827>;
703         status = "okay";
704 };
705
706 &pinctrl {
707         pmic {
708                 pmic_int_l: pmic-int-l {
709                         rockchip,pins = <RK_GPIO0 1 RK_FUNC_GPIO &pcfg_pull_up>;
710                 };
711         };
712
713         mpu6500 {
714                 mpu6500_irq_gpio: mpu6500-irq-gpio {
715                         rockchip,pins = <3 14 RK_FUNC_GPIO &pcfg_pull_none>;
716                 };
717         };
718
719         dc_det {
720                 dc_irq_gpio: dc-irq-gpio {
721                         rockchip,pins = <0 17 RK_FUNC_GPIO &pcfg_pull_up>;
722                 };
723         };
724
725         sdio-pwrseq {
726                 wifi_enable_h: wifi-enable-h {
727                         rockchip,pins = <3 4 RK_FUNC_GPIO &pcfg_pull_none>;
728                 };
729         };
730
731         usb2 {
732                 host_vbus_drv: host-vbus-drv {
733                         rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_none>;
734                 };
735         };
736
737         wireless-bluetooth {
738                 uart0_rts_gpio: uart0-rts-gpio {
739                         rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;
740                 };
741         };
742 };
743