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 #include "sc7180-firmware-tfa.dtsi"
17 /* PMICs depend on spmi_bus label and so must come after sc7180.dtsi */
18 #include "pm6150.dtsi"
19 #include "pm6150l.dtsi"
23 charger_thermal: charger-thermal {
24 polling-delay-passive = <0>;
27 thermal-sensors = <&pm6150_adc_tm 0>;
31 temperature = <125000>;
41 * Reserved memory changes
43 * Delete all unused memory nodes and define the peripheral memory regions
44 * required by the board dts.
47 /delete-node/ &hyp_mem;
48 /delete-node/ &ipa_fw_mem;
49 /delete-node/ &xbl_mem;
50 /delete-node/ &aop_mem;
51 /delete-node/ &sec_apps_mem;
52 /delete-node/ &tz_mem;
54 /* Increase the size from 2MB to 8MB */
56 reg = <0x0 0x94600000 0x0 0x800000>;
61 atf_mem: memory@80b00000 {
62 reg = <0x0 0x80b00000 0x0 0x100000>;
66 mpss_mem: memory@86000000 {
67 reg = <0x0 0x86000000 0x0 0x2000000>;
71 venus_mem: memory@8f600000 {
72 reg = <0 0x8f600000 0 0x500000>;
76 wlan_mem: memory@94100000 {
77 reg = <0x0 0x94100000 0x0 0x200000>;
81 mba_mem: memory@94400000 {
82 reg = <0x0 0x94400000 0x0 0x200000>;
86 mdata_mem: mpss-metadata {
87 alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
94 bluetooth0 = &bluetooth;
101 stdout-path = "serial0:115200n8";
104 /* FIXED REGULATORS - parents above children */
106 /* This is the top level supply and variable voltage */
107 ppvar_sys: ppvar-sys-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "ppvar_sys";
114 /* This divides ppvar_sys by 2, so voltage is variable */
115 src_vph_pwr: src-vph-pwr-regulator {
116 compatible = "regulator-fixed";
117 regulator-name = "src_vph_pwr";
119 /* EC turns on with switchcap_on; always on for AP */
123 vin-supply = <&ppvar_sys>;
126 pp5000_a: pp5000-a-regulator {
127 compatible = "regulator-fixed";
128 regulator-name = "pp5000_a";
130 /* EC turns on with en_pp5000_a; always on for AP */
133 regulator-min-microvolt = <5000000>;
134 regulator-max-microvolt = <5000000>;
136 vin-supply = <&ppvar_sys>;
139 pp3300_a: pp3300-a-regulator {
140 compatible = "regulator-fixed";
141 regulator-name = "pp3300_a";
143 /* EC turns on with en_pp3300_a; always on for AP */
146 regulator-min-microvolt = <3300000>;
147 regulator-max-microvolt = <3300000>;
150 * Actually should be pp3300 but that's practically an alias for
151 * pp3300_a so we use pp3300's vin-supply here to avoid one more
154 vin-supply = <&ppvar_sys>;
159 pp1800_ldo: pp1800-ldo-regulator {
160 compatible = "regulator-fixed";
161 regulator-name = "pp1800_ldo";
163 /* EC turns on with hibernate_l; always on for AP */
166 regulator-min-microvolt = <1800000>;
167 regulator-max-microvolt = <1800000>;
170 * Actually should be pp1800_h1 but we don't have any need to
171 * model that so we use the parent of pp1800_h1.
173 vin-supply = <&pp3300_a>;
176 pp1800_uf_cam: pp1800-uf-cam-regulator {
177 compatible = "regulator-fixed";
178 regulator-name = "pp1800_uf_cam";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
184 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&uf_cam_en>;
189 vin-supply = <&pp1800_ldo>;
190 regulator-enable-ramp-delay = <1000>;
193 pp1800_wf_cam: pp1800-wf-cam-regulator {
194 compatible = "regulator-fixed";
195 regulator-name = "pp1800_wf_cam";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
201 gpio = <&tlmm 7 GPIO_ACTIVE_HIGH>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&wf_cam_en>;
206 vin-supply = <&pp1800_ldo>;
207 regulator-enable-ramp-delay = <1000>;
210 pp2800_uf_cam: pp2800-uf-cam-regulator {
211 compatible = "regulator-fixed";
212 regulator-name = "pp2800_uf_cam";
215 regulator-min-microvolt = <2850000>;
216 regulator-max-microvolt = <2850000>;
218 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>;
221 * The pinconf can only be referenced once so we put it on the
222 * first regulator and comment it out here.
223 * pinctrl-names = "default";
224 * pinctrl-0 = <&uf_cam_en>;
227 vin-supply = <&pp3300_a>;
231 pp2800_wf_cam: pp2800-wf-cam-regulator {
232 compatible = "regulator-fixed";
233 regulator-name = "pp2800_wf_cam";
236 regulator-min-microvolt = <2850000>;
237 regulator-max-microvolt = <2850000>;
239 gpio = <&tlmm 7 GPIO_ACTIVE_HIGH>;
242 * The pinconf can only be referenced once so we put it on the
243 * first regulator and comment it out here.
244 * pinctrl-names = "default";
245 * pinctrl-0 = <&wf_cam_en>;
248 vin-supply = <&pp3300_a>;
252 pp3300_codec: pp3300-codec-regulator {
253 compatible = "regulator-fixed";
254 regulator-name = "pp3300_codec";
256 regulator-min-microvolt = <3300000>;
257 regulator-max-microvolt = <3300000>;
259 gpio = <&tlmm 83 GPIO_ACTIVE_HIGH>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&en_pp3300_codec>;
264 vin-supply = <&pp3300_a>;
268 pp3300_ts: pp3300-dx-edp-regulator {
269 compatible = "regulator-fixed";
270 regulator-name = "pp3300_dx_edp";
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
275 gpio = <&tlmm 30 GPIO_ACTIVE_HIGH>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&en_pp3300_dx_edp>;
280 vin-supply = <&pp3300_a>;
283 pp3300_fp_tp: pp3300-fp-tp-regulator {
284 compatible = "regulator-fixed";
285 regulator-name = "pp3300_fp_tp";
287 regulator-min-microvolt = <3300000>;
288 regulator-max-microvolt = <3300000>;
290 /* AP turns on with PP1800_VIO_OUT; always on for AP */
294 vin-supply = <&pp3300_a>;
297 pp3300_hub: pp3300-hub-regulator {
298 compatible = "regulator-fixed";
299 regulator-name = "pp3300_hub";
301 regulator-min-microvolt = <3300000>;
302 regulator-max-microvolt = <3300000>;
304 gpio = <&tlmm 84 GPIO_ACTIVE_HIGH>;
306 pinctrl-names = "default";
307 pinctrl-0 = <&en_pp3300_hub>;
309 /* The BIOS leaves this regulator on */
312 vin-supply = <&pp3300_a>;
315 /* BOARD-SPECIFIC TOP LEVEL NODES */
317 backlight: backlight {
318 compatible = "pwm-backlight";
320 /* The panels don't seem to like anything below ~ 5% */
321 brightness-levels = <
322 196 256 324 400 484 576 676 784 900 1024 1156 1296
323 1444 1600 1764 1936 2116 2304 2500 2704 2916 3136
326 num-interpolated-steps = <64>;
327 default-brightness-level = <951>;
329 pwms = <&cros_ec_pwm 1>;
330 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
331 power-supply = <&ppvar_sys>;
332 pinctrl-names = "default";
333 pinctrl-0 = <&ap_edp_bklten>;
336 gpio_keys: gpio-keys {
337 compatible = "gpio-keys";
339 pinctrl-names = "default";
340 pinctrl-0 = <&pen_pdct_l>;
342 pen_insert: switch-pen-insert {
343 label = "Pen Insert";
345 /* Insert = low, eject = high */
346 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
347 linux,code = <SW_PEN_INSERTED>;
348 linux,input-type = <EV_SW>;
349 wakeup-event-action = <EV_ACT_DEASSERTED>;
354 max98360a: audio-codec-0 {
355 compatible = "maxim,max98360a";
356 pinctrl-names = "default";
357 pinctrl-0 = <&_en>;
358 sdmode-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
359 #sound-dai-cells = <0>;
363 compatible = "pwm-leds";
364 keyboard_backlight: led-0 {
366 label = "cros_ec::kbd_backlight";
367 function = LED_FUNCTION_KBD_BACKLIGHT;
368 pwms = <&cros_ec_pwm 0>;
369 max-brightness = <1023>;
374 compatible = "google,sc7180-trogdor";
377 "Headphone Jack", "HPOL",
378 "Headphone Jack", "HPOR";
380 #address-cells = <1>;
384 link-name = "MultiMedia0";
385 reg = <MI2S_PRIMARY>;
387 sound-dai = <&lpass_cpu MI2S_PRIMARY>;
390 sound_multimedia0_codec: codec {
391 sound-dai = <&alc5682 0 /* aif1 */>;
396 link-name = "MultiMedia1";
397 reg = <MI2S_SECONDARY>;
399 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
402 sound_multimedia1_codec: codec {
403 sound-dai = <&max98360a>;
408 link-name = "MultiMedia2";
411 sound-dai = <&lpass_cpu LPASS_DP_RX>;
415 sound-dai = <&mdss_dp>;
422 vcc-supply = <&pp1800_l11a>;
427 pinctrl-names = "default", "sleep";
428 pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data0>, <&qspi_data1>;
429 pinctrl-1 = <&qspi_sleep>;
432 compatible = "jedec,spi-nor";
435 spi-max-frequency = <37500000>;
436 spi-tx-bus-width = <2>;
437 spi-rx-bus-width = <2>;
443 compatible = "qcom,pm6150-rpmh-regulators";
449 regulator-min-microvolt = <1128000>;
450 regulator-max-microvolt = <1128000>;
466 regulator-min-microvolt = <824000>;
467 regulator-max-microvolt = <928000>;
468 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
473 regulator-min-microvolt = <488000>;
474 regulator-max-microvolt = <800000>;
475 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
483 regulator-min-microvolt = <1800000>;
484 regulator-max-microvolt = <1800000>;
485 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
495 regulator-min-microvolt = <1800000>;
496 regulator-max-microvolt = <1800000>;
497 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
501 pp1800_l12a_r: ldo12 {
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
504 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
508 * On trogdor this needs to match l10a since we use it to
509 * give power to things like SPI flash which communicate back
510 * on lines powered by l10a. Thus we force to 1.8V.
513 regulator-min-microvolt = <1800000>;
514 regulator-max-microvolt = <1800000>;
515 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
522 regulator-min-microvolt = <1800000>;
523 regulator-max-microvolt = <1800000>;
524 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
529 regulator-min-microvolt = <1800000>;
530 regulator-max-microvolt = <1800000>;
531 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
537 regulator-min-microvolt = <2920000>;
538 regulator-max-microvolt = <3232000>;
539 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
544 regulator-min-microvolt = <1800000>;
545 regulator-max-microvolt = <1800000>;
546 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
551 regulator-min-microvolt = <2960000>;
552 regulator-max-microvolt = <2960000>;
553 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
558 compatible = "qcom,pm6150l-rpmh-regulators";
562 regulator-min-microvolt = <1120000>;
563 regulator-max-microvolt = <1408000>;
567 regulator-min-microvolt = <1616000>;
568 regulator-max-microvolt = <1984000>;
569 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
574 regulator-min-microvolt = <1168000>;
575 regulator-max-microvolt = <1304000>;
576 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
590 regulator-min-microvolt = <1200000>;
591 regulator-max-microvolt = <1200000>;
592 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
597 regulator-min-microvolt = <1800000>;
598 regulator-max-microvolt = <2952000>;
599 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
603 regulator-min-microvolt = <3304000>;
604 regulator-max-microvolt = <3304000>;
605 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
611 regulator-min-microvolt = <1800000>;
612 regulator-max-microvolt = <1800000>;
613 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
617 regulator-min-microvolt = <2952000>;
618 regulator-max-microvolt = <2952000>;
619 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
623 regulator-min-microvolt = <3000000>;
624 regulator-max-microvolt = <3400000>;
625 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
629 regulator-min-microvolt = <3000000>;
630 regulator-max-microvolt = <3400000>;
631 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
635 regulator-min-microvolt = <3008000>;
636 regulator-max-microvolt = <3960000>;
637 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
645 compatible = "google,cros-ec-spi";
647 interrupt-parent = <&tlmm>;
648 interrupts = <94 IRQ_TYPE_LEVEL_LOW>;
649 pinctrl-names = "default";
650 pinctrl-0 = <&ap_ec_int_l>;
651 spi-max-frequency = <3000000>;
654 compatible = "google,cros-ec-pwm";
658 i2c_tunnel: i2c-tunnel {
659 compatible = "google,cros-ec-i2c-tunnel";
660 google,remote-bus = <0>;
661 #address-cells = <1>;
666 compatible = "google,cros-ec-typec";
667 #address-cells = <1>;
670 usb_c0: connector@0 {
671 compatible = "usb-c-connector";
676 try-power-role = "source";
679 usb_c1: connector@1 {
680 compatible = "usb-c-connector";
685 try-power-role = "source";
694 compatible = "google,cr50";
696 pinctrl-names = "default";
697 pinctrl-0 = <&h1_ap_int_odl>;
698 spi-max-frequency = <800000>;
699 interrupt-parent = <&tlmm>;
700 interrupts = <42 IRQ_TYPE_EDGE_RISING>;
708 ap_sar_sensor_i2c: &i2c5 {
709 clock-frequency = <400000>;
711 ap_sar_sensor: proximity@28 {
712 compatible = "semtech,sx9310";
714 #io-channel-cells = <1>;
715 pinctrl-names = "default";
716 pinctrl-0 = <&p_sensor_int_l>;
718 interrupt-parent = <&tlmm>;
719 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
721 vdd-supply = <&pp3300_a>;
722 svdd-supply = <&pp1800_prox>;
724 label = "proximity-wifi";
729 clock-frequency = <400000>;
731 trackpad: trackpad@15 {
732 compatible = "elan,ekth3000";
734 pinctrl-names = "default";
735 pinctrl-0 = <&tp_int_odl>;
737 interrupt-parent = <&tlmm>;
738 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
740 vcc-supply = <&pp3300_fp_tp>;
748 clock-frequency = <400000>;
758 pinctrl-names = "default";
759 pinctrl-0 = <&sec_mi2s_active>, <&pri_mi2s_active>, <&pri_mi2s_mclk_active>;
761 #address-cells = <1>;
765 reg = <MI2S_PRIMARY>;
766 qcom,playback-sd-lines = <1>;
767 qcom,capture-sd-lines = <0>;
770 secondary_mi2s: dai-link@1 {
771 reg = <MI2S_SECONDARY>;
772 qcom,playback-sd-lines = <0>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&dp_hot_plug_det>;
796 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
801 vdda-supply = <&vdda_mipi_dsi0_1p2>;
805 data-lanes = <0 1 2 3>;
810 vdds-supply = <&vdda_mipi_dsi0_pll>;
815 reg = <ADC5_AMUX_THM3_100K_PU>;
817 qcom,hw-settle-time = <200>;
818 label = "charger_therm";
825 charger-thermistor@0 {
827 io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>;
829 qcom,hw-settle-time-us = <200>;
847 compatible = "qcom,sc7180-mss-pil";
848 reg = <0 0x04080000 0 0x4040>, <0 0x04180000 0 0x48>;
849 reg-names = "qdsp6", "rmb";
851 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
852 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
853 <&gcc GCC_MSS_NAV_AXI_CLK>,
854 <&gcc GCC_MSS_SNOC_AXI_CLK>,
855 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
856 <&rpmhcc RPMH_CXO_CLK>;
857 clock-names = "iface", "bus", "nav", "snoc_axi", "mnoc_axi", "xo";
859 iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>;
860 memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>;
862 /* This gets overridden for SKUs with LTE support. */
863 firmware-name = "qcom/sc7180-trogdor/modem-nolte/mba.mbn",
864 "qcom/sc7180-trogdor/modem-nolte/qdsp6sw.mbn";
866 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
867 <&pdc_reset PDC_MODEM_SYNC_RESET>;
868 reset-names = "mss_restart", "pdc_reset";
870 qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
871 qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;
875 /* TF-A firmware maps memory cached so mark dma-coherent to match. */
882 pinctrl-names = "default", "sleep";
883 pinctrl-0 = <&sdc1_on>;
884 pinctrl-1 = <&sdc1_off>;
885 vmmc-supply = <&mcp_vcc>;
886 vqmmc-supply = <&mcp_vccq>;
890 pinctrl-names = "default", "sleep";
891 pinctrl-0 = <&sdc2_on>;
892 pinctrl-1 = <&sdc2_off>;
893 vmmc-supply = <&pp2950_l9c>;
894 vqmmc-supply = <&ppvar_l6c>;
896 cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
900 pinctrl-0 = <&qup_spi0_spi>, <&qup_spi0_cs_gpio>;
901 cs-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
905 pinctrl-0 = <&qup_spi6_spi>, <&qup_spi6_cs_gpio>;
906 cs-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
910 pinctrl-0 = <&qup_spi10_spi>, <&qup_spi10_cs_gpio>;
911 cs-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
914 compatible = "google,cros-ec-fp", "google,cros-ec-spi";
916 interrupt-parent = <&tlmm>;
917 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
918 pinctrl-names = "default";
919 pinctrl-0 = <&fp_to_ap_irq_l>, <&fp_rst_l>, <&fpmcu_boot0>;
920 boot0-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
921 reset-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
922 spi-max-frequency = <3000000>;
923 vdd-supply = <&pp3300_fp_tp>;
927 #include <arm/cros-ec-sbs.dtsi>
932 /delete-property/interrupts;
933 interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>,
934 <&tlmm 41 IRQ_TYPE_EDGE_FALLING>;
936 pinctrl-names = "default", "sleep";
937 pinctrl-1 = <&qup_uart3_sleep>;
939 bluetooth: bluetooth {
940 compatible = "qcom,wcn3991-bt";
941 vddio-supply = <&pp1800_l10a>;
942 vddxo-supply = <&pp1800_l1c>;
943 vddrf-supply = <&pp1300_l2c>;
944 vddch0-supply = <&pp3300_l10c>;
945 max-speed = <3200000>;
959 #address-cells = <1>;
962 /* 2.x hub on port 1 */
964 compatible = "usbbda,5411";
966 vdd-supply = <&pp3300_hub>;
967 peer-hub = <&usb_hub_3_x>;
970 /* 3.x hub on port 2 */
972 compatible = "usbbda,411";
974 vdd-supply = <&pp3300_hub>;
975 peer-hub = <&usb_hub_2_x>;
981 vdd-supply = <&vdd_qusb_hs0_core>;
982 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
983 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
984 qcom,imp-res-offset-value = <8>;
985 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>;
986 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
987 qcom,bias-ctrl-value = <0x22>;
988 qcom,charge-ctrl-value = <3>;
989 qcom,hsdisc-trim-value = <0>;
994 vdda-phy-supply = <&vdda_usb_ss_dp_1p2>;
995 vdda-pll-supply = <&vdda_usb_ss_dp_core>;
1000 iommus = <&apps_smmu 0x0c42 0x0>;
1006 vdd-0.8-cx-mx-supply = <&vdd_cx_wlan>;
1007 vdd-1.8-xo-supply = <&pp1800_l1c>;
1008 vdd-1.3-rfa-supply = <&pp1300_l2c>;
1009 vdd-3.3-ch0-supply = <&pp3300_l10c>;
1010 vdd-3.3-ch1-supply = <&pp3300_l11c>;
1013 iommus = <&apps_smmu 0xc2 0x1>;
1017 /* PINCTRL - additions to nodes defined in sc7180.dtsi */
1024 drive-strength = <2>;
1028 &pri_mi2s_mclk_active {
1029 drive-strength = <2>;
1034 bias-disable; /* External pullup */
1038 drive-strength = <8>;
1039 bias-disable; /* Rely on Cr50 internal pulldown */
1043 bias-disable; /* Rely on Cr50 internal pulldown */
1051 drive-strength = <2>;
1053 /* Has external pullup */
1058 drive-strength = <2>;
1060 /* Has external pullup */
1065 drive-strength = <2>;
1067 /* Has external pullup */
1072 drive-strength = <2>;
1074 /* Has external pullup */
1079 drive-strength = <2>;
1081 /* Has external pullup */
1086 drive-strength = <2>;
1091 drive-strength = <2>;
1096 drive-strength = <2>;
1101 drive-strength = <2>;
1106 drive-strength = <2>;
1110 &qup_spi10_cs_gpio {
1111 drive-strength = <2>;
1117 * Configure a pull-down on CTS to match the pull of
1118 * the Bluetooth module.
1124 /* We'll drive RTS, so no pull */
1125 drive-strength = <2>;
1130 /* We'll drive TX, so no pull */
1131 drive-strength = <2>;
1137 * Configure a pull-up on RX. This is needed to avoid
1138 * garbage data when the TX pin of the Bluetooth module is
1139 * in tri-state (module powered off or not driving the
1146 drive-strength = <2>;
1151 drive-strength = <2>;
1156 drive-strength = <2>;
1160 /* PINCTRL - board-specific pinctrl */
1163 status = "disabled"; /* No GPIOs are connected */
1167 gpio-line-names = "AP_SUSPEND",
1183 * pinctrl settings for pins that have no real owners.
1185 pinctrl-names = "default";
1186 pinctrl-0 = <&bios_flash_wp_l>, <&ap_suspend_l_neuter>;
1188 amp_en: amp-en-state {
1194 ap_ec_int_l: ap-ec-int-l-state {
1200 ap_edp_bklten: ap-edp-bklten-state {
1203 drive-strength = <2>;
1206 /* Force backlight to be disabled to match state at boot. */
1210 ap_suspend_l_neuter: ap-suspend-l-neuter-state {
1216 bios_flash_wp_l: bios-flash-wp-l-state {
1222 edp_brij_en: edp-brij-en-state {
1225 drive-strength = <2>;
1229 en_pp3300_codec: en-pp3300-codec-state {
1232 drive-strength = <2>;
1236 en_pp3300_dx_edp: en-pp3300-dx-edp-state {
1239 drive-strength = <2>;
1243 en_pp3300_hub: en-pp3300-hub-state {
1246 drive-strength = <2>;
1250 fp_rst_l: fp-rst-l-state {
1254 drive-strength = <2>;
1257 fp_to_ap_irq_l: fp-to-ap-irq-l-state {
1261 /* Has external pullup */
1265 fpmcu_boot0: fpmcu-boot0-state {
1271 h1_ap_int_odl: h1-ap-int-odl-state {
1277 hp_irq: hp-irq-state {
1283 pen_irq_l: pen-irq-l-state {
1287 /* Has external pullup */
1291 pen_pdct_l: pen-pdct-l-state-state {
1295 /* Has external pullup */
1299 pen_rst_odl: pen-rst-odl-state {
1303 drive-strength = <2>;
1306 * The pen driver doesn't currently support
1307 * driving this reset line. By specifying
1308 * output-high here we're relying on the fact
1309 * that this pin has a default pulldown at boot
1310 * (which makes sure the pen was in reset if it
1311 * was powered) and then we set it high here to
1312 * take it out of reset. Better would be if the
1313 * pen driver could control this and we could
1314 * remove "output-high" here.
1316 output-high; /* TODO: Remove this? */
1319 p_sensor_int_l: p-sensor-int-l-state {
1323 /* Has external pullup */
1327 qspi_sleep: qspi-sleep-state {
1328 pins = "gpio63", "gpio64", "gpio65", "gpio68";
1331 * When we're not actively transferring we want pins as GPIOs
1332 * with output disabled so that the quad SPI IP block stops
1333 * driving them. We rely on the normal pulls configured in
1334 * the active state and don't redefine them here. Also note
1335 * that we don't need the reverse (output-enable) in the
1336 * normal mode since the "output-enable" only matters for
1343 qup_uart3_sleep: qup-uart3-sleep-state {
1346 * Configure a pull-down on CTS to match the pull of
1347 * the Bluetooth module.
1356 * Configure pull-down on RTS. As RTS is active low
1357 * signal, pull it low to indicate the BT SoC that it
1358 * can wakeup the system anytime from suspend state by
1359 * pulling RX low (by sending wakeup bytes).
1368 * Configure pull-up on TX when it isn't actively driven
1369 * to prevent BT SoC from receiving garbage during sleep.
1378 * Configure a pull-up on RX. This is needed to avoid
1379 * garbage data when the TX pin of the Bluetooth module
1380 * is floating which may cause spurious wakeups.
1388 /* Named trackpad_int_1v8_odl on earlier revision schematics */
1389 trackpad_int_1v8_odl:
1390 tp_int_odl: tp-int-odl-state {
1394 /* Has external pullup */
1398 ts_int_l: ts-int-l-state {
1404 ts_reset_l: ts-reset-l-state {
1410 * The reset GPIO to the touchscreen takes almost 2ms to drop
1411 * at the default drive strength. When we bump it up to 8mA it
1412 * falls in under 500us. We want this to be fast since the Elan
1413 * datasheet (and any drivers written based on it) talk about using
1414 * a 500 us reset pulse.
1416 drive-strength = <8>;
1419 sdc1_on: sdc1-on-state {
1423 drive-strength = <16>;
1429 drive-strength = <16>;
1435 drive-strength = <16>;
1444 sdc1_off: sdc1-off-state {
1448 drive-strength = <2>;
1454 drive-strength = <2>;
1460 drive-strength = <2>;
1469 sdc2_on: sdc2-on-state {
1473 drive-strength = <16>;
1479 drive-strength = <10>;
1485 drive-strength = <10>;
1492 drive-strength = <2>;
1496 sdc2_off: sdc2-off-state {
1500 drive-strength = <2>;
1506 drive-strength = <2>;
1512 drive-strength = <2>;
1519 drive-strength = <2>;
1523 uf_cam_en: uf-cam-en-state {
1526 drive-strength = <2>;
1528 /* External pull down */
1532 wf_cam_en: wf-cam-en-state {
1535 drive-strength = <2>;
1537 /* External pull down */