Lines Matching +full:fw +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/leds/common.h>
20 #include "sc7280-qcard.dtsi"
21 #include "sc7280-chrome-common.dtsi"
25 stdout-path = "serial0:115200n8";
38 ppvar_sys: ppvar-sys-regulator {
39 compatible = "regulator-fixed";
40 regulator-name = "ppvar_sys";
41 regulator-always-on;
42 regulator-boot-on;
46 src_vph_pwr: src-vph-pwr-regulator {
47 compatible = "regulator-fixed";
48 regulator-name = "src_vph_pwr";
51 regulator-always-on;
52 regulator-boot-on;
54 vin-supply = <&ppvar_sys>;
57 pp5000_s5: pp5000-s5-regulator {
58 compatible = "regulator-fixed";
59 regulator-name = "pp5000_s5";
62 regulator-always-on;
63 regulator-boot-on;
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
67 vin-supply = <&ppvar_sys>;
70 pp3300_z1: pp3300-z1-regulator {
71 compatible = "regulator-fixed";
72 regulator-name = "pp3300_z1";
75 regulator-always-on;
76 regulator-boot-on;
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
80 vin-supply = <&ppvar_sys>;
83 pp3300_codec: pp3300-codec-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "pp3300_codec";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
91 enable-active-high;
92 pinctrl-names = "default";
93 pinctrl-0 = <&en_pp3300_codec>;
95 vin-supply = <&pp3300_z1>;
99 pp3300_left_in_mlb: pp3300-left-in-mlb-regulator {
100 compatible = "regulator-fixed";
101 regulator-name = "pp3300_left_in_mlb";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
107 enable-active-high;
108 pinctrl-names = "default";
109 pinctrl-0 = <&en_pp3300_dx_edp>;
111 regulator-enable-ramp-delay = <3000>;
119 off-on-delay-us = <500000>;
125 * off-on-delay immediately on every bootup.
127 regulator-boot-on;
129 vin-supply = <&pp3300_z1>;
134 pp3300_fp_mcu: pp3300-fp-regulator {
135 compatible = "regulator-fixed";
136 regulator-name = "pp3300_fp";
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
141 regulator-boot-on;
142 regulator-always-on;
147 * needs to control the FP regulators during a FW update,
151 pinctrl-names = "default";
152 pinctrl-0 = <&en_fp_rails>;
154 vin-supply = <&pp3300_z1>;
158 pp3300_hub: pp3300-hub-regulator {
159 compatible = "regulator-fixed";
160 regulator-name = "pp3300_hub";
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
166 regulator-boot-on;
169 enable-active-high;
170 pinctrl-names = "default";
171 pinctrl-0 = <&hub_en>;
173 vin-supply = <&pp3300_z1>;
176 pp3300_tp: pp3300-tp-regulator {
177 compatible = "regulator-fixed";
178 regulator-name = "pp3300_tp";
180 regulator-min-microvolt = <3300000>;
181 regulator-max-microvolt = <3300000>;
184 regulator-always-on;
185 regulator-boot-on;
187 vin-supply = <&pp3300_z1>;
190 pp3300_ssd: pp3300-ssd-regulator {
191 compatible = "regulator-fixed";
192 regulator-name = "pp3300_ssd";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
198 enable-active-high;
199 pinctrl-names = "default";
200 pinctrl-0 = <&ssd_en>;
207 regulator-boot-on;
209 vin-supply = <&pp3300_z1>;
212 pp2850_vcm_wf_cam: pp2850-vcm-wf-cam-regulator {
213 compatible = "regulator-fixed";
214 regulator-name = "pp2850_vcm_wf_cam";
216 regulator-min-microvolt = <2850000>;
217 regulator-max-microvolt = <2850000>;
220 enable-active-high;
221 pinctrl-names = "default";
222 pinctrl-0 = <&wf_cam_en>;
224 vin-supply = <&pp3300_z1>;
228 pp2850_wf_cam: pp2850-wf-cam-regulator {
229 compatible = "regulator-fixed";
230 regulator-name = "pp2850_wf_cam";
232 regulator-min-microvolt = <2850000>;
233 regulator-max-microvolt = <2850000>;
236 enable-active-high;
241 * pinctrl-names = "default";
242 * pinctrl-0 = <&wf_cam_en>;
245 vin-supply = <&pp3300_z1>;
249 pp1800_fp: pp1800-fp-regulator {
250 compatible = "regulator-fixed";
251 regulator-name = "pp1800_fp";
253 regulator-min-microvolt = <1800000>;
254 regulator-max-microvolt = <1800000>;
256 regulator-boot-on;
257 regulator-always-on;
262 * needs to control the FP regulators during a FW update,
266 pinctrl-names = "default";
267 pinctrl-0 = <&en_fp_rails>;
269 vin-supply = <&pp1800_l18b_s0>;
273 pp1800_wf_cam: pp1800-wf-cam-regulator {
274 compatible = "regulator-fixed";
275 regulator-name = "pp1800_wf_cam";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
281 enable-active-high;
286 * pinctrl-names = "default";
287 * pinctrl-0 = <&wf_cam_en>;
290 vin-supply = <&vreg_l19b_s0>;
294 pp1200_wf_cam: pp1200-wf-cam-regulator {
295 compatible = "regulator-fixed";
296 regulator-name = "pp1200_wf_cam";
298 regulator-min-microvolt = <1200000>;
299 regulator-max-microvolt = <1200000>;
302 enable-active-high;
307 * pinctrl-names = "default";
308 * pinctrl-0 = <&wf_cam_en>;
311 vin-supply = <&pp3300_z1>;
315 /* BOARD-SPECIFIC TOP LEVEL NODES */
317 max98360a: audio-codec-0 {
319 pinctrl-names = "default";
320 pinctrl-0 = <&_en>;
321 sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
322 #sound-dai-cells = <0>;
326 compatible = "pwm-leds";
328 keyboard_backlight: led-0 {
332 max-brightness = <1023>;
340 * Mostly this is just board-local names for regulators that come from
347 /* From Qcard to our board; ordered by PMIC-ID / rail number */
392 regulator-min-microvolt = <1800000>;
399 power-supply = <&vreg_edp_3p3>;
403 clock-frequency = <400000>;
409 #io-channel-cells = <1>;
410 pinctrl-names = "default";
411 pinctrl-0 = <&sar0_irq_odl>;
413 interrupt-parent = <&tlmm>;
416 vdd-supply = <&pp1800_prox>;
418 label = "proximity-wifi_cellular-0";
425 #io-channel-cells = <1>;
426 pinctrl-names = "default";
427 pinctrl-0 = <&sar1_irq_odl>;
429 interrupt-parent = <&tlmm>;
432 vdd-supply = <&pp1800_prox>;
434 label = "proximity-wifi_cellular-1";
441 clock-frequency = <400000>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&gsc_ap_int_odl>;
450 interrupt-parent = <&tlmm>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&dp_hot_plug_det>;
466 data-lanes = <0 1>;
467 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
470 /* NVMe drive, enabled on a per-board basis */
472 pinctrl-names = "default";
473 pinctrl-0 = <&pcie1_clkreq_n>, <&ssd_rst_l>, <&pe_wake_odl>;
475 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
476 vddpe-3v3-supply = <&pp3300_ssd>;
487 power-supply = <&vreg_edp_bl>;
502 /* SD Card, enabled on a per-board basis */
504 pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd_odl>;
505 pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd_odl>;
507 vmmc-supply = <&pp2950_l9c>;
508 vqmmc-supply = <&ppvar_l6c>;
510 cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
514 spi-max-frequency = <50000000>;
517 /* Fingerprint, enabled on a per-board basis */
519 pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs_gpio_init_high>, <&qup_spi9_cs_gpio>;
521 cs-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
524 compatible = "google,cros-ec-fp", "google,cros-ec-spi";
526 interrupt-parent = <&tlmm>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&fp_to_ap_irq_l>, <&fp_rst_l>, <&fpmcu_boot0>;
530 boot0-gpios = <&tlmm 68 GPIO_ACTIVE_HIGH>;
531 reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>;
532 spi-max-frequency = <3000000>;
533 vdd-supply = <&pp3300_fp_mcu>;
539 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>;
541 cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
544 compatible = "google,cros-ec-spi";
546 interrupt-parent = <&tlmm>;
548 pinctrl-names = "default";
549 pinctrl-0 = <&ap_ec_int_l>;
550 spi-max-frequency = <3000000>;
551 wakeup-source;
554 compatible = "google,cros-ec-pwm";
555 #pwm-cells = <1>;
558 i2c_tunnel: i2c-tunnel {
559 compatible = "google,cros-ec-i2c-tunnel";
560 google,remote-bus = <0>;
561 #address-cells = <1>;
562 #size-cells = <0>;
566 compatible = "google,cros-ec-typec";
567 #address-cells = <1>;
568 #size-cells = <0>;
571 compatible = "usb-c-connector";
574 power-role = "dual";
575 data-role = "host";
576 try-power-role = "source";
580 compatible = "usb-c-connector";
583 power-role = "dual";
584 data-role = "host";
585 try-power-role = "source";
591 #include <arm/cros-ec-keyboard.dtsi>
592 #include <arm/cros-ec-sbs.dtsi>
595 function-row-physmap = <
630 #address-cells = <1>;
631 #size-cells = <0>;
637 vdd-supply = <&pp3300_hub>;
638 peer-hub = <&usb_hub_3_x>;
645 vdd-supply = <&pp3300_hub>;
646 peer-hub = <&usb_hub_2_x>;
653 qcom,hs-rise-fall-time-bp = <0>;
654 qcom,squelch-detector-bp = <(-2090)>;
655 qcom,hs-disconnect-bp = <1743>;
656 qcom,hs-amplitude-bp = <1780>;
657 qcom,hs-crossover-voltage-microvolt = <(-31000)>;
658 qcom,hs-output-impedance-micro-ohms = <2600000>;
665 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
668 bias-disable;
672 drive-strength = <6>;
673 bias-disable;
677 drive-strength = <6>;
678 bias-disable;
682 drive-strength = <6>;
683 bias-disable;
687 bias-pull-up;
688 drive-strength = <2>;
692 bias-disable; /* External pullup */
693 drive-strength = <8>;
697 bias-pull-down; /* No external pulls */
698 drive-strength = <8>;
702 bias-pull-down; /* No external pulls */
703 drive-strength = <8>;
707 bias-disable; /* External pulldown */
708 drive-strength = <8>;
714 bias-disable;
715 drive-strength = <2>;
721 bias-disable;
722 drive-strength = <2>;
727 bias-disable;
728 drive-strength = <2>;
733 bias-disable;
734 drive-strength = <2>;
739 bias-disable;
740 drive-strength = <2>;
745 bias-disable;
746 drive-strength = <2>;
751 bias-pull-up;
756 bias-disable;
757 drive-strength = <2>;
761 bias-disable;
762 drive-strength = <16>;
766 bias-pull-up;
767 drive-strength = <10>;
771 bias-pull-up;
772 drive-strength = <10>;
775 /* PINCTRL - board-specific pinctrl */
783 status = "disabled"; /* No GPIOs are connected */
787 status = "disabled"; /* No GPIOs are connected */
792 pinctrl-names = "default";
793 pinctrl-0 = <&bios_flash_wp_od>;
795 amp_en: amp-en-state {
798 bias-disable;
799 drive-strength = <2>;
802 ap_ec_int_l: ap-ec-int-l-state {
805 bias-pull-up;
808 bios_flash_wp_od: bios-flash-wp-od-state {
812 bias-disable;
815 en_fp_rails: en-fp-rails-state {
818 bias-disable;
819 drive-strength = <2>;
820 output-high;
823 en_pp3300_codec: en-pp3300-codec-state {
826 bias-disable;
827 drive-strength = <2>;
830 en_pp3300_dx_edp: en-pp3300-dx-edp-state {
833 bias-disable;
834 drive-strength = <2>;
837 fp_rst_l: fp-rst-l-state {
840 bias-disable;
841 drive-strength = <2>;
844 fp_to_ap_irq_l: fp-to-ap-irq-l-state {
848 bias-disable;
851 fpmcu_boot0: fpmcu-boot0-state {
854 bias-disable;
857 gsc_ap_int_odl: gsc-ap-int-odl-state {
860 bias-pull-up;
863 hp_irq: hp-irq-state {
866 bias-pull-up;
869 hub_en: hub-en-state {
872 bias-disable;
873 drive-strength = <2>;
876 pe_wake_odl: pe-wake-odl-state {
880 bias-disable;
881 drive-strength = <2>;
885 qup_spi9_cs_gpio_init_high: qup-spi9-cs-gpio-init-high-state {
888 output-high;
892 qup_spi10_cs_gpio_init_high: qup-spi10-cs-gpio-init-high-state {
895 output-high;
898 sar0_irq_odl: sar0-irq-odl-state {
901 bias-pull-up;
904 sar1_irq_odl: sar1-irq-odl-state {
907 bias-pull-up;
910 sd_cd_odl: sd-cd-odl-state {
913 bias-pull-up;
916 ssd_en: ssd-en-state {
919 bias-disable;
920 drive-strength = <2>;
923 ssd_rst_l: ssd-rst-l-state {
926 bias-disable;
927 drive-strength = <2>;
928 output-low;
931 tp_int_odl: tp-int-odl-state {
935 bias-disable;
938 wf_cam_en: wf-cam-en-state {
942 bias-disable;
943 drive-strength = <2>;