Lines Matching +full:ck +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
36 stdout-path = "serial0:115200n8";
39 dmic-codec {
40 compatible = "dmic-codec";
41 num-channels = <2>;
42 wakeup-delay-ms = <50>;
50 pp3300_disp_x: regulator-pp3300-disp-x {
51 compatible = "regulator-fixed";
52 regulator-name = "pp3300_disp_x";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
55 regulator-enable-ramp-delay = <2500>;
56 enable-active-high;
58 pinctrl-names = "default";
59 pinctrl-0 = <&panel_fixed_pins>;
60 vin-supply = <&pp3300_z2>;
64 pp3300_z5: regulator-pp3300-ldo-z5 {
65 compatible = "regulator-fixed";
66 regulator-name = "pp3300_ldo_z5";
67 regulator-always-on;
68 regulator-boot-on;
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
71 vin-supply = <&ppvar_sys>;
75 pp3300_s3: regulator-pp3300-s3 {
76 compatible = "regulator-fixed";
77 regulator-name = "pp3300_s3";
79 regulator-always-on;
80 regulator-boot-on;
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 vin-supply = <&pp3300_z2>;
87 pp3300_z2: regulator-pp3300-z2 {
88 compatible = "regulator-fixed";
89 regulator-name = "pp3300_z2";
91 regulator-always-on;
92 regulator-boot-on;
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
95 vin-supply = <&ppvar_sys>;
99 pp4200_z2: regulator-pp4200-z2 {
100 compatible = "regulator-fixed";
101 regulator-name = "pp4200_z2";
103 regulator-always-on;
104 regulator-boot-on;
105 regulator-min-microvolt = <4200000>;
106 regulator-max-microvolt = <4200000>;
107 vin-supply = <&ppvar_sys>;
111 pp5000_s5: regulator-pp5000-s5 {
112 compatible = "regulator-fixed";
113 regulator-name = "pp5000_s5";
115 regulator-always-on;
116 regulator-boot-on;
117 regulator-min-microvolt = <5000000>;
118 regulator-max-microvolt = <5000000>;
119 vin-supply = <&ppvar_sys>;
122 /* system wide semi-regulated power rail from battery or USB */
123 ppvar_sys: regulator-ppvar-sys {
124 compatible = "regulator-fixed";
125 regulator-name = "ppvar_sys";
126 regulator-always-on;
127 regulator-boot-on;
131 tboard_thermistor1: thermal-sensor-t1 {
132 compatible = "generic-adc-thermal";
133 #thermal-sensor-cells = <0>;
134 io-channels = <&auxadc 0>;
135 io-channel-names = "sensor-channel";
136 temperature-lookup-table = < (-10000) 1553
137 (-5000) 1485
166 tboard_thermistor2: thermal-sensor-t2 {
167 compatible = "generic-adc-thermal";
168 #thermal-sensor-cells = <0>;
169 io-channels = <&auxadc 1>;
170 io-channel-names = "sensor-channel";
171 temperature-lookup-table = < (-10000) 1553
172 (-5000) 1485
201 usb_vbus: regulator-5v0-usb-vbus {
202 compatible = "regulator-fixed";
203 regulator-name = "usb-vbus";
204 regulator-min-microvolt = <5000000>;
205 regulator-max-microvolt = <5000000>;
206 enable-active-high;
207 regulator-always-on;
210 reserved_memory: reserved-memory {
211 #address-cells = <2>;
212 #size-cells = <2>;
216 compatible = "shared-dma-pool";
218 no-map;
222 compatible = "shared-dma-pool";
224 no-map;
228 compatible = "shared-dma-pool";
230 no-map;
234 compatible = "shared-dma-pool";
236 no-map;
243 pinctrl-names = "default";
244 pinctrl-0 = <&rt1019p_pins_default>;
245 sdb-gpios = <&pio 100 GPIO_ACTIVE_HIGH>;
252 memory-region = <&adsp_device_mem>, <&adsp_mem>;
258 mediatek,etdm-in2-cowork-source = <2>;
259 mediatek,etdm-out2-cowork-source = <0>;
260 memory-region = <&afe_mem>;
272 remote-endpoint = <&edp_in>;
282 remote-endpoint = <&dptx_in>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&edptx_pins_default>;
294 #address-cells = <1>;
295 #size-cells = <0>;
300 remote-endpoint = <&dp_intf0_out>;
307 data-lanes = <0 1 2 3>;
308 remote-endpoint = <&panel_in>;
313 aux-bus {
315 compatible = "edp-panel";
316 power-supply = <&pp3300_disp_x>;
320 remote-endpoint = <&edp_out>;
330 pinctrl-names = "default";
331 pinctrl-0 = <&disp_pwm0_pin_default>;
337 pinctrl-names = "default";
338 pinctrl-0 = <&dptx_pin>;
341 #address-cells = <1>;
342 #size-cells = <0>;
347 remote-endpoint = <&dp_intf1_out>;
354 data-lanes = <0 1 2 3>;
361 mediatek,broken-save-restore-fw;
366 mali-supply = <&mt6315_7_vbuck1>;
372 clock-frequency = <400000>;
373 pinctrl-names = "default";
374 pinctrl-0 = <&i2c0_pins>;
380 clock-frequency = <400000>;
381 i2c-scl-internal-delay-ns = <12500>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&i2c1_pins>;
388 interrupts-extended = <&pio 6 IRQ_TYPE_LEVEL_LOW>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&trackpad_pins>;
391 vcc-supply = <&pp3300_s3>;
392 wakeup-source;
399 clock-frequency = <400000>;
400 pinctrl-names = "default";
401 pinctrl-0 = <&i2c2_pins>;
406 interrupts-extended = <&pio 89 IRQ_TYPE_EDGE_BOTH>;
407 realtek,jd-src = <1>;
409 AVDD-supply = <&mt6359_vio18_ldo_reg>;
410 MICVDD-supply = <&pp3300_z2>;
411 VBAT-supply = <&pp3300_z5>;
418 clock-frequency = <400000>;
419 pinctrl-names = "default";
420 pinctrl-0 = <&i2c3_pins>;
425 interrupts-extended = <&pio 88 IRQ_TYPE_EDGE_FALLING>;
426 pinctrl-names = "default";
427 pinctrl-0 = <&cr50_int>;
434 clock-frequency = <400000>;
435 pinctrl-names = "default";
436 pinctrl-0 = <&i2c4_pins>;
439 compatible = "hid-over-i2c";
441 hid-descr-addr = <0x0001>;
442 interrupts-extended = <&pio 92 IRQ_TYPE_LEVEL_LOW>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&touchscreen_pins>;
445 post-power-on-delay-ms = <10>;
446 vdd-supply = <&pp3300_s3>;
454 clock-frequency = <400000>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&i2c5_pins>;
462 clock-frequency = <400000>;
463 pinctrl-names = "default";
464 pinctrl-0 = <&i2c7_pins>;
467 #interrupt-cells = <2>;
470 interrupt-controller;
471 interrupts-extended = <&pio 130 IRQ_TYPE_EDGE_FALLING>;
472 interrupt-names = "IRQB";
473 pinctrl-names = "default";
474 pinctrl-0 = <&subpmic_default>;
475 wakeup-source;
480 domain-supply = <&mt6315_7_vbuck1>;
484 domain-supply = <&mt6359_vsram_others_ldo_reg>;
490 bus-width = <8>;
491 cap-mmc-highspeed;
492 cap-mmc-hw-reset;
493 hs400-ds-delay = <0x14c11>;
494 max-frequency = <200000000>;
495 mmc-hs200-1_8v;
496 mmc-hs400-1_8v;
497 no-sdio;
498 no-sd;
499 non-removable;
500 pinctrl-names = "default", "state_uhs";
501 pinctrl-0 = <&mmc0_pins_default>;
502 pinctrl-1 = <&mmc0_pins_uhs>;
503 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
504 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
510 bus-width = <4>;
511 cap-sd-highspeed;
512 cd-gpios = <&pio 54 GPIO_ACTIVE_LOW>;
513 max-frequency = <200000000>;
514 no-mmc;
515 no-sdio;
516 pinctrl-names = "default", "state_uhs";
517 pinctrl-0 = <&mmc1_pins_default>, <&mmc1_pins_detect>;
518 pinctrl-1 = <&mmc1_pins_default>;
519 sd-uhs-sdr50;
520 sd-uhs-sdr104;
521 vmmc-supply = <&mt_pmic_vmch_ldo_reg>;
522 vqmmc-supply = <&mt_pmic_vmc_ldo_reg>;
526 mediatek,dmic-mode = <1>; /* one-wire */
527 mediatek,mic-type-0 = <2>; /* DMIC */
530 /* for CPU-L */
532 regulator-always-on;
537 regulator-always-on;
541 regulator-always-on;
542 regulator-min-microvolt = <550000>;
543 regulator-max-microvolt = <550000>;
548 regulator-always-on;
552 regulator-always-on;
557 regulator-min-microvolt = <750000>;
558 regulator-max-microvolt = <750000>;
562 regulator-always-on;
568 pinctrl-names = "default";
569 pinctrl-0 = <&nor_pins_default>;
572 compatible = "jedec,spi-nor";
574 spi-max-frequency = <52000000>;
575 spi-rx-bus-width = <2>;
576 spi-tx-bus-width = <2>;
583 pinctrl-names = "default";
584 pinctrl-0 = <&pcie1_pins_default>;
588 mediatek,rsel-resistance-in-si-unit;
589 pinctrl-names = "default";
590 pinctrl-0 = <&pio_default>;
593 gpio-line-names =
743 aud_pins_default: audio-default-pins {
744 pins-cmd-dat {
764 pins-hp-jack-int-odl {
766 input-enable;
767 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
771 cr50_int: cr50-irq-default-pins {
772 pins-gsc-ap-int-odl {
774 input-enable;
778 cros_ec_int: cros-ec-irq-default-pins {
779 pins-ec-ap-int-odl {
781 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
782 input-enable;
786 edptx_pins_default: edptx-default-pins {
787 pins-cmd-dat {
789 bias-pull-up;
793 disp_pwm0_pin_default: disp-pwm0-default-pins {
794 pins-disp-pwm {
800 dptx_pin: dptx-default-pins {
801 pins-cmd-dat {
803 bias-pull-up;
807 i2c0_pins: i2c0-default-pins {
808 pins-bus {
811 bias-disable;
812 drive-strength-microamp = <1000>;
816 i2c1_pins: i2c1-default-pins {
817 pins-bus {
820 bias-pull-up = <1000>;
821 drive-strength-microamp = <1000>;
825 i2c2_pins: i2c2-default-pins {
826 pins-bus {
829 bias-disable;
830 drive-strength-microamp = <1000>;
834 i2c3_pins: i2c3-default-pins {
835 pins-bus {
838 bias-pull-up = <1000>;
839 drive-strength-microamp = <1000>;
843 i2c4_pins: i2c4-default-pins {
844 pins-bus {
847 bias-pull-up = <1000>;
848 drive-strength = <4>;
852 i2c5_pins: i2c5-default-pins {
853 pins-bus {
856 bias-disable;
857 drive-strength-microamp = <1000>;
861 i2c7_pins: i2c7-default-pins {
862 pins-bus {
865 bias-disable;
869 mmc0_pins_default: mmc0-default-pins {
870 pins-cmd-dat {
880 input-enable;
881 drive-strength = <6>;
882 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
885 pins-clk {
887 drive-strength = <6>;
888 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
891 pins-rst {
893 drive-strength = <6>;
894 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
898 mmc0_pins_uhs: mmc0-uhs-pins {
899 pins-cmd-dat {
909 input-enable;
910 drive-strength = <8>;
911 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
914 pins-clk {
916 drive-strength = <8>;
917 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
920 pins-ds {
922 drive-strength = <8>;
923 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
926 pins-rst {
928 drive-strength = <8>;
929 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
933 mmc1_pins_detect: mmc1-detect-pins {
934 pins-insert {
936 bias-pull-up;
940 mmc1_pins_default: mmc1-default-pins {
941 pins-cmd-dat {
947 input-enable;
948 drive-strength = <8>;
949 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
952 pins-clk {
954 drive-strength = <8>;
955 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
959 nor_pins_default: nor-default-pins {
960 pins-ck-io {
964 drive-strength = <6>;
965 bias-pull-down;
968 pins-cs {
970 drive-strength = <6>;
971 bias-pull-up;
975 pcie0_pins_default: pcie0-default-pins {
976 pins-bus {
980 bias-pull-up;
984 pcie1_pins_default: pcie1-default-pins {
985 pins-bus {
989 bias-pull-up;
993 panel_fixed_pins: panel-pwr-default-pins {
994 pins-vreg-en {
999 pio_default: pio-default-pins {
1000 pins-wifi-enable {
1002 output-high;
1003 drive-strength = <14>;
1006 pins-low-power-pd {
1018 input-enable;
1019 bias-pull-down;
1022 pins-low-power-pupd {
1038 input-enable;
1039 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
1043 rt1019p_pins_default: rt1019p-default-pins {
1044 pins-amp-sdb {
1046 output-low;
1050 scp_pins: scp-default-pins {
1051 pins-vreq {
1053 bias-disable;
1054 input-enable;
1058 spi0_pins: spi0-default-pins {
1059 pins-cs-mosi-clk {
1063 bias-disable;
1066 pins-miso {
1068 bias-pull-down;
1072 subpmic_default: subpmic-default-pins {
1073 subpmic_pin_irq: pins-subpmic-int-n {
1075 input-enable;
1076 bias-pull-up;
1080 trackpad_pins: trackpad-default-pins {
1081 pins-int-n {
1083 input-enable;
1084 bias-pull-up;
1088 touchscreen_pins: touchscreen-default-pins {
1089 pins-int-n {
1091 input-enable;
1092 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1094 pins-rst {
1096 output-high;
1098 pins-report-sw {
1100 output-low;
1106 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
1112 firmware-name = "mediatek/mt8195/scp.img";
1113 memory-region = <&scp_mem>;
1114 pinctrl-names = "default";
1115 pinctrl-0 = <&scp_pins>;
1117 cros-ec-rpmsg {
1118 compatible = "google,cros-ec-rpmsg";
1119 mediatek,rpmsg-name = "cros-ec-rpmsg";
1127 mediatek,dai-link =
1131 pinctrl-names = "default";
1132 pinctrl-0 = <&aud_pins_default>;
1138 pinctrl-names = "default";
1139 pinctrl-0 = <&spi0_pins>;
1140 mediatek,pad-select = <0>;
1143 #address-cells = <1>;
1144 #size-cells = <0>;
1146 compatible = "google,cros-ec-spi";
1148 interrupts-extended = <&pio 4 IRQ_TYPE_LEVEL_LOW>;
1149 pinctrl-names = "default";
1150 pinctrl-0 = <&cros_ec_int>;
1151 spi-max-frequency = <3000000>;
1153 keyboard-backlight {
1154 compatible = "google,cros-kbd-led-backlight";
1157 i2c_tunnel: i2c-tunnel {
1158 compatible = "google,cros-ec-i2c-tunnel";
1159 google,remote-bus = <0>;
1160 #address-cells = <1>;
1161 #size-cells = <0>;
1165 compatible = "google,cros-ec-regulator";
1167 regulator-name = "mt_pmic_vmc_ldo";
1168 regulator-min-microvolt = <1200000>;
1169 regulator-max-microvolt = <3600000>;
1173 compatible = "google,cros-ec-regulator";
1175 regulator-name = "mt_pmic_vmch_ldo";
1176 regulator-min-microvolt = <2700000>;
1177 regulator-max-microvolt = <3600000>;
1181 compatible = "google,cros-ec-typec";
1182 #address-cells = <1>;
1183 #size-cells = <0>;
1186 compatible = "usb-c-connector";
1188 power-role = "dual";
1189 data-role = "host";
1190 try-power-role = "source";
1194 compatible = "usb-c-connector";
1196 power-role = "dual";
1197 data-role = "host";
1198 try-power-role = "source";
1205 #address-cells = <2>;
1206 #size-cells = <0>;
1209 compatible = "mediatek,mt6315-regulator";
1214 regulator-compatible = "vbuck1";
1215 regulator-name = "Vbcpu";
1216 regulator-min-microvolt = <300000>;
1217 regulator-max-microvolt = <1193750>;
1218 regulator-enable-ramp-delay = <256>;
1219 regulator-ramp-delay = <6250>;
1220 regulator-allowed-modes = <0 1 2>;
1221 regulator-always-on;
1227 compatible = "mediatek,mt6315-regulator";
1232 regulator-compatible = "vbuck1";
1233 regulator-name = "Vgpu";
1234 regulator-min-microvolt = <625000>;
1235 regulator-max-microvolt = <1193750>;
1236 regulator-enable-ramp-delay = <256>;
1237 regulator-ramp-delay = <6250>;
1238 regulator-allowed-modes = <0 1 2>;
1245 soc-area-thermal {
1246 polling-delay = <1000>;
1247 polling-delay-passive = <250>;
1248 thermal-sensors = <&tboard_thermistor1>;
1251 trip-crit {
1259 pmic-area-thermal {
1260 polling-delay = <1000>;
1261 polling-delay-passive = <0>;
1262 thermal-sensors = <&tboard_thermistor2>;
1265 trip-crit {
1297 rx-fifo-depth = <3072>;
1298 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1299 vbus-supply = <&usb_vbus>;
1305 rx-fifo-depth = <3072>;
1306 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1307 vbus-supply = <&usb_vbus>;
1313 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1314 vbus-supply = <&usb_vbus>;
1321 usb2-lpm-disable;
1322 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1323 vbus-supply = <&usb_vbus>;
1326 #include <arm/cros-ec-keyboard.dtsi>
1327 #include <arm/cros-ec-sbs.dtsi>
1330 function-row-physmap = <