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.dtsi"
47 #include <dt-bindings/sensor-dev.h>
48 #include <dt-bindings/pwm/pwm.h>
51 compatible = "rockchip,rk3399-mid", "rockchip,rk3399";
53 hall_sensor: hall-mh248 {
54 compatible = "hall-mh248";
55 pinctrl-names = "default";
56 pinctrl-0 = <&mh248_irq_gpio>;
57 irq-gpio = <&gpio1 2 IRQ_TYPE_EDGE_BOTH>;
63 compatible = "regulator-fixed";
64 regulator-name = "vcc_sys";
67 regulator-min-microvolt = <3900000>;
68 regulator-max-microvolt = <3900000>;
71 vcc3v3_sys: vcc3v3-sys {
72 compatible = "regulator-fixed";
73 regulator-name = "vcc3v3_sys";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
80 vcc5v0_host: vcc5v0-host-regulator {
81 compatible = "regulator-fixed";
83 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&host_vbus_drv>;
86 regulator-name = "vcc5v0_host";
90 compatible = "pwm-regulator";
91 pwms = <&pwm2 0 25000 0>;
93 rockchip,pwm_voltage = <900000>;
94 regulator-name = "vdd_log";
95 regulator-min-microvolt = <750000>;
96 regulator-max-microvolt = <1350000>;
101 backlight: backlight {
102 compatible = "pwm-backlight";
103 pwms = <&vop0_pwm 0 25000 PWM_POLARITY_INVERTED>;
104 brightness-levels = <
105 0 255 51 51 52 53 53 54
106 54 55 56 56 57 57 58 59
107 59 60 60 61 62 62 63 63
108 64 65 65 66 66 67 68 68
109 69 69 70 71 71 72 72 73
110 74 74 75 75 76 77 77 78
111 78 79 80 80 81 81 82 83
112 83 84 85 85 86 86 87 88
113 88 89 89 90 91 91 92 92
114 93 94 94 95 95 96 97 97
115 98 98 99 100 100 101 101 102
116 103 103 104 104 105 106 106 107
117 107 108 109 109 110 110 111 112
118 112 113 113 114 114 115 116 116
119 117 118 118 119 119 120 120 121
120 122 122 123 123 124 125 125 126
121 126 127 128 128 129 129 130 131
122 131 132 132 133 133 134 135 135
123 136 137 138 138 139 140 140 141
124 141 142 143 143 144 144 145 146
125 146 147 148 148 149 149 149 150
126 150 151 151 151 152 152 152 153
127 153 153 154 154 155 156 156 157
128 157 158 159 159 160 160 161 161
129 162 163 163 164 165 165 166 166
130 167 168 168 169 169 170 171 171
131 172 172 173 174 174 175 175 176
132 176 177 178 178 179 179 180 181
133 181 182 183 183 184 185 185 186
134 186 187 188 188 189 189 190 190
135 191 191 192 193 193 194 194 195
136 196 197 197 198 199 199 200 200>;
137 default-brightness-level = <200>;
138 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
141 vcc_phy: vcc-phy-regulator {
142 compatible = "regulator-fixed";
143 regulator-name = "vcc_phy";
149 compatible = "rockchip,rk3399-io-voltage-domain";
150 rockchip,grf = <&grf>;
152 bt656-supply = <&vcc1v8_dvp>;
153 audio-supply = <&vcca1v8_codec>;
154 sdmmc-supply = <&vcc_sd>;
155 gpio1830-supply = <&vcc_3v0>;
159 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
160 rockchip,grf = <&pmugrf>;
162 pmu1830-supply = <&vcc_1v8>;
166 compatible = "simple-audio-card";
167 simple-audio-card,format = "i2s";
168 simple-audio-card,name = "rockchip,es8316-codec";
169 simple-audio-card,mclk-fs = <256>;
170 simple-audio-card,widgets =
171 "Microphone", "Mic Jack",
172 "Headphone", "Headphone Jack";
173 simple-audio-card,routing =
174 "Mic Jack", "MICBIAS1",
176 "Headphone Jack", "HPOL",
177 "Headphone Jack", "HPOR";
178 simple-audio-card,cpu {
181 simple-audio-card,codec {
182 sound-dai = <&es8316>;
187 compatible = "simple-audio-card";
188 simple-audio-card,name = "rockchip,spdif";
189 simple-audio-card,cpu {
190 sound-dai = <&spdif>;
192 simple-audio-card,codec {
193 sound-dai = <&spdif_out>;
197 spdif_out: spdif-out {
198 compatible = "linux,spdif-dit";
199 #sound-dai-cells = <0>;
202 sdio_pwrseq: sdio-pwrseq {
203 compatible = "mmc-pwrseq-simple";
205 clock-names = "ext_clock";
206 pinctrl-names = "default";
207 pinctrl-0 = <&wifi_enable_h>;
210 * On the module itself this is one of these (depending
211 * on the actual card populated):
212 * - SDIO_RESET_L_WL_REG_ON
213 * - PDN (power down when low)
215 reset-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; /* GPIO0_B2 */
219 compatible = "wlan-platdata";
220 rockchip,grf = <&grf>;
221 wifi_chip_type = "ap6354";
223 WIFI,host_wake_irq = <&gpio0 3 GPIO_ACTIVE_HIGH>; /* GPIO0_a3 */
228 compatible = "bluetooth-platdata";
230 clock-names = "ext_clock";
231 //wifi-bt-power-toggle;
232 uart_rts_gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; /* GPIO2_C3 */
233 pinctrl-names = "default", "rts_gpio";
234 pinctrl-0 = <&uart0_rts>;
235 pinctrl-1 = <&uart0_gpios>;
236 //BT,power_gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; /* GPIOx_xx */
237 BT,reset_gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; /* GPIO0_B1 */
238 BT,wake_gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; /* GPIO2_D2 */
239 BT,wake_host_irq = <&gpio0 4 GPIO_ACTIVE_HIGH>; /* GPIO0_A4 */
244 compatible = "rockchip,uboot-charge";
245 rockchip,uboot-charge-on = <0>;
246 rockchip,android-charge-on = <1>;
250 compatible = "rk-vibrator-gpio";
251 vibrator-gpio = <&gpio4 30 GPIO_ACTIVE_LOW>;
262 center-supply = <&vdd_center>;
264 downdifferential = <20>;
269 opp-hz = /bits/ 64 <300000000>;
270 opp-microvolt = <900000>;
273 opp-hz = /bits/ 64 <400000000>;
274 opp-microvolt = <900000>;
277 opp-hz = /bits/ 64 <528000000>;
278 opp-microvolt = <900000>;
281 opp-hz = /bits/ 64 <600000000>;
282 opp-microvolt = <900000>;
285 opp-hz = /bits/ 64 <666000000>;
286 opp-microvolt = <900000>;
293 opp-hz = /bits/ 64 <408000000>;
294 opp-microvolt = <800000>;
295 clock-latency-ns = <40000>;
298 opp-hz = /bits/ 64 <600000000>;
299 opp-microvolt = <800000>;
302 opp-hz = /bits/ 64 <816000000>;
303 opp-microvolt = <800000>;
306 opp-hz = /bits/ 64 <1008000000>;
307 opp-microvolt = <875000>;
310 opp-hz = /bits/ 64 <1200000000>;
311 opp-microvolt = <925000>;
314 opp-hz = /bits/ 64 <1416000000>;
315 opp-microvolt = <1050000>;
318 opp-hz = /bits/ 64 <1512000000>;
319 opp-microvolt = <1100000>;
326 opp-hz = /bits/ 64 <408000000>;
327 opp-microvolt = <800000>;
328 clock-latency-ns = <40000>;
331 opp-hz = /bits/ 64 <600000000>;
332 opp-microvolt = <800000>;
335 opp-hz = /bits/ 64 <816000000>;
336 opp-microvolt = <825000>;
339 opp-hz = /bits/ 64 <1008000000>;
340 opp-microvolt = <875000>;
343 opp-hz = /bits/ 64 <1200000000>;
344 opp-microvolt = <950000>;
347 opp-hz = /bits/ 64 <1416000000>;
348 opp-microvolt = <1025000>;
351 opp-hz = /bits/ 64 <1608000000>;
352 opp-microvolt = <1100000>;
355 opp-hz = /bits/ 64 <1800000000>;
356 opp-microvolt = <1175000>;
359 opp-hz = /bits/ 64 <1992000000>;
360 opp-microvolt = <1250000>;
369 518 335 /* 1008MHz */
370 617 428 /* 1200MHz */
371 728 573 /* 1416MHz */
372 827 724 /* 1608MHz */
373 925 900 /* 1800MHz */
374 1024 1108 /* 1992MHz */
405 518 335 /* 1008MHz */
406 617 428 /* 1200MHz */
407 728 573 /* 1416MHz */
408 827 724 /* 1608MHz */
409 925 900 /* 1800MHz */
410 1024 1108 /* 1992MHz */
437 compatible = "operating-points-v2";
440 opp-hz = /bits/ 64 <200000000>;
441 opp-microvolt = <825000>;
444 opp-hz = /bits/ 64 <300000000>;
445 opp-microvolt = <850000>;
448 opp-hz = /bits/ 64 <400000000>;
449 opp-microvolt = <875000>;
452 opp-hz = /bits/ 64 <500000000>;
453 opp-microvolt = <950000>;
456 opp-hz = /bits/ 64 <600000000>;
457 opp-microvolt = <1025000>;
460 opp-hz = /bits/ 64 <800000000>;
461 opp-microvolt = <1125000>;
466 compatible = "rockchip,key";
469 io-channels = <&saradc 1>;
474 rockchip,adc_value = <1>;
479 label = "volume down";
480 rockchip,adc_value = <170>;
484 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
493 rockchip,adc_value = <746>;
499 rockchip,adc_value = <355>;
505 rockchip,adc_value = <560>;
511 rockchip,adc_value = <450>;
516 clock-frequency = <50000000>;
517 clock-freq-min-max = <400000 150000000>;
525 vqmmc-supply = <&vcc_sd>;
526 pinctrl-names = "default";
527 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
532 clock-frequency = <150000000>;
533 clock-freq-min-max = <200000 150000000>;
539 keep-power-in-suspend;
540 mmc-pwrseq = <&sdio_pwrseq>;
543 pinctrl-names = "default";
544 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
550 freq-sel = <200000000>;
561 mmc-hs400-enhanced-strobe;
567 rockchip,i2s-broken-burst-len;
568 rockchip,playback-channels = <8>;
569 rockchip,capture-channels = <8>;
570 #sound-dai-cells = <0>;
574 #sound-dai-cells = <0>;
579 #sound-dai-cells = <0>;
584 i2c-scl-rising-time-ns = <180>;
585 i2c-scl-falling-time-ns = <30>;
586 clock-frequency = <400000>;
588 vdd_cpu_b: syr837@40 {
589 compatible = "silergy,syr827";
591 vin-supply = <&vcc_sys>;
592 regulator-compatible = "fan53555-reg";
593 pinctrl-0 = <&vsel1_gpio>;
594 vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
595 regulator-name = "vdd_cpu_b";
596 regulator-min-microvolt = <712500>;
597 regulator-max-microvolt = <1500000>;
598 regulator-ramp-delay = <1000>;
599 fcs,suspend-voltage-selector = <1>;
601 regulator-initial-state = <3>;
602 regulator-state-mem {
603 regulator-off-in-suspend;
608 compatible = "silergy,syr828";
611 vin-supply = <&vcc_sys>;
612 regulator-compatible = "fan53555-reg";
613 pinctrl-0 = <&vsel2_gpio>;
614 vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
615 regulator-name = "vdd_gpu";
616 regulator-min-microvolt = <735000>;
617 regulator-max-microvolt = <1400000>;
618 regulator-ramp-delay = <1000>;
619 fcs,suspend-voltage-selector = <1>;
621 regulator-state-mem {
622 regulator-off-in-suspend;
627 compatible = "rockchip,rk818";
630 clock-output-names = "xin32k", "wifibt_32kin";
631 interrupt-parent = <&gpio1>;
632 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
633 pinctrl-names = "default";
634 pinctrl-0 = <&pmic_int_l>;
635 rockchip,system-power-controller;
636 rk818,support_dc_chg = <1>;/*1: dc chg; 0:usb chg*/
641 vcc1-supply = <&vcc_sys>;
642 vcc2-supply = <&vcc_sys>;
643 vcc3-supply = <&vcc_sys>;
644 vcc4-supply = <&vcc_sys>;
645 vcc6-supply = <&vcc_sys>;
646 vcc7-supply = <&vcc3v3_sys>;
647 vcc8-supply = <&vcc_sys>;
648 vcc9-supply = <&vcc3v3_sys>;
651 vdd_cpu_l: DCDC_REG1 {
652 regulator-name = "vdd_cpu_l";
655 regulator-min-microvolt = <750000>;
656 regulator-max-microvolt = <1350000>;
657 regulator-ramp-delay = <6001>;
658 regulator-state-mem {
659 regulator-off-in-suspend;
663 vdd_center: DCDC_REG2 {
664 regulator-name = "vdd_center";
667 regulator-min-microvolt = <800000>;
668 regulator-max-microvolt = <1350000>;
669 regulator-ramp-delay = <6001>;
670 regulator-state-mem {
671 regulator-off-in-suspend;
676 regulator-name = "vcc_ddr";
679 regulator-state-mem {
680 regulator-on-in-suspend;
685 regulator-name = "vcc_1v8";
688 regulator-min-microvolt = <1800000>;
689 regulator-max-microvolt = <1800000>;
690 regulator-state-mem {
691 regulator-on-in-suspend;
692 regulator-suspend-microvolt = <1800000>;
696 vcca3v0_codec: LDO_REG1 {
699 regulator-min-microvolt = <3000000>;
700 regulator-max-microvolt = <3000000>;
701 regulator-name = "vcca3v0_codec";
702 regulator-state-mem {
703 regulator-off-in-suspend;
707 vcc3v0_tp: LDO_REG2 {
710 regulator-min-microvolt = <3000000>;
711 regulator-max-microvolt = <3000000>;
712 regulator-name = "vcc3v0_tp";
713 regulator-state-mem {
714 regulator-off-in-suspend;
718 vcca1v8_codec: LDO_REG3 {
721 regulator-min-microvolt = <1800000>;
722 regulator-max-microvolt = <1800000>;
723 regulator-name = "vcca1v8_codec";
724 regulator-state-mem {
725 regulator-off-in-suspend;
729 vcc_power_on: LDO_REG4 {
732 regulator-min-microvolt = <3300000>;
733 regulator-max-microvolt = <3300000>;
734 regulator-name = "vcc_power_on";
735 regulator-state-mem {
736 regulator-on-in-suspend;
737 regulator-suspend-microvolt = <3300000>;
744 regulator-min-microvolt = <3000000>;
745 regulator-max-microvolt = <3000000>;
746 regulator-name = "vcc_3v0";
747 regulator-state-mem {
748 regulator-off-in-suspend;
755 regulator-min-microvolt = <1500000>;
756 regulator-max-microvolt = <1500000>;
757 regulator-name = "vcc_1v5";
758 regulator-state-mem {
759 regulator-off-in-suspend;
763 vcc1v8_dvp: LDO_REG7 {
766 regulator-min-microvolt = <1800000>;
767 regulator-max-microvolt = <1800000>;
768 regulator-name = "vcc1v8_dvp";
769 regulator-state-mem {
770 regulator-off-in-suspend;
774 vcc3v3_s3: LDO_REG8 {
777 regulator-min-microvolt = <3300000>;
778 regulator-max-microvolt = <3300000>;
779 regulator-name = "vcc3v3_s3";
780 regulator-state-mem {
781 regulator-off-in-suspend;
788 regulator-min-microvolt = <1800000>;
789 regulator-max-microvolt = <3300000>;
790 regulator-name = "vcc_sd";
791 regulator-state-mem {
792 regulator-on-in-suspend;
793 regulator-suspend-microvolt = <3300000>;
797 vcc3v3_s0: SWITCH_REG {
800 regulator-name = "vcc3v3_s0";
801 regulator-state-mem {
802 regulator-on-in-suspend;
808 compatible = "rk818-battery";
809 ocv_table = <3400 3675 3689 3716 3740 3756 3768 3780
810 3793 3807 3827 3853 3896 3937 3974 4007 4066
811 4110 4161 4217 4308>;
812 design_capacity = <7916>;
813 design_qmax = <8708>;
815 max_input_current = <3000>;
816 max_chrg_current = <3000>;
817 max_chrg_voltage = <4350>;
818 sleep_enter_current = <300>;
819 sleep_exit_current = <300>;
820 power_off_thresd = <3400>;
821 zero_algorithm_vol = <3950>;
822 fb_temperature = <105>;
824 max_soc_offset = <60>;
835 i2c-scl-rising-time-ns = <140>;
836 i2c-scl-falling-time-ns = <30>;
839 #sound-dai-cells = <0>;
840 compatible = "everest,es8316";
842 pinctrl-names = "default";
843 pinctrl-0 = <&hp_det>;
844 clocks = <&cru SCLK_I2S_8CH_OUT>;
845 clock-names = "mclk";
846 spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
847 hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
853 i2c-scl-rising-time-ns = <345>;
854 i2c-scl-falling-time-ns = <11>;
855 clock-frequency = <400000>;
859 compatible = "lsm330_acc";
860 pinctrl-names = "default";
861 pinctrl-0 = <&lsm330a_irq_gpio>;
863 irq-gpio = <&gpio2 27 IRQ_TYPE_EDGE_RISING>;
864 type = <SENSOR_TYPE_ACCEL>;
866 poll_delay_ms = <30>;
872 compatible = "lsm330_gyro";
873 pinctrl-names = "default";
874 pinctrl-0 = <&lsm330g_irq_gpio>;
876 irq-gpio = <&gpio1 20 IRQ_TYPE_EDGE_RISING>;
877 type = <SENSOR_TYPE_GYROSCOPE>;
879 poll_delay_ms = <30>;
884 compatible = "invensense,mpu6500";
885 pinctrl-names = "default";
886 pinctrl-0 = <&mpu6500_irq_gpio>;
888 irq-gpio = <&gpio2 27 IRQ_TYPE_EDGE_RISING>;
889 mpu-int_config = <0x10>;
890 mpu-level_shifter = <0>;
891 mpu-orientation = <1 0 0 0 1 0 0 0 1>;
895 support-hw-poweroff = <1>;
901 compatible = "ak8963";
902 pinctrl-names = "default";
903 pinctrl-0 = <&ak8963_irq_gpio>;
905 type = <SENSOR_TYPE_COMPASS>;
906 irq-gpio = <&gpio2 28 IRQ_TYPE_EDGE_RISING>;
908 poll_delay_ms = <30>;
914 compatible = "capella,light_cm3218";
915 pinctrl-names = "default";
916 pinctrl-0 = <&cm3218_irq_gpio>;
918 type = <SENSOR_TYPE_LIGHT>;
919 irq-gpio = <&gpio4 24 IRQ_TYPE_EDGE_FALLING>;
921 poll_delay_ms = <30>;
925 compatible = "fairchild,fusb302";
927 pinctrl-names = "default";
928 pinctrl-0 = <&fusb0_int>;
929 int-n-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
936 i2c-scl-rising-time-ns = <150>;
937 i2c-scl-falling-time-ns = <30>;
938 clock-frequency = <400000>;
941 compatible = "goodix,gt9xx";
943 touch-gpio = <&gpio3 12 IRQ_TYPE_LEVEL_LOW>;
944 reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
948 tp-supply = <&vcc3v0_tp>;
961 cpu-supply = <&vdd_cpu_l>;
965 cpu-supply = <&vdd_cpu_l>;
969 cpu-supply = <&vdd_cpu_l>;
973 cpu-supply = <&vdd_cpu_l>;
977 cpu-supply = <&vdd_cpu_b>;
981 cpu-supply = <&vdd_cpu_b>;
986 mali-supply = <&vdd_gpu>;
995 max-freq = <50000000>;
998 compatible = "inv-spi,mpu6500";
999 pinctrl-names = "default";
1000 pinctrl-0 = <&mpu6500_irq_gpio>;
1001 irq-gpio = <&gpio2 27 IRQ_TYPE_EDGE_RISING>;
1003 spi-max-frequency = <1000000>;
1006 mpu-int_config = <0x00>;
1007 mpu-level_shifter = <0>;
1008 mpu-orientation = <1 0 0 0 1 0 0 0 1>;
1012 support-hw-poweroff = <1>;
1023 rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
1024 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
1032 u2phy0_otg: otg-port {
1036 u2phy0_host: host-port {
1037 phy-supply = <&vcc5v0_host>;
1043 pinctrl-names = "default";
1044 pinctrl-0 = <&uart0_xfer &uart0_cts>;
1070 assigned-clocks = <&cru SCLK_VOP0_PWM>;
1071 assigned-clock-rates = <50000000>;
1085 wifi_enable_h: wifi-enable-h {
1086 rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
1090 wireless-bluetooth {
1091 uart0_gpios: uart0-gpios {
1092 rockchip,pins = <2 19 RK_FUNC_GPIO &pcfg_pull_none>;
1097 pmic_int_l: pmic-int-l {
1099 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
1102 pmic_dvs2: pmic-dvs2 {
1104 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
1106 vsel1_gpio: vsel1-gpio {
1108 <1 17 RK_FUNC_GPIO &pcfg_pull_down>;
1110 vsel2_gpio: vsel2-gpio {
1112 <1 14 RK_FUNC_GPIO &pcfg_pull_down>;
1117 mh248_irq_gpio: mh248-irq-gpio {
1118 rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_none>;
1124 rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_up>;
1129 lcdpwr_enable_h: lcdpwr-enable-h {
1130 rockchip,pins = <3 8 RK_FUNC_GPIO &pcfg_pull_up>;
1135 lsm330a_irq_gpio: lsm330a-irq-gpio {
1136 rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;
1141 lsm330g_irq_gpio: lsm330g-irq-gpio {
1142 rockchip,pins = <1 20 RK_FUNC_GPIO &pcfg_pull_none>;
1147 mpu6500_irq_gpio: mpu6500-irq-gpio {
1148 rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>;
1153 ak8963_irq_gpio: ak8963-irq-gpio {
1154 rockchip,pins = <2 28 RK_FUNC_GPIO &pcfg_pull_none>;
1159 cm3218_irq_gpio: cm3218-irq-gpio {
1160 rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_up>;
1165 host_vbus_drv: host-vbus-drv {
1167 <4 25 RK_FUNC_GPIO &pcfg_pull_none>;
1172 fusb0_int: fusb0-int {
1174 <1 1 RK_FUNC_GPIO &pcfg_pull_up>;
1180 #include <dt-bindings/display/screen-timing/lcd-LP097Qx2.dtsi>
1185 rockchip,cabc_mode = <1>;
1186 power_ctr: power_ctr {
1187 rockchip,debug = <0>;
1190 rockchip,power_type = <GPIO>;
1191 pinctrl-names = "default";
1192 pinctrl-0 = <&lcdpwr_enable_h>;
1193 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
1194 rockchip,delay = <10>;