2 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
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
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.
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.
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
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
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.
45 #include "rk3399.dtsi"
46 #include "rk3399-android-next.dtsi"
47 #include <dt-bindings/sensor-dev.h>
48 #include <dt-bindings/pwm/pwm.h>
51 compatible = "rockchip,rk3399-mid", "rockchip,rk3399";
53 edp_panel: edp-panel {
54 compatible = "lg,lp079qx1-sp0v", "panel-simple";
55 backlight = <&backlight>;
56 power-supply = <&vcc3v3_s0>;
57 enable-gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
59 panel_in_edp: endpoint {
60 remote-endpoint = <&edp_out_panel>;
65 hall_sensor: hall-mh248 {
66 compatible = "hall-mh248";
67 pinctrl-names = "default";
68 pinctrl-0 = <&mh248_irq_gpio>;
69 irq-gpio = <&gpio1 2 IRQ_TYPE_EDGE_BOTH>;
75 compatible = "regulator-fixed";
76 regulator-name = "vcc_sys";
79 regulator-min-microvolt = <3900000>;
80 regulator-max-microvolt = <3900000>;
83 vcc3v3_sys: vcc3v3-sys {
84 compatible = "regulator-fixed";
85 regulator-name = "vcc3v3_sys";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
92 vcc5v0_host: vcc5v0-host-regulator {
93 compatible = "regulator-fixed";
95 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&host_vbus_drv>;
98 regulator-name = "vcc5v0_host";
102 compatible = "pwm-regulator";
103 pwms = <&pwm2 0 25000 0>;
104 rockchip,pwm_id= <2>;
105 rockchip,pwm_voltage = <900000>;
106 regulator-name = "vdd_log";
107 regulator-min-microvolt = <750000>;
108 regulator-max-microvolt = <1350000>;
113 backlight: backlight {
114 compatible = "pwm-backlight";
115 pwms = <&pwm0 0 25000 PWM_POLARITY_INVERTED>;
116 brightness-levels = <
117 0 1 51 52 52 53 53 54
118 54 55 55 56 56 57 57 58
119 58 59 59 60 61 61 62 63
120 63 64 65 65 66 67 67 68
121 69 69 70 71 71 72 73 73
122 74 75 75 76 77 77 78 79
123 79 80 80 81 81 82 83 83
124 84 85 86 86 87 88 89 89
125 90 91 92 92 93 94 95 95
126 96 97 98 98 99 100 101 101
127 102 103 104 104 105 106 107 107
128 108 109 110 110 111 112 113 113
129 114 115 116 116 117 118 119 119
130 120 121 122 122 123 124 125 125
131 126 127 128 128 129 130 131 131
132 132 133 134 134 135 136 137 137
133 138 139 140 140 141 142 143 143
134 144 145 146 146 147 148 149 149
135 150 151 152 152 153 154 155 155
136 156 157 158 158 159 160 161 161
137 162 163 164 164 165 166 167 167
138 168 169 170 170 171 172 173 173
139 174 175 176 176 177 178 179 179
140 180 181 182 182 183 184 185 185
141 186 187 188 188 189 190 191 191
142 216 217 218 218 219 220 221 221
143 222 223 224 224 225 226 227 227
144 228 229 230 230 231 232 233 233
145 234 235 236 236 237 238 239 239
146 240 241 242 242 243 244 245 245
147 246 247 248 248 249 250 251 251
148 252 253 254 254 255 255 255 255>;
149 default-brightness-level = <200>;
150 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
153 vcc_phy: vcc-phy-regulator {
154 compatible = "regulator-fixed";
155 regulator-name = "vcc_phy";
161 compatible = "rockchip,rk3399-io-voltage-domain";
162 rockchip,grf = <&grf>;
164 bt656-supply = <&vcc1v8_dvp>;
165 audio-supply = <&vcca1v8_codec>;
166 sdmmc-supply = <&vcc_sd>;
167 gpio1830-supply = <&vcc_3v0>;
171 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
172 rockchip,grf = <&pmugrf>;
174 pmu1830-supply = <&vcc_1v8>;
178 compatible = "simple-audio-card";
179 simple-audio-card,format = "i2s";
180 simple-audio-card,name = "rockchip,es8316-codec";
181 simple-audio-card,mclk-fs = <256>;
182 simple-audio-card,widgets =
183 "Microphone", "Mic Jack",
184 "Headphone", "Headphone Jack";
185 simple-audio-card,routing =
186 "Mic Jack", "MICBIAS1",
188 "Headphone Jack", "HPOL",
189 "Headphone Jack", "HPOR";
190 simple-audio-card,cpu {
193 simple-audio-card,codec {
194 sound-dai = <&es8316>;
199 compatible = "simple-audio-card";
200 simple-audio-card,name = "rockchip,spdif";
201 simple-audio-card,cpu {
202 sound-dai = <&spdif>;
204 simple-audio-card,codec {
205 sound-dai = <&spdif_out>;
209 spdif_out: spdif-out {
210 compatible = "linux,spdif-dit";
211 #sound-dai-cells = <0>;
214 sdio_pwrseq: sdio-pwrseq {
215 compatible = "mmc-pwrseq-simple";
217 clock-names = "ext_clock";
218 pinctrl-names = "default";
219 pinctrl-0 = <&wifi_enable_h>;
222 * On the module itself this is one of these (depending
223 * on the actual card populated):
224 * - SDIO_RESET_L_WL_REG_ON
225 * - PDN (power down when low)
227 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; /* GPIO0_B2 */
231 compatible = "wlan-platdata";
232 rockchip,grf = <&grf>;
233 wifi_chip_type = "ap6354";
235 WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>; /* GPIO0_a3 */
240 compatible = "bluetooth-platdata";
242 clock-names = "ext_clock";
243 //wifi-bt-power-toggle;
244 uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
245 pinctrl-names = "default", "rts_gpio";
246 pinctrl-0 = <&uart0_rts>;
247 pinctrl-1 = <&uart0_gpios>;
248 //BT,power_gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
249 BT,reset_gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
250 BT,wake_gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
251 BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
256 compatible = "rockchip,uboot-charge";
257 rockchip,uboot-charge-on = <0>;
258 rockchip,android-charge-on = <1>;
262 compatible = "rk-vibrator-gpio";
263 vibrator-gpio = <&gpio4 30 GPIO_ACTIVE_LOW>;
268 compatible = "rockchip_headset";
269 headset_gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&hp_det>;
272 io-channels = <&saradc 2>;
282 center-supply = <&vdd_center>;
284 downdifferential = <20>;
289 opp-hz = /bits/ 64 <300000000>;
290 opp-microvolt = <900000>;
293 opp-hz = /bits/ 64 <400000000>;
294 opp-microvolt = <900000>;
297 opp-hz = /bits/ 64 <528000000>;
298 opp-microvolt = <900000>;
301 opp-hz = /bits/ 64 <600000000>;
302 opp-microvolt = <900000>;
305 opp-hz = /bits/ 64 <666000000>;
306 opp-microvolt = <900000>;
313 opp-hz = /bits/ 64 <408000000>;
314 opp-microvolt = <800000>;
315 clock-latency-ns = <40000>;
318 opp-hz = /bits/ 64 <600000000>;
319 opp-microvolt = <800000>;
322 opp-hz = /bits/ 64 <816000000>;
323 opp-microvolt = <800000>;
326 opp-hz = /bits/ 64 <1008000000>;
327 opp-microvolt = <875000>;
330 opp-hz = /bits/ 64 <1200000000>;
331 opp-microvolt = <925000>;
334 opp-hz = /bits/ 64 <1416000000>;
335 opp-microvolt = <1050000>;
338 opp-hz = /bits/ 64 <1512000000>;
339 opp-microvolt = <1100000>;
346 opp-hz = /bits/ 64 <408000000>;
347 opp-microvolt = <800000>;
348 clock-latency-ns = <40000>;
351 opp-hz = /bits/ 64 <600000000>;
352 opp-microvolt = <800000>;
355 opp-hz = /bits/ 64 <816000000>;
356 opp-microvolt = <825000>;
359 opp-hz = /bits/ 64 <1008000000>;
360 opp-microvolt = <875000>;
363 opp-hz = /bits/ 64 <1200000000>;
364 opp-microvolt = <950000>;
367 opp-hz = /bits/ 64 <1416000000>;
368 opp-microvolt = <1025000>;
371 opp-hz = /bits/ 64 <1608000000>;
372 opp-microvolt = <1100000>;
375 opp-hz = /bits/ 64 <1800000000>;
376 opp-microvolt = <1175000>;
379 opp-hz = /bits/ 64 <1992000000>;
380 opp-microvolt = <1250000>;
389 518 335 /* 1008MHz */
390 617 428 /* 1200MHz */
391 728 573 /* 1416MHz */
392 827 724 /* 1608MHz */
393 925 900 /* 1800MHz */
394 1024 1108 /* 1992MHz */
425 518 335 /* 1008MHz */
426 617 428 /* 1200MHz */
427 728 573 /* 1416MHz */
428 827 724 /* 1608MHz */
429 925 900 /* 1800MHz */
430 1024 1108 /* 1992MHz */
457 compatible = "operating-points-v2";
460 opp-hz = /bits/ 64 <200000000>;
461 opp-microvolt = <825000>;
464 opp-hz = /bits/ 64 <300000000>;
465 opp-microvolt = <850000>;
468 opp-hz = /bits/ 64 <400000000>;
469 opp-microvolt = <875000>;
472 opp-hz = /bits/ 64 <500000000>;
473 opp-microvolt = <950000>;
476 opp-hz = /bits/ 64 <600000000>;
477 opp-microvolt = <1025000>;
480 opp-hz = /bits/ 64 <800000000>;
481 opp-microvolt = <1125000>;
486 compatible = "rockchip,key";
489 io-channels = <&saradc 1>;
494 rockchip,adc_value = <1>;
499 label = "volume down";
500 rockchip,adc_value = <170>;
504 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
513 rockchip,adc_value = <746>;
519 rockchip,adc_value = <355>;
525 rockchip,adc_value = <560>;
531 rockchip,adc_value = <450>;
536 clock-frequency = <50000000>;
537 clock-freq-min-max = <400000 150000000>;
545 vqmmc-supply = <&vcc_sd>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
552 clock-frequency = <150000000>;
553 clock-freq-min-max = <200000 150000000>;
559 keep-power-in-suspend;
560 mmc-pwrseq = <&sdio_pwrseq>;
563 pinctrl-names = "default";
564 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
578 keep-power-in-suspend;
579 mmc-hs400-enhanced-strobe;
585 rockchip,i2s-broken-burst-len;
586 rockchip,playback-channels = <8>;
587 rockchip,capture-channels = <8>;
588 #sound-dai-cells = <0>;
592 #sound-dai-cells = <0>;
597 #sound-dai-cells = <0>;
602 i2c-scl-rising-time-ns = <180>;
603 i2c-scl-falling-time-ns = <30>;
604 clock-frequency = <400000>;
606 vdd_cpu_b: syr837@40 {
607 compatible = "silergy,syr827";
609 vin-supply = <&vcc_sys>;
610 regulator-compatible = "fan53555-reg";
611 pinctrl-0 = <&vsel1_gpio>;
612 vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
613 regulator-name = "vdd_cpu_b";
614 regulator-min-microvolt = <712500>;
615 regulator-max-microvolt = <1500000>;
616 regulator-ramp-delay = <1000>;
617 fcs,suspend-voltage-selector = <1>;
619 regulator-initial-state = <3>;
620 regulator-state-mem {
621 regulator-off-in-suspend;
626 compatible = "silergy,syr828";
629 vin-supply = <&vcc_sys>;
630 regulator-compatible = "fan53555-reg";
631 pinctrl-0 = <&vsel2_gpio>;
632 vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
633 regulator-name = "vdd_gpu";
634 regulator-min-microvolt = <735000>;
635 regulator-max-microvolt = <1400000>;
636 regulator-ramp-delay = <1000>;
637 fcs,suspend-voltage-selector = <1>;
639 regulator-state-mem {
640 regulator-off-in-suspend;
645 compatible = "rockchip,rk818";
648 clock-output-names = "xin32k", "wifibt_32kin";
649 interrupt-parent = <&gpio1>;
650 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
651 pinctrl-names = "default";
652 pinctrl-0 = <&pmic_int_l>;
653 rockchip,system-power-controller;
654 rk818,support_dc_chg = <1>;/*1: dc chg; 0:usb chg*/
659 vcc1-supply = <&vcc_sys>;
660 vcc2-supply = <&vcc_sys>;
661 vcc3-supply = <&vcc_sys>;
662 vcc4-supply = <&vcc_sys>;
663 vcc6-supply = <&vcc_sys>;
664 vcc7-supply = <&vcc3v3_sys>;
665 vcc8-supply = <&vcc_sys>;
666 vcc9-supply = <&vcc3v3_sys>;
669 vdd_cpu_l: DCDC_REG1 {
670 regulator-name = "vdd_cpu_l";
673 regulator-min-microvolt = <750000>;
674 regulator-max-microvolt = <1350000>;
675 regulator-ramp-delay = <6001>;
676 regulator-state-mem {
677 regulator-off-in-suspend;
681 vdd_center: DCDC_REG2 {
682 regulator-name = "vdd_center";
685 regulator-min-microvolt = <800000>;
686 regulator-max-microvolt = <1350000>;
687 regulator-ramp-delay = <6001>;
688 regulator-state-mem {
689 regulator-off-in-suspend;
694 regulator-name = "vcc_ddr";
697 regulator-state-mem {
698 regulator-on-in-suspend;
703 regulator-name = "vcc_1v8";
706 regulator-min-microvolt = <1800000>;
707 regulator-max-microvolt = <1800000>;
708 regulator-state-mem {
709 regulator-on-in-suspend;
710 regulator-suspend-microvolt = <1800000>;
714 vcca3v0_codec: LDO_REG1 {
717 regulator-min-microvolt = <3000000>;
718 regulator-max-microvolt = <3000000>;
719 regulator-name = "vcca3v0_codec";
720 regulator-state-mem {
721 regulator-off-in-suspend;
725 vcc3v0_tp: LDO_REG2 {
728 regulator-min-microvolt = <3000000>;
729 regulator-max-microvolt = <3000000>;
730 regulator-name = "vcc3v0_tp";
731 regulator-state-mem {
732 regulator-off-in-suspend;
736 vcca1v8_codec: LDO_REG3 {
739 regulator-min-microvolt = <1800000>;
740 regulator-max-microvolt = <1800000>;
741 regulator-name = "vcca1v8_codec";
742 regulator-state-mem {
743 regulator-off-in-suspend;
747 vcc_power_on: LDO_REG4 {
750 regulator-min-microvolt = <3300000>;
751 regulator-max-microvolt = <3300000>;
752 regulator-name = "vcc_power_on";
753 regulator-state-mem {
754 regulator-on-in-suspend;
755 regulator-suspend-microvolt = <3300000>;
762 regulator-min-microvolt = <3000000>;
763 regulator-max-microvolt = <3000000>;
764 regulator-name = "vcc_3v0";
765 regulator-state-mem {
766 regulator-on-in-suspend;
767 regulator-suspend-microvolt = <3000000>;
774 regulator-min-microvolt = <1500000>;
775 regulator-max-microvolt = <1500000>;
776 regulator-name = "vcc_1v5";
777 regulator-state-mem {
778 regulator-on-in-suspend;
779 regulator-suspend-microvolt = <1500000>;
783 vcc1v8_dvp: LDO_REG7 {
786 regulator-min-microvolt = <1800000>;
787 regulator-max-microvolt = <1800000>;
788 regulator-name = "vcc1v8_dvp";
789 regulator-state-mem {
790 regulator-off-in-suspend;
794 vcc3v3_s3: LDO_REG8 {
797 regulator-min-microvolt = <3300000>;
798 regulator-max-microvolt = <3300000>;
799 regulator-name = "vcc3v3_s3";
800 regulator-state-mem {
801 regulator-off-in-suspend;
808 regulator-min-microvolt = <1800000>;
809 regulator-max-microvolt = <3300000>;
810 regulator-name = "vcc_sd";
811 regulator-state-mem {
812 regulator-on-in-suspend;
813 regulator-suspend-microvolt = <3300000>;
817 vcc3v3_s0: SWITCH_REG {
820 regulator-name = "vcc3v3_s0";
821 regulator-state-mem {
822 regulator-on-in-suspend;
828 compatible = "rk818-battery";
829 ocv_table = <3400 3675 3689 3716 3740 3756 3768 3780
830 3793 3807 3827 3853 3896 3937 3974 4007 4066
831 4110 4161 4217 4308>;
832 design_capacity = <7916>;
833 design_qmax = <8708>;
835 max_input_current = <3000>;
836 max_chrg_current = <3000>;
837 max_chrg_voltage = <4350>;
838 sleep_enter_current = <300>;
839 sleep_exit_current = <300>;
840 power_off_thresd = <3400>;
841 zero_algorithm_vol = <3950>;
842 fb_temperature = <105>;
844 max_soc_offset = <60>;
855 i2c-scl-rising-time-ns = <140>;
856 i2c-scl-falling-time-ns = <30>;
859 #sound-dai-cells = <0>;
860 compatible = "everest,es8316";
862 clocks = <&cru SCLK_I2S_8CH_OUT>;
863 clock-names = "mclk";
864 spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
870 i2c-scl-rising-time-ns = <345>;
871 i2c-scl-falling-time-ns = <11>;
872 clock-frequency = <400000>;
876 compatible = "lsm330_acc";
877 pinctrl-names = "default";
878 pinctrl-0 = <&lsm330a_irq_gpio>;
880 irq-gpio = <&gpio2 27 IRQ_TYPE_EDGE_RISING>;
881 type = <SENSOR_TYPE_ACCEL>;
883 poll_delay_ms = <30>;
884 power-off-in-suspend = <1>;
890 compatible = "lsm330_gyro";
891 pinctrl-names = "default";
892 pinctrl-0 = <&lsm330g_irq_gpio>;
894 irq-gpio = <&gpio1 20 IRQ_TYPE_EDGE_RISING>;
895 type = <SENSOR_TYPE_GYROSCOPE>;
897 power-off-in-suspend = <1>;
898 poll_delay_ms = <30>;
903 compatible = "invensense,mpu6500";
904 pinctrl-names = "default";
905 pinctrl-0 = <&mpu6500_irq_gpio>;
907 irq-gpio = <&gpio2 27 IRQ_TYPE_EDGE_RISING>;
908 mpu-int_config = <0x10>;
909 mpu-level_shifter = <0>;
910 mpu-orientation = <1 0 0 0 1 0 0 0 1>;
914 support-hw-poweroff = <1>;
920 compatible = "ak8963";
921 pinctrl-names = "default";
922 pinctrl-0 = <&ak8963_irq_gpio>;
924 type = <SENSOR_TYPE_COMPASS>;
925 irq-gpio = <&gpio2 28 IRQ_TYPE_EDGE_RISING>;
927 poll_delay_ms = <30>;
933 compatible = "capella,light_cm3218";
934 pinctrl-names = "default";
935 pinctrl-0 = <&cm3218_irq_gpio>;
937 type = <SENSOR_TYPE_LIGHT>;
938 irq-gpio = <&gpio4 24 IRQ_TYPE_EDGE_FALLING>;
940 poll_delay_ms = <30>;
944 compatible = "fairchild,fusb302";
946 pinctrl-names = "default";
947 pinctrl-0 = <&fusb0_int>;
948 int-n-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
955 i2c-scl-rising-time-ns = <150>;
956 i2c-scl-falling-time-ns = <30>;
957 clock-frequency = <400000>;
960 compatible = "goodix,gt9xx";
962 touch-gpio = <&gpio3 12 IRQ_TYPE_LEVEL_LOW>;
963 reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
967 tp-supply = <&vcc3v0_tp>;
972 cpu-supply = <&vdd_cpu_l>;
976 cpu-supply = <&vdd_cpu_l>;
980 cpu-supply = <&vdd_cpu_l>;
984 cpu-supply = <&vdd_cpu_l>;
988 cpu-supply = <&vdd_cpu_b>;
992 cpu-supply = <&vdd_cpu_b>;
997 mali-supply = <&vdd_gpu>;
1005 status = "disabled";
1006 max-freq = <50000000>;
1008 status = "disabled";
1009 compatible = "inv-spi,mpu6500";
1010 pinctrl-names = "default";
1011 pinctrl-0 = <&mpu6500_irq_gpio>;
1012 irq-gpio = <&gpio2 27 IRQ_TYPE_EDGE_RISING>;
1014 spi-max-frequency = <1000000>;
1017 mpu-int_config = <0x00>;
1018 mpu-level_shifter = <0>;
1019 mpu-orientation = <1 0 0 0 1 0 0 0 1>;
1023 support-hw-poweroff = <1>;
1034 rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
1035 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
1043 u2phy0_otg: otg-port {
1047 u2phy0_host: host-port {
1048 phy-supply = <&vcc5v0_host>;
1054 pinctrl-names = "default";
1055 pinctrl-0 = <&uart0_xfer &uart0_cts>;
1094 wifi_enable_h: wifi-enable-h {
1095 rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
1099 wireless-bluetooth {
1100 uart0_gpios: uart0-gpios {
1101 rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
1106 pmic_int_l: pmic-int-l {
1108 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
1111 pmic_dvs2: pmic-dvs2 {
1113 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
1115 vsel1_gpio: vsel1-gpio {
1117 <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
1119 vsel2_gpio: vsel2-gpio {
1121 <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
1126 mh248_irq_gpio: mh248-irq-gpio {
1127 rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
1133 rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_up>;
1138 lsm330a_irq_gpio: lsm330a-irq-gpio {
1139 rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;
1144 lsm330g_irq_gpio: lsm330g-irq-gpio {
1145 rockchip,pins = <1 20 RK_FUNC_GPIO &pcfg_pull_none>;
1150 mpu6500_irq_gpio: mpu6500-irq-gpio {
1151 rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;
1156 ak8963_irq_gpio: ak8963-irq-gpio {
1157 rockchip,pins = <2 28 RK_FUNC_GPIO &pcfg_pull_none>;
1162 cm3218_irq_gpio: cm3218-irq-gpio {
1163 rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_up>;
1168 host_vbus_drv: host-vbus-drv {
1170 <4 25 RK_FUNC_GPIO &pcfg_pull_none>;
1175 fusb0_int: fusb0-int {
1177 <1 1 RK_FUNC_GPIO &pcfg_pull_up>;
1187 #address-cells = <1>;
1189 edp_out_panel: endpoint@0 {
1191 remote-endpoint = <&panel_in_edp>;
1198 status = "disabled";