1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Trogdor device tree source (common between revisions)
5 * Copyright 2019 Google LLC.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/sc7180-lpass.h>
15 #include "sc7180.dtsi"
16 /* PMICs depend on spmi_bus label and so must come after sc7180.dtsi */
17 #include "pm6150.dtsi"
18 #include "pm6150l.dtsi"
22 charger_thermal: charger-thermal {
23 polling-delay-passive = <0>;
26 thermal-sensors = <&pm6150_adc_tm 0>;
30 temperature = <125000>;
40 * Reserved memory changes
42 * Delete all unused memory nodes and define the peripheral memory regions
43 * required by the board dts.
46 /delete-node/ &hyp_mem;
47 /delete-node/ &ipa_fw_mem;
48 /delete-node/ &xbl_mem;
49 /delete-node/ &aop_mem;
50 /delete-node/ &sec_apps_mem;
51 /delete-node/ &tz_mem;
53 /* Increase the size from 2MB to 8MB */
55 reg = <0x0 0x94600000 0x0 0x800000>;
60 atf_mem: memory@80b00000 {
61 reg = <0x0 0x80b00000 0x0 0x100000>;
65 mpss_mem: memory@86000000 {
66 reg = <0x0 0x86000000 0x0 0x2000000>;
70 venus_mem: memory@8f600000 {
71 reg = <0 0x8f600000 0 0x500000>;
75 wlan_mem: memory@94100000 {
76 reg = <0x0 0x94100000 0x0 0x200000>;
80 mba_mem: memory@94400000 {
81 reg = <0x0 0x94400000 0x0 0x200000>;
87 bluetooth0 = &bluetooth;
94 stdout-path = "serial0:115200n8";
97 /* FIXED REGULATORS - parents above children */
99 /* This is the top level supply and variable voltage */
100 ppvar_sys: ppvar-sys-regulator {
101 compatible = "regulator-fixed";
102 regulator-name = "ppvar_sys";
107 /* This divides ppvar_sys by 2, so voltage is variable */
108 src_vph_pwr: src-vph-pwr-regulator {
109 compatible = "regulator-fixed";
110 regulator-name = "src_vph_pwr";
112 /* EC turns on with switchcap_on; always on for AP */
116 vin-supply = <&ppvar_sys>;
119 pp5000_a: pp5000-a-regulator {
120 compatible = "regulator-fixed";
121 regulator-name = "pp5000_a";
123 /* EC turns on with en_pp5000_a; always on for AP */
126 regulator-min-microvolt = <5000000>;
127 regulator-max-microvolt = <5000000>;
129 vin-supply = <&ppvar_sys>;
132 pp3300_a: pp3300-a-regulator {
133 compatible = "regulator-fixed";
134 regulator-name = "pp3300_a";
136 /* EC turns on with en_pp3300_a; always on for AP */
139 regulator-min-microvolt = <3300000>;
140 regulator-max-microvolt = <3300000>;
143 * Actually should be pp3300 but that's practically an alias for
144 * pp3300_a so we use pp3300's vin-supply here to avoid one more
147 vin-supply = <&ppvar_sys>;
152 pp1800_ldo: pp1800-ldo-regulator {
153 compatible = "regulator-fixed";
154 regulator-name = "pp1800_ldo";
156 /* EC turns on with hibernate_l; always on for AP */
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
163 * Actually should be pp1800_h1 but we don't have any need to
164 * model that so we use the parent of pp1800_h1.
166 vin-supply = <&pp3300_a>;
169 pp1800_uf_cam: pp1800-uf-cam-regulator {
170 compatible = "regulator-fixed";
171 regulator-name = "pp1800_uf_cam";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
177 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&uf_cam_en>;
182 vin-supply = <&pp1800_ldo>;
183 regulator-enable-ramp-delay = <1000>;
186 pp1800_wf_cam: pp1800-wf-cam-regulator {
187 compatible = "regulator-fixed";
188 regulator-name = "pp1800_wf_cam";
191 regulator-min-microvolt = <1800000>;
192 regulator-max-microvolt = <1800000>;
194 gpio = <&tlmm 7 GPIO_ACTIVE_HIGH>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&wf_cam_en>;
199 vin-supply = <&pp1800_ldo>;
200 regulator-enable-ramp-delay = <1000>;
203 pp2800_uf_cam: pp2800-uf-cam-regulator {
204 compatible = "regulator-fixed";
205 regulator-name = "pp2800_uf_cam";
208 regulator-min-microvolt = <2850000>;
209 regulator-max-microvolt = <2850000>;
211 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>;
214 * The pinconf can only be referenced once so we put it on the
215 * first regulator and comment it out here.
216 * pinctrl-names = "default";
217 * pinctrl-0 = <&uf_cam_en>;
220 vin-supply = <&pp3300_a>;
224 pp2800_wf_cam: pp2800-wf-cam-regulator {
225 compatible = "regulator-fixed";
226 regulator-name = "pp2800_wf_cam";
229 regulator-min-microvolt = <2850000>;
230 regulator-max-microvolt = <2850000>;
232 gpio = <&tlmm 7 GPIO_ACTIVE_HIGH>;
235 * The pinconf can only be referenced once so we put it on the
236 * first regulator and comment it out here.
237 * pinctrl-names = "default";
238 * pinctrl-0 = <&wf_cam_en>;
241 vin-supply = <&pp3300_a>;
245 pp3300_codec: pp3300-codec-regulator {
246 compatible = "regulator-fixed";
247 regulator-name = "pp3300_codec";
249 regulator-min-microvolt = <3300000>;
250 regulator-max-microvolt = <3300000>;
252 gpio = <&tlmm 83 GPIO_ACTIVE_HIGH>;
254 pinctrl-names = "default";
255 pinctrl-0 = <&en_pp3300_codec>;
257 vin-supply = <&pp3300_a>;
261 pp3300_ts: pp3300-dx-edp-regulator {
262 compatible = "regulator-fixed";
263 regulator-name = "pp3300_dx_edp";
265 regulator-min-microvolt = <3300000>;
266 regulator-max-microvolt = <3300000>;
268 gpio = <&tlmm 30 GPIO_ACTIVE_HIGH>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&en_pp3300_dx_edp>;
273 vin-supply = <&pp3300_a>;
276 pp3300_fp_tp: pp3300-fp-tp-regulator {
277 compatible = "regulator-fixed";
278 regulator-name = "pp3300_fp_tp";
280 regulator-min-microvolt = <3300000>;
281 regulator-max-microvolt = <3300000>;
283 /* AP turns on with PP1800_VIO_OUT; always on for AP */
287 vin-supply = <&pp3300_a>;
290 pp3300_hub: pp3300-hub-regulator {
291 compatible = "regulator-fixed";
292 regulator-name = "pp3300_hub";
294 regulator-min-microvolt = <3300000>;
295 regulator-max-microvolt = <3300000>;
297 gpio = <&tlmm 84 GPIO_ACTIVE_HIGH>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&en_pp3300_hub>;
302 /* The BIOS leaves this regulator on */
305 vin-supply = <&pp3300_a>;
308 /* BOARD-SPECIFIC TOP LEVEL NODES */
310 backlight: backlight {
311 compatible = "pwm-backlight";
313 /* The panels don't seem to like anything below ~ 5% */
314 brightness-levels = <
315 196 256 324 400 484 576 676 784 900 1024 1156 1296
316 1444 1600 1764 1936 2116 2304 2500 2704 2916 3136
319 num-interpolated-steps = <64>;
320 default-brightness-level = <951>;
322 pwms = <&cros_ec_pwm 1>;
323 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
324 power-supply = <&ppvar_sys>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&ap_edp_bklten>;
329 gpio_keys: gpio-keys {
330 compatible = "gpio-keys";
332 pinctrl-names = "default";
333 pinctrl-0 = <&pen_pdct_l>;
335 pen_insert: switch-pen-insert {
336 label = "Pen Insert";
338 /* Insert = low, eject = high */
339 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
340 linux,code = <SW_PEN_INSERTED>;
341 linux,input-type = <EV_SW>;
342 wakeup-event-action = <EV_ACT_DEASSERTED>;
347 max98360a: audio-codec-0 {
348 compatible = "maxim,max98360a";
349 pinctrl-names = "default";
350 pinctrl-0 = <&_en>;
351 sdmode-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
352 #sound-dai-cells = <0>;
356 compatible = "pwm-leds";
357 keyboard_backlight: keyboard-backlight {
359 label = "cros_ec::kbd_backlight";
360 function = LED_FUNCTION_KBD_BACKLIGHT;
361 pwms = <&cros_ec_pwm 0>;
362 max-brightness = <1023>;
367 compatible = "google,sc7180-trogdor";
368 model = "sc7180-rt5682-max98357a-1mic";
371 "Headphone Jack", "HPOL",
372 "Headphone Jack", "HPOR";
374 #address-cells = <1>;
378 link-name = "MultiMedia0";
379 reg = <MI2S_PRIMARY>;
381 sound-dai = <&lpass_cpu MI2S_PRIMARY>;
384 sound_multimedia0_codec: codec {
385 sound-dai = <&alc5682 0 /* aif1 */>;
390 link-name = "MultiMedia1";
391 reg = <MI2S_SECONDARY>;
393 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
396 sound_multimedia1_codec: codec {
397 sound-dai = <&max98360a>;
402 link-name = "MultiMedia2";
405 sound-dai = <&lpass_cpu LPASS_DP_RX>;
409 sound-dai = <&mdss_dp>;
416 vcc-supply = <&pp1800_l11a>;
421 pinctrl-names = "default";
422 pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>;
425 compatible = "jedec,spi-nor";
428 spi-max-frequency = <37500000>;
429 spi-tx-bus-width = <2>;
430 spi-rx-bus-width = <2>;
435 pm6150-rpmh-regulators {
436 compatible = "qcom,pm6150-rpmh-regulators";
442 regulator-min-microvolt = <1128000>;
443 regulator-max-microvolt = <1128000>;
459 regulator-min-microvolt = <824000>;
460 regulator-max-microvolt = <928000>;
461 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
466 regulator-min-microvolt = <488000>;
467 regulator-max-microvolt = <800000>;
468 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
476 regulator-min-microvolt = <1800000>;
477 regulator-max-microvolt = <1800000>;
478 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
488 regulator-min-microvolt = <1800000>;
489 regulator-max-microvolt = <1800000>;
490 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
494 pp1800_l12a_r: ldo12 {
495 regulator-min-microvolt = <1800000>;
496 regulator-max-microvolt = <1800000>;
497 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
501 * On trogdor this needs to match l10a since we use it to
502 * give power to things like SPI flash which communicate back
503 * on lines powered by l10a. Thus we force to 1.8V.
506 regulator-min-microvolt = <1800000>;
507 regulator-max-microvolt = <1800000>;
508 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
513 regulator-min-microvolt = <1800000>;
514 regulator-max-microvolt = <1800000>;
515 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
520 regulator-min-microvolt = <1800000>;
521 regulator-max-microvolt = <1800000>;
522 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
528 regulator-min-microvolt = <2920000>;
529 regulator-max-microvolt = <3232000>;
530 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
535 regulator-min-microvolt = <1800000>;
536 regulator-max-microvolt = <1800000>;
537 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
542 regulator-min-microvolt = <2960000>;
543 regulator-max-microvolt = <2960000>;
544 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
548 pm6150l-rpmh-regulators {
549 compatible = "qcom,pm6150l-rpmh-regulators";
553 regulator-min-microvolt = <1120000>;
554 regulator-max-microvolt = <1408000>;
558 regulator-min-microvolt = <1616000>;
559 regulator-max-microvolt = <1984000>;
560 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
565 regulator-min-microvolt = <1168000>;
566 regulator-max-microvolt = <1304000>;
567 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
581 regulator-min-microvolt = <1200000>;
582 regulator-max-microvolt = <1200000>;
583 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
588 regulator-min-microvolt = <1800000>;
589 regulator-max-microvolt = <2952000>;
590 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
594 regulator-min-microvolt = <3304000>;
595 regulator-max-microvolt = <3304000>;
596 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
602 regulator-min-microvolt = <1800000>;
603 regulator-max-microvolt = <1800000>;
604 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
608 regulator-min-microvolt = <2952000>;
609 regulator-max-microvolt = <2952000>;
610 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
614 regulator-min-microvolt = <3000000>;
615 regulator-max-microvolt = <3400000>;
616 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
620 regulator-min-microvolt = <3000000>;
621 regulator-max-microvolt = <3400000>;
622 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
626 regulator-min-microvolt = <3008000>;
627 regulator-max-microvolt = <3960000>;
628 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
636 compatible = "google,cros-ec-spi";
638 interrupt-parent = <&tlmm>;
639 interrupts = <94 IRQ_TYPE_LEVEL_LOW>;
640 pinctrl-names = "default";
641 pinctrl-0 = <&ap_ec_int_l>;
642 spi-max-frequency = <3000000>;
645 compatible = "google,cros-ec-pwm";
649 i2c_tunnel: i2c-tunnel {
650 compatible = "google,cros-ec-i2c-tunnel";
651 google,remote-bus = <0>;
652 #address-cells = <1>;
657 compatible = "google,cros-ec-typec";
658 #address-cells = <1>;
661 usb_c0: connector@0 {
662 compatible = "usb-c-connector";
667 try-power-role = "source";
670 usb_c1: connector@1 {
671 compatible = "usb-c-connector";
676 try-power-role = "source";
685 compatible = "google,cr50";
687 pinctrl-names = "default";
688 pinctrl-0 = <&h1_ap_int_odl>;
689 spi-max-frequency = <800000>;
690 interrupt-parent = <&tlmm>;
691 interrupts = <42 IRQ_TYPE_EDGE_RISING>;
701 vdda-supply = <&vdda_mipi_dsi0_1p2>;
705 data-lanes = <0 1 2 3>;
710 vdds-supply = <&vdda_mipi_dsi0_pll>;
713 ap_sar_sensor_i2c: &i2c5 {
714 clock-frequency = <400000>;
716 ap_sar_sensor: proximity@28 {
717 compatible = "semtech,sx9310";
719 #io-channel-cells = <1>;
720 pinctrl-names = "default";
721 pinctrl-0 = <&p_sensor_int_l>;
723 interrupt-parent = <&tlmm>;
724 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
726 vdd-supply = <&pp3300_a>;
727 svdd-supply = <&pp1800_prox>;
729 label = "proximity-wifi";
734 clock-frequency = <400000>;
736 trackpad: trackpad@15 {
737 compatible = "elan,ekth3000";
739 pinctrl-names = "default";
740 pinctrl-0 = <&tp_int_odl>;
742 interrupt-parent = <&tlmm>;
743 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
745 vcc-supply = <&pp3300_fp_tp>;
753 clock-frequency = <400000>;
756 compatible = "realtek,rt5682i";
758 pinctrl-names = "default";
759 pinctrl-0 = <&hp_irq>;
761 #sound-dai-cells = <1>;
763 interrupt-parent = <&tlmm>;
765 * This will get ignored because the interrupt type
766 * is set in rt5682.c.
768 interrupts = <28 IRQ_TYPE_EDGE_BOTH>;
770 AVDD-supply = <&pp1800_alc5682>;
771 MICVDD-supply = <&pp3300_codec>;
772 VBAT-supply = <&pp3300_audio>;
774 realtek,dmic1-data-pin = <1>;
775 realtek,dmic1-clk-pin = <1>;
776 realtek,jd-src = <1>;
783 pinctrl-names = "default";
784 pinctrl-0 = <&sec_mi2s_active>, <&pri_mi2s_active>, <&pri_mi2s_mclk_active>;
786 #address-cells = <1>;
790 reg = <MI2S_PRIMARY>;
791 qcom,playback-sd-lines = <1>;
792 qcom,capture-sd-lines = <0>;
795 secondary_mi2s: mi2s@1 {
796 reg = <MI2S_SECONDARY>;
797 qcom,playback-sd-lines = <0>;
815 pinctrl-names = "default";
816 pinctrl-0 = <&dp_hot_plug_det>;
821 charger-thermistor@4f {
822 reg = <ADC5_AMUX_THM3_100K_PU>;
824 qcom,hw-settle-time = <200>;
831 charger-thermistor@0 {
833 io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>;
835 qcom,hw-settle-time-us = <200>;
853 compatible = "qcom,sc7180-mss-pil";
854 iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>;
855 memory-region = <&mba_mem &mpss_mem>;
857 /* This gets overridden for SKUs with LTE support. */
858 firmware-name = "/*(DEBLOBBED)*/",
865 pinctrl-names = "default", "sleep";
866 pinctrl-0 = <&sdc1_on>;
867 pinctrl-1 = <&sdc1_off>;
868 vmmc-supply = <&mcp_vcc>;
869 vqmmc-supply = <&mcp_vccq>;
873 pinctrl-names = "default", "sleep";
874 pinctrl-0 = <&sdc2_on>;
875 pinctrl-1 = <&sdc2_off>;
876 vmmc-supply = <&pp2950_l9c>;
877 vqmmc-supply = <&ppvar_l6c>;
879 cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
883 pinctrl-0 = <&qup_spi0_cs_gpio_init_high>, <&qup_spi0_cs_gpio>;
884 cs-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
888 pinctrl-0 = <&qup_spi6_cs_gpio_init_high>, <&qup_spi6_cs_gpio>;
889 cs-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
893 pinctrl-0 = <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>;
894 cs-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
897 compatible = "google,cros-ec-spi";
899 interrupt-parent = <&tlmm>;
900 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
901 pinctrl-names = "default";
902 pinctrl-0 = <&fp_to_ap_irq_l>;
903 spi-max-frequency = <3000000>;
907 #include <arm/cros-ec-sbs.dtsi>
912 /delete-property/interrupts;
913 interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>,
914 <&tlmm 41 IRQ_TYPE_EDGE_FALLING>;
916 pinctrl-names = "default", "sleep";
917 pinctrl-1 = <&qup_uart3_sleep>;
919 bluetooth: bluetooth {
920 compatible = "qcom,wcn3991-bt";
921 vddio-supply = <&pp1800_l10a>;
922 vddxo-supply = <&pp1800_l1c>;
923 vddrf-supply = <&pp1300_l2c>;
924 vddch0-supply = <&pp3300_l10c>;
925 max-speed = <3200000>;
927 qcom,local-bd-address-broken;
941 #address-cells = <1>;
944 /* 2.x hub on port 1 */
946 compatible = "usbbda,5411";
948 vdd-supply = <&pp3300_hub>;
949 peer-hub = <&usb_hub_3_x>;
952 /* 3.x hub on port 2 */
954 compatible = "usbbda,411";
956 vdd-supply = <&pp3300_hub>;
957 peer-hub = <&usb_hub_2_x>;
963 vdd-supply = <&vdd_qusb_hs0_core>;
964 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
965 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
966 qcom,imp-res-offset-value = <8>;
967 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>;
968 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
969 qcom,bias-ctrl-value = <0x22>;
970 qcom,charge-ctrl-value = <3>;
971 qcom,hsdisc-trim-value = <0>;
976 vdda-phy-supply = <&vdda_usb_ss_dp_1p2>;
977 vdda-pll-supply = <&vdda_usb_ss_dp_core>;
982 iommus = <&apps_smmu 0x0c42 0x0>;
988 vdd-0.8-cx-mx-supply = <&vdd_cx_wlan>;
989 vdd-1.8-xo-supply = <&pp1800_l1c>;
990 vdd-1.3-rfa-supply = <&pp1300_l2c>;
991 vdd-3.3-ch0-supply = <&pp3300_l10c>;
992 vdd-3.3-ch1-supply = <&pp3300_l11c>;
995 iommus = <&apps_smmu 0xc2 0x1>;
999 /* PINCTRL - additions to nodes defined in sc7180.dtsi */
1010 pins = "gpio53", "gpio54", "gpio55", "gpio56";
1011 drive-strength = <2>;
1016 &pri_mi2s_mclk_active {
1019 drive-strength = <2>;
1034 drive-strength = <8>;
1041 pins = "gpio64", "gpio65";
1043 /* High-Z when no transfers; nice to park the lines */
1050 pins = "gpio15", "gpio16";
1051 drive-strength = <2>;
1053 /* Has external pullup */
1060 pins = "gpio115", "gpio116";
1061 drive-strength = <2>;
1063 /* Has external pullup */
1070 pins = "gpio25", "gpio26";
1071 drive-strength = <2>;
1073 /* Has external pullup */
1080 pins = "gpio6", "gpio7";
1081 drive-strength = <2>;
1083 /* Has external pullup */
1090 pins = "gpio46", "gpio47";
1091 drive-strength = <2>;
1093 /* Has external pullup */
1100 pins = "gpio34", "gpio35", "gpio36", "gpio37";
1101 drive-strength = <2>;
1108 pins = "gpio59", "gpio60", "gpio61", "gpio62";
1109 drive-strength = <2>;
1114 &qup_spi10_cs_gpio {
1116 pins = "gpio86", "gpio87", "gpio88", "gpio89";
1117 drive-strength = <2>;
1122 &qup_uart3_default {
1125 * Configure a pull-down on CTS to match the pull of
1126 * the Bluetooth module.
1133 /* We'll drive RTS and TX, so no pull */
1134 pins = "gpio39", "gpio40";
1135 drive-strength = <2>;
1141 * Configure a pull-up on RX. This is needed to avoid
1142 * garbage data when the TX pin of the Bluetooth module is
1143 * in tri-state (module powered off or not driving the
1151 &qup_uart8_default {
1154 drive-strength = <2>;
1160 drive-strength = <2>;
1167 pins = "gpio49", "gpio50", "gpio51";
1168 drive-strength = <2>;
1173 /* PINCTRL - board-specific pinctrl */
1176 status = "disabled"; /* No GPIOs are connected */
1180 gpio-line-names = "AP_SUSPEND",
1196 * pinctrl settings for pins that have no real owners.
1198 pinctrl-names = "default";
1199 pinctrl-0 = <&bios_flash_wp_l>, <&ap_suspend_l_neuter>;
1213 ap_ec_int_l: ap-ec-int-l {
1226 ap_edp_bklten: ap-edp-bklten {
1234 drive-strength = <2>;
1237 /* Force backlight to be disabled to match state at boot. */
1242 ap_suspend_l_neuter: ap-suspend-l-neuter {
1254 bios_flash_wp_l: bios-flash-wp-l {
1267 edp_brij_en: edp-brij-en {
1275 drive-strength = <2>;
1280 en_pp3300_codec: en-pp3300-codec {
1288 drive-strength = <2>;
1293 en_pp3300_dx_edp: en-pp3300-dx-edp {
1301 drive-strength = <2>;
1306 en_pp3300_hub: en-pp3300-hub {
1314 drive-strength = <2>;
1319 fp_to_ap_irq_l: fp-to-ap-irq-l {
1329 /* Has external pullup */
1334 h1_ap_int_odl: h1-ap-int-odl {
1359 pen_irq_l: pen-irq-l {
1368 /* Has external pullup */
1373 pen_pdct_l: pen-pdct-l {
1382 /* Has external pullup */
1387 pen_rst_odl: pen-rst-odl {
1396 drive-strength = <2>;
1399 * The pen driver doesn't currently support
1400 * driving this reset line. By specifying
1401 * output-high here we're relying on the fact
1402 * that this pin has a default pulldown at boot
1403 * (which makes sure the pen was in reset if it
1404 * was powered) and then we set it high here to
1405 * take it out of reset. Better would be if the
1406 * pen driver could control this and we could
1407 * remove "output-high" here.
1409 output-high; /* TODO: Remove this? */
1413 p_sensor_int_l: p-sensor-int-l {
1422 /* Has external pullup */
1427 qup_spi0_cs_gpio_init_high: qup-spi0-cs-gpio-init-high {
1434 qup_spi6_cs_gpio_init_high: qup-spi6-cs-gpio-init-high {
1441 qup_spi10_cs_gpio_init_high: qup-spi10-cs-gpio-init-high {
1448 qup_uart3_sleep: qup-uart3-sleep {
1450 pins = "gpio38", "gpio39",
1457 * Configure a pull-down on CTS to match the pull of
1458 * the Bluetooth module.
1466 * Configure pull-down on RTS. As RTS is active low
1467 * signal, pull it low to indicate the BT SoC that it
1468 * can wakeup the system anytime from suspend state by
1469 * pulling RX low (by sending wakeup bytes).
1477 * Configure pull-up on TX when it isn't actively driven
1478 * to prevent BT SoC from receiving garbage during sleep.
1486 * Configure a pull-up on RX. This is needed to avoid
1487 * garbage data when the TX pin of the Bluetooth module
1488 * is floating which may cause spurious wakeups.
1495 /* Named trackpad_int_1v8_odl on earlier revision schematics */
1496 trackpad_int_1v8_odl:
1497 tp_int_odl: tp-int-odl {
1506 /* Has external pullup */
1511 ts_int_l: ts-int-l {
1523 ts_reset_l: ts-reset-l {
1532 drive-strength = <2>;
1540 drive-strength = <16>;
1546 drive-strength = <16>;
1552 drive-strength = <16>;
1561 sdc1_off: sdc1-off {
1565 drive-strength = <2>;
1571 drive-strength = <2>;
1577 drive-strength = <2>;
1590 drive-strength = <16>;
1596 drive-strength = <10>;
1602 drive-strength = <10>;
1608 drive-strength = <2>;
1612 sdc2_off: sdc2-off {
1616 drive-strength = <2>;
1622 drive-strength = <2>;
1628 drive-strength = <2>;
1634 drive-strength = <2>;
1638 uf_cam_en: uf-cam-en {
1646 drive-strength = <2>;
1647 /* External pull down */
1652 wf_cam_en: wf-cam-en {
1660 drive-strength = <2>;
1661 /* External pull down */