Lines Matching +full:cros +full:- +full:ec +full:- +full:regulator

1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/regulator/dlg,da9211-regulator.h>
9 #include <dt-bindings/gpio/gpio.h>
25 compatible = "pwm-backlight";
27 power-supply = <&bl_fixed_reg>;
28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&panel_backlight_en_pins>;
36 compatible = "regulator-fixed";
37 regulator-name = "bl_fixed";
38 regulator-min-microvolt = <1800000>;
39 regulator-max-microvolt = <1800000>;
40 startup-delay-us = <1000>;
41 enable-active-high;
43 pinctrl-names = "default";
44 pinctrl-0 = <&bl_fixed_pins>;
48 stdout-path = "serial0:115200n8";
51 gpio_keys: gpio-keys {
52 compatible = "gpio-keys";
53 pinctrl-names = "default";
54 pinctrl-0 = <&gpio_keys_pins>;
56 switch-lid {
60 linux,input-type = <EV_SW>;
61 wakeup-source;
64 switch-power {
68 debounce-interval = <30>;
69 wakeup-source;
72 switch-tablet-mode {
76 linux,input-type = <EV_SW>;
77 wakeup-source;
80 switch-volume-down {
86 switch-volume-up {
94 compatible = "regulator-fixed";
95 regulator-name = "PANEL_3V3";
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 enable-active-high;
99 regulator-boot-on;
100 off-on-delay-us = <500000>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&panel_fixed_pins>;
107 compatible = "regulator-fixed";
108 regulator-name = "PS8640_1V2";
109 regulator-min-microvolt = <1200000>;
110 regulator-max-microvolt = <1200000>;
111 regulator-enable-ramp-delay = <2000>;
112 enable-active-high;
113 regulator-boot-on;
115 pinctrl-names = "default";
116 pinctrl-0 = <&ps8640_fixed_pins>;
120 compatible = "regulator-fixed";
121 regulator-name = "3V3";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&sdio_fixed_3v3_pins>;
130 compatible = "mediatek,mt8173-rt5650";
131 mediatek,audio-codec = <&rt5650 &hdmi0>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&aud_i2s2>;
137 codec-capture {
138 sound-dai = <&rt5650 1>;
143 compatible = "hdmi-connector";
146 ddc-i2c-bus = <&hdmiddc0>;
150 remote-endpoint = <&hdmi0_out>;
156 compatible = "arm,smc-wdt";
169 domain-supply = <&da9211_vgpu_reg>;
177 proc-supply = <&mt6397_vpca15_reg>;
181 proc-supply = <&mt6397_vpca15_reg>;
185 proc-supply = <&da9211_vcpu_reg>;
186 sram-supply = <&mt6397_vsramca7_reg>;
190 proc-supply = <&da9211_vcpu_reg>;
191 sram-supply = <&mt6397_vsramca7_reg>;
195 sustainable-power = <4500>; /* milliwatts */
197 threshold: trip-point0 {
201 target: trip-point1 {
212 remote-endpoint = <&ps8640_in>;
229 remote-endpoint = <&hdmi_connector_in>;
243 rt5650: audio-codec@1a {
246 avdd-supply = <&mt6397_vgp1_reg>;
247 cpvdd-supply = <&mt6397_vcama_reg>;
248 interrupts-extended = <&pio 3 IRQ_TYPE_EDGE_BOTH>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&rt5650_irq>;
251 #sound-dai-cells = <1>;
252 realtek,dmic1-data-pin = <2>;
253 realtek,jd-mode = <2>;
256 ps8640: edp-bridge@8 {
259 powerdown-gpios = <&pio 127 GPIO_ACTIVE_LOW>;
260 reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&ps8640_pins>;
263 vdd12-supply = <&ps8640_fixed_1v2>;
264 vdd33-supply = <&mt6397_vgp2_reg>;
267 #address-cells = <1>;
268 #size-cells = <0>;
274 remote-endpoint = <&dsi0_out>;
282 remote-endpoint = <&panel_in>;
287 aux-bus {
289 compatible = "edp-panel";
290 power-supply = <&panel_fixed_3v3>;
295 remote-endpoint = <&ps8640_out>;
304 clock-frequency = <1500000>;
310 interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
314 regulator-name = "VBUCKA";
315 regulator-min-microvolt = < 700000>;
316 regulator-max-microvolt = <1310000>;
317 regulator-min-microamp = <2000000>;
318 regulator-max-microamp = <4400000>;
319 regulator-ramp-delay = <10000>;
320 regulator-always-on;
321 regulator-allowed-modes = <DA9211_BUCK_MODE_SYNC
326 regulator-name = "VBUCKB";
327 regulator-min-microvolt = < 700000>;
328 regulator-max-microvolt = <1310000>;
329 regulator-min-microamp = <2000000>;
330 regulator-max-microamp = <3000000>;
331 regulator-ramp-delay = <10000>;
343 powered-while-suspended;
348 clock-frequency = <400000>;
354 interrupts-extended = <&pio 88 IRQ_TYPE_LEVEL_LOW>;
359 clock-frequency = <400000>;
364 interrupts-extended = <&pio 117 IRQ_TYPE_LEVEL_LOW>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&trackpad_irq>;
368 vcc-supply = <&mt6397_vgp6_reg>;
369 wakeup-source;
379 pinctrl-names = "default", "state_uhs";
380 pinctrl-0 = <&mmc0_pins_default>;
381 pinctrl-1 = <&mmc0_pins_uhs>;
382 bus-width = <8>;
383 max-frequency = <200000000>;
384 cap-mmc-highspeed;
385 mmc-hs200-1_8v;
386 mmc-hs400-1_8v;
387 cap-mmc-hw-reset;
388 hs400-ds-delay = <0x14015>;
389 mediatek,hs200-cmd-int-delay = <30>;
390 mediatek,hs400-cmd-int-delay = <14>;
391 mediatek,hs400-cmd-resp-sel-rising;
392 vmmc-supply = <&mt6397_vemc_3v3_reg>;
393 vqmmc-supply = <&mt6397_vio18_reg>;
394 assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>;
395 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
396 non-removable;
401 pinctrl-names = "default", "state_uhs";
402 pinctrl-0 = <&mmc1_pins_default>;
403 pinctrl-1 = <&mmc1_pins_uhs>;
404 bus-width = <4>;
405 max-frequency = <200000000>;
406 cap-sd-highspeed;
407 sd-uhs-sdr50;
408 sd-uhs-sdr104;
409 cd-gpios = <&pio 1 GPIO_ACTIVE_LOW>;
410 vmmc-supply = <&mt6397_vmch_reg>;
411 vqmmc-supply = <&mt6397_vmc_reg>;
416 pinctrl-names = "default", "state_uhs";
417 pinctrl-0 = <&mmc3_pins_default>;
418 pinctrl-1 = <&mmc3_pins_uhs>;
419 bus-width = <4>;
420 max-frequency = <200000000>;
421 cap-sd-highspeed;
422 sd-uhs-sdr50;
423 sd-uhs-sdr104;
424 keep-power-in-suspend;
425 wakeup-source;
426 cap-sdio-irq;
427 vmmc-supply = <&sdio_fixed_3v3>;
428 vqmmc-supply = <&mt6397_vgp3_reg>;
429 non-removable;
430 cap-power-off-card;
432 #address-cells = <1>;
433 #size-cells = <0>;
436 compatible = "marvell,sd8897-bt";
438 interrupts-extended = <&pio 119 IRQ_TYPE_LEVEL_LOW>;
439 marvell,wakeup-pin = /bits/ 16 <0x0d>;
440 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
446 interrupts-extended = <&pio 38 IRQ_TYPE_LEVEL_LOW>;
447 marvell,wakeup-pin = <3>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&nor_gpio1_pins>;
457 compatible = "jedec,spi-nor";
459 spi-max-frequency = <50000000>;
464 gpio-line-names = "EC_INT_1V8",
613 bias-pull-down;
620 output-low;
627 bias-pull-up;
634 output-low;
642 bias-pull-up;
647 bias-pull-up;
660 bias-pull-up;
675 bias-pull-up;
680 bias-pull-down;
685 bias-pull-up;
696 input-enable;
697 drive-strength = <MTK_DRIVE_4mA>;
698 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
703 bias-pull-down;
704 drive-strength = <MTK_DRIVE_4mA>;
709 bias-pull-up;
719 input-enable;
720 drive-strength = <MTK_DRIVE_8mA>;
721 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
726 input-enable;
727 drive-strength = <MTK_DRIVE_8mA>;
728 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
733 bias-pull-down;
734 drive-strength = <MTK_DRIVE_8mA>;
749 input-enable;
750 drive-strength = <MTK_DRIVE_6mA>;
751 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
756 drive-strength = <MTK_DRIVE_6mA>;
757 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
762 drive-strength = <MTK_DRIVE_10mA>;
763 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
768 bias-pull-up;
779 input-enable;
780 drive-strength = <MTK_DRIVE_6mA>;
781 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
786 drive-strength = <MTK_DRIVE_8mA>;
787 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
797 input-enable;
798 drive-strength = <MTK_DRIVE_8mA>;
799 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
804 input-enable;
805 drive-strength = <MTK_DRIVE_8mA>;
806 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
811 drive-strength = <MTK_DRIVE_8mA>;
812 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
821 input-enable;
822 drive-strength = <MTK_DRIVE_4mA>;
823 bias-pull-up;
828 drive-strength = <MTK_DRIVE_4mA>;
829 bias-pull-up;
834 input-enable;
835 drive-strength = <MTK_DRIVE_4mA>;
836 bias-pull-up;
869 bias-pull-down;
876 output-low;
883 bias-pull-up;
891 bias-disable;
898 input-enable;
899 bias-pull-up;
906 output-high;
907 bias-disable;
914 bias-pull-up;
920 pinctrl-names = "default";
921 pinctrl-0 = <&disp_pwm0_pins>;
928 #address-cells = <1>;
929 #size-cells = <1>;
930 interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_HIGH>;
931 interrupt-controller;
932 #interrupt-cells = <2>;
935 compatible = "mediatek,mt6397-clk";
936 #clock-cells = <1>;
940 compatible = "mediatek,mt6397-pinctrl";
941 gpio-controller;
942 #gpio-cells = <2>;
945 regulator: mt6397regulator { label
946 compatible = "mediatek,mt6397-regulator";
949 regulator-compatible = "buck_vpca15";
950 regulator-name = "vpca15";
951 regulator-min-microvolt = < 700000>;
952 regulator-max-microvolt = <1350000>;
953 regulator-ramp-delay = <12500>;
954 regulator-always-on;
955 regulator-allowed-modes = <0 1>;
959 regulator-compatible = "buck_vpca7";
960 regulator-name = "vpca7";
961 regulator-min-microvolt = < 700000>;
962 regulator-max-microvolt = <1350000>;
963 regulator-ramp-delay = <12500>;
964 regulator-enable-ramp-delay = <115>;
965 regulator-always-on;
969 regulator-compatible = "buck_vsramca15";
970 regulator-name = "vsramca15";
971 regulator-min-microvolt = < 700000>;
972 regulator-max-microvolt = <1350000>;
973 regulator-ramp-delay = <12500>;
974 regulator-always-on;
978 regulator-compatible = "buck_vsramca7";
979 regulator-name = "vsramca7";
980 regulator-min-microvolt = < 700000>;
981 regulator-max-microvolt = <1350000>;
982 regulator-ramp-delay = <12500>;
983 regulator-always-on;
987 regulator-compatible = "buck_vcore";
988 regulator-name = "vcore";
989 regulator-min-microvolt = < 700000>;
990 regulator-max-microvolt = <1350000>;
991 regulator-ramp-delay = <12500>;
992 regulator-always-on;
996 regulator-compatible = "buck_vgpu";
997 regulator-name = "vgpu";
998 regulator-min-microvolt = < 700000>;
999 regulator-max-microvolt = <1350000>;
1000 regulator-ramp-delay = <12500>;
1001 regulator-enable-ramp-delay = <115>;
1005 regulator-compatible = "buck_vdrm";
1006 regulator-name = "vdrm";
1007 regulator-min-microvolt = <1200000>;
1008 regulator-max-microvolt = <1400000>;
1009 regulator-ramp-delay = <12500>;
1010 regulator-always-on;
1014 regulator-compatible = "buck_vio18";
1015 regulator-name = "vio18";
1016 regulator-min-microvolt = <1620000>;
1017 regulator-max-microvolt = <1980000>;
1018 regulator-ramp-delay = <12500>;
1019 regulator-always-on;
1023 regulator-compatible = "ldo_vtcxo";
1024 regulator-name = "vtcxo";
1025 regulator-always-on;
1029 regulator-compatible = "ldo_va28";
1030 regulator-name = "va28";
1034 regulator-compatible = "ldo_vcama";
1035 regulator-name = "vcama";
1036 regulator-min-microvolt = <1800000>;
1037 regulator-max-microvolt = <1800000>;
1038 regulator-enable-ramp-delay = <218>;
1042 regulator-compatible = "ldo_vio28";
1043 regulator-name = "vio28";
1044 regulator-always-on;
1048 regulator-compatible = "ldo_vusb";
1049 regulator-name = "vusb";
1053 regulator-compatible = "ldo_vmc";
1054 regulator-name = "vmc";
1055 regulator-min-microvolt = <1800000>;
1056 regulator-max-microvolt = <3300000>;
1057 regulator-enable-ramp-delay = <218>;
1061 regulator-compatible = "ldo_vmch";
1062 regulator-name = "vmch";
1063 regulator-min-microvolt = <3000000>;
1064 regulator-max-microvolt = <3300000>;
1065 regulator-enable-ramp-delay = <218>;
1069 regulator-compatible = "ldo_vemc3v3";
1070 regulator-name = "vemc_3v3";
1071 regulator-min-microvolt = <3000000>;
1072 regulator-max-microvolt = <3300000>;
1073 regulator-enable-ramp-delay = <218>;
1077 regulator-compatible = "ldo_vgp1";
1078 regulator-name = "vcamd";
1079 regulator-min-microvolt = <1800000>;
1080 regulator-max-microvolt = <1800000>;
1081 regulator-enable-ramp-delay = <240>;
1085 regulator-compatible = "ldo_vgp2";
1086 regulator-name = "vcamio";
1087 regulator-min-microvolt = <3300000>;
1088 regulator-max-microvolt = <3300000>;
1089 regulator-enable-ramp-delay = <218>;
1093 regulator-compatible = "ldo_vgp3";
1094 regulator-name = "vcamaf";
1095 regulator-min-microvolt = <1800000>;
1096 regulator-max-microvolt = <1800000>;
1097 regulator-enable-ramp-delay = <218>;
1101 regulator-compatible = "ldo_vgp4";
1102 regulator-name = "vgp4";
1103 regulator-min-microvolt = <1200000>;
1104 regulator-max-microvolt = <3300000>;
1105 regulator-enable-ramp-delay = <218>;
1109 regulator-compatible = "ldo_vgp5";
1110 regulator-name = "vgp5";
1111 regulator-min-microvolt = <1200000>;
1112 regulator-max-microvolt = <3000000>;
1113 regulator-enable-ramp-delay = <218>;
1117 regulator-compatible = "ldo_vgp6";
1118 regulator-name = "vgp6";
1119 regulator-min-microvolt = <3300000>;
1120 regulator-max-microvolt = <3300000>;
1121 regulator-enable-ramp-delay = <218>;
1122 regulator-always-on;
1126 regulator-compatible = "ldo_vibr";
1127 regulator-name = "vibr";
1128 regulator-min-microvolt = <1300000>;
1129 regulator-max-microvolt = <3300000>;
1130 regulator-enable-ramp-delay = <218>;
1135 compatible = "mediatek,mt6397-rtc";
1141 pinctrl-names = "default";
1142 pinctrl-0 = <&spi_pins_a>;
1143 mediatek,pad-select = <1>;
1146 cros_ec: ec@0 {
1147 compatible = "google,cros-ec-spi";
1149 spi-max-frequency = <12000000>;
1150 interrupts-extended = <&pio 0 IRQ_TYPE_LEVEL_LOW>;
1151 google,cros-ec-spi-msg-delay = <500>;
1152 wakeup-source;
1154 i2c_tunnel: i2c-tunnel0 {
1155 compatible = "google,cros-ec-i2c-tunnel";
1156 google,remote-bus = <0>;
1157 #address-cells = <1>;
1158 #size-cells = <0>;
1160 battery: sbs-battery@b {
1161 compatible = "sbs,sbs-battery";
1163 sbs,i2c-retry-count = <2>;
1164 sbs,poll-retry-count = <1>;
1172 wakeup-source;
1173 vusb33-supply = <&mt6397_vusb_reg>;
1178 bank0-supply = <&mt6397_vpca15_reg>;
1179 bank1-supply = <&da9211_vcpu_reg>;
1187 pinctrl-names = "default";
1188 pinctrl-0 = <&usb_pins>;
1189 vusb33-supply = <&mt6397_vusb_reg>;
1193 #include <arm/cros-ec-keyboard.dtsi>