Lines Matching +full:sbs +full:- +full:battery

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>
19 compatible = "pwm-backlight";
21 power-supply = <&bl_fixed_reg>;
22 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&disp_pwm0_pins>;
30 compatible = "regulator-fixed";
31 regulator-name = "bl_fixed";
32 regulator-min-microvolt = <1800000>;
33 regulator-max-microvolt = <1800000>;
34 startup-delay-us = <1000>;
35 enable-active-high;
37 pinctrl-names = "default";
38 pinctrl-0 = <&bl_fixed_pins>;
42 stdout-path = "serial0:115200n8";
45 gpio_keys: gpio-keys {
46 compatible = "gpio-keys";
47 pinctrl-names = "default";
48 pinctrl-0 = <&gpio_keys_pins>;
54 linux,input-type = <EV_SW>;
55 gpio-key,wakeup;
62 debounce-interval = <30>;
63 gpio-key,wakeup;
70 linux,input-type = <EV_SW>;
71 gpio-key,wakeup;
89 power-supply = <&panel_fixed_3v3>;
90 ddc-i2c-bus = <&i2c0>;
95 remote-endpoint = <&ps8640_out>;
101 compatible = "regulator-fixed";
102 regulator-name = "PANEL_3V3";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
105 enable-active-high;
107 pinctrl-names = "default";
108 pinctrl-0 = <&panel_fixed_pins>;
112 compatible = "regulator-fixed";
113 regulator-name = "PS8640_1V2";
114 regulator-min-microvolt = <1200000>;
115 regulator-max-microvolt = <1200000>;
116 regulator-enable-ramp-delay = <2000>;
117 enable-active-high;
118 regulator-boot-on;
120 pinctrl-names = "default";
121 pinctrl-0 = <&ps8640_fixed_pins>;
125 compatible = "regulator-fixed";
126 regulator-name = "3V3";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&sdio_fixed_3v3_pins>;
135 compatible = "mediatek,mt8173-rt5650";
136 mediatek,audio-codec = <&rt5650 &hdmi0>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&aud_i2s2>;
142 codec-capture {
143 sound-dai = <&rt5650 1>;
148 compatible = "hdmi-connector";
151 ddc-i2c-bus = <&hdmiddc0>;
155 remote-endpoint = <&hdmi0_out>;
166 proc-supply = <&mt6397_vpca15_reg>;
170 proc-supply = <&mt6397_vpca15_reg>;
174 proc-supply = <&da9211_vcpu_reg>;
175 sram-supply = <&mt6397_vsramca7_reg>;
179 proc-supply = <&da9211_vcpu_reg>;
180 sram-supply = <&mt6397_vsramca7_reg>;
184 sustainable-power = <4500>; /* milliwatts */
186 threshold: trip-point0 {
190 target: trip-point1 {
201 remote-endpoint = <&ps8640_in>;
218 remote-endpoint = <&hdmi_connector_in>;
232 rt5650: audio-codec@1a {
235 avdd-supply = <&mt6397_vgp1_reg>;
236 cpvdd-supply = <&mt6397_vcama_reg>;
237 interrupt-parent = <&pio>;
239 pinctrl-names = "default";
240 pinctrl-0 = <&rt5650_irq>;
241 #sound-dai-cells = <1>;
242 realtek,dmic1-data-pin = <2>;
243 realtek,jd-mode = <2>;
246 ps8640: edp-bridge@8 {
249 powerdown-gpios = <&pio 127 GPIO_ACTIVE_LOW>;
250 reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&ps8640_pins>;
253 vdd12-supply = <&ps8640_fixed_1v2>;
254 vdd33-supply = <&mt6397_vgp2_reg>;
257 #address-cells = <1>;
258 #size-cells = <0>;
264 remote-endpoint = <&dsi0_out>;
272 remote-endpoint = <&panel_in>;
280 clock-frequency = <1500000>;
286 interrupt-parent = <&pio>;
291 regulator-name = "VBUCKA";
292 regulator-min-microvolt = < 700000>;
293 regulator-max-microvolt = <1310000>;
294 regulator-min-microamp = <2000000>;
295 regulator-max-microamp = <4400000>;
296 regulator-ramp-delay = <10000>;
297 regulator-always-on;
298 regulator-allowed-modes = <DA9211_BUCK_MODE_SYNC
303 regulator-name = "VBUCKB";
304 regulator-min-microvolt = < 700000>;
305 regulator-max-microvolt = <1310000>;
306 regulator-min-microamp = <2000000>;
307 regulator-max-microamp = <3000000>;
308 regulator-ramp-delay = <10000>;
320 powered-while-suspended;
325 clock-frequency = <400000>;
331 interrupt-parent = <&pio>;
337 clock-frequency = <400000>;
339 pinctrl-names = "default";
340 pinctrl-0 = <&trackpad_irq>;
344 interrupt-parent = <&pio>;
347 vcc-supply = <&mt6397_vgp6_reg>;
348 wakeup-source;
358 pinctrl-names = "default", "state_uhs";
359 pinctrl-0 = <&mmc0_pins_default>;
360 pinctrl-1 = <&mmc0_pins_uhs>;
361 bus-width = <8>;
362 max-frequency = <200000000>;
363 cap-mmc-highspeed;
364 mmc-hs200-1_8v;
365 mmc-hs400-1_8v;
366 cap-mmc-hw-reset;
367 hs400-ds-delay = <0x14015>;
368 mediatek,hs200-cmd-int-delay=<30>;
369 mediatek,hs400-cmd-int-delay=<14>;
370 mediatek,hs400-cmd-resp-sel-rising;
371 vmmc-supply = <&mt6397_vemc_3v3_reg>;
372 vqmmc-supply = <&mt6397_vio18_reg>;
373 assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>;
374 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
375 non-removable;
380 pinctrl-names = "default", "state_uhs";
381 pinctrl-0 = <&mmc1_pins_default>;
382 pinctrl-1 = <&mmc1_pins_uhs>;
383 bus-width = <4>;
384 max-frequency = <200000000>;
385 cap-sd-highspeed;
386 sd-uhs-sdr50;
387 sd-uhs-sdr104;
388 cd-gpios = <&pio 1 GPIO_ACTIVE_LOW>;
389 vmmc-supply = <&mt6397_vmch_reg>;
390 vqmmc-supply = <&mt6397_vmc_reg>;
395 pinctrl-names = "default", "state_uhs";
396 pinctrl-0 = <&mmc3_pins_default>;
397 pinctrl-1 = <&mmc3_pins_uhs>;
398 bus-width = <4>;
399 max-frequency = <200000000>;
400 cap-sd-highspeed;
401 sd-uhs-sdr50;
402 sd-uhs-sdr104;
403 keep-power-in-suspend;
404 enable-sdio-wakeup;
405 cap-sdio-irq;
406 vmmc-supply = <&sdio_fixed_3v3>;
407 vqmmc-supply = <&mt6397_vgp3_reg>;
408 non-removable;
409 cap-power-off-card;
411 #address-cells = <1>;
412 #size-cells = <0>;
415 compatible = "marvell,sd8897-bt";
417 interrupt-parent = <&pio>;
419 marvell,wakeup-pin = /bits/ 16 <0x0d>;
420 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
426 interrupt-parent = <&pio>;
428 marvell,wakeup-pin = <3>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&nor_gpio1_pins>;
438 compatible = "jedec,spi-nor";
440 spi-max-frequency = <50000000>;
445 gpio-line-names = "EC_INT_1V8",
594 bias-pull-down;
601 output-low;
608 bias-pull-up;
615 output-low;
623 bias-pull-up;
628 bias-pull-up;
641 bias-pull-up;
656 bias-pull-up;
661 bias-pull-down;
666 bias-pull-up;
677 input-enable;
678 drive-strength = <MTK_DRIVE_4mA>;
679 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
684 bias-pull-down;
685 drive-strength = <MTK_DRIVE_4mA>;
690 bias-pull-up;
700 input-enable;
701 drive-strength = <MTK_DRIVE_8mA>;
702 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
707 input-enable;
708 drive-strength = <MTK_DRIVE_8mA>;
709 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
714 bias-pull-down;
715 drive-strength = <MTK_DRIVE_8mA>;
730 input-enable;
731 drive-strength = <MTK_DRIVE_6mA>;
732 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
737 drive-strength = <MTK_DRIVE_6mA>;
738 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
743 drive-strength = <MTK_DRIVE_10mA>;
744 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
749 bias-pull-up;
760 input-enable;
761 drive-strength = <MTK_DRIVE_6mA>;
762 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
767 drive-strength = <MTK_DRIVE_8mA>;
768 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
778 input-enable;
779 drive-strength = <MTK_DRIVE_8mA>;
780 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
785 input-enable;
786 drive-strength = <MTK_DRIVE_8mA>;
787 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
792 drive-strength = <MTK_DRIVE_8mA>;
793 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
802 input-enable;
803 drive-strength = <MTK_DRIVE_4mA>;
804 bias-pull-up;
809 drive-strength = <MTK_DRIVE_4mA>;
810 bias-pull-up;
815 input-enable;
816 drive-strength = <MTK_DRIVE_4mA>;
817 bias-pull-up;
844 bias-pull-down;
851 output-low;
858 bias-pull-up;
866 bias-disable;
873 input-enable;
874 bias-pull-up;
881 output-high;
882 bias-disable;
889 bias-pull-up;
901 #address-cells = <1>;
902 #size-cells = <1>;
903 interrupt-parent = <&pio>;
905 interrupt-controller;
906 #interrupt-cells = <2>;
909 compatible = "mediatek,mt6397-clk";
910 #clock-cells = <1>;
914 compatible = "mediatek,mt6397-pinctrl";
915 pins-are-numbered;
916 gpio-controller;
917 #gpio-cells = <2>;
921 compatible = "mediatek,mt6397-regulator";
924 regulator-compatible = "buck_vpca15";
925 regulator-name = "vpca15";
926 regulator-min-microvolt = < 700000>;
927 regulator-max-microvolt = <1350000>;
928 regulator-ramp-delay = <12500>;
929 regulator-always-on;
930 regulator-allowed-modes = <0 1>;
934 regulator-compatible = "buck_vpca7";
935 regulator-name = "vpca7";
936 regulator-min-microvolt = < 700000>;
937 regulator-max-microvolt = <1350000>;
938 regulator-ramp-delay = <12500>;
939 regulator-enable-ramp-delay = <115>;
940 regulator-always-on;
944 regulator-compatible = "buck_vsramca15";
945 regulator-name = "vsramca15";
946 regulator-min-microvolt = < 700000>;
947 regulator-max-microvolt = <1350000>;
948 regulator-ramp-delay = <12500>;
949 regulator-always-on;
953 regulator-compatible = "buck_vsramca7";
954 regulator-name = "vsramca7";
955 regulator-min-microvolt = < 700000>;
956 regulator-max-microvolt = <1350000>;
957 regulator-ramp-delay = <12500>;
958 regulator-always-on;
962 regulator-compatible = "buck_vcore";
963 regulator-name = "vcore";
964 regulator-min-microvolt = < 700000>;
965 regulator-max-microvolt = <1350000>;
966 regulator-ramp-delay = <12500>;
967 regulator-always-on;
971 regulator-compatible = "buck_vgpu";
972 regulator-name = "vgpu";
973 regulator-min-microvolt = < 700000>;
974 regulator-max-microvolt = <1350000>;
975 regulator-ramp-delay = <12500>;
976 regulator-enable-ramp-delay = <115>;
980 regulator-compatible = "buck_vdrm";
981 regulator-name = "vdrm";
982 regulator-min-microvolt = <1200000>;
983 regulator-max-microvolt = <1400000>;
984 regulator-ramp-delay = <12500>;
985 regulator-always-on;
989 regulator-compatible = "buck_vio18";
990 regulator-name = "vio18";
991 regulator-min-microvolt = <1620000>;
992 regulator-max-microvolt = <1980000>;
993 regulator-ramp-delay = <12500>;
994 regulator-always-on;
998 regulator-compatible = "ldo_vtcxo";
999 regulator-name = "vtcxo";
1000 regulator-always-on;
1004 regulator-compatible = "ldo_va28";
1005 regulator-name = "va28";
1009 regulator-compatible = "ldo_vcama";
1010 regulator-name = "vcama";
1011 regulator-min-microvolt = <1800000>;
1012 regulator-max-microvolt = <1800000>;
1013 regulator-enable-ramp-delay = <218>;
1017 regulator-compatible = "ldo_vio28";
1018 regulator-name = "vio28";
1019 regulator-always-on;
1023 regulator-compatible = "ldo_vusb";
1024 regulator-name = "vusb";
1028 regulator-compatible = "ldo_vmc";
1029 regulator-name = "vmc";
1030 regulator-min-microvolt = <1800000>;
1031 regulator-max-microvolt = <3300000>;
1032 regulator-enable-ramp-delay = <218>;
1036 regulator-compatible = "ldo_vmch";
1037 regulator-name = "vmch";
1038 regulator-min-microvolt = <3000000>;
1039 regulator-max-microvolt = <3300000>;
1040 regulator-enable-ramp-delay = <218>;
1044 regulator-compatible = "ldo_vemc3v3";
1045 regulator-name = "vemc_3v3";
1046 regulator-min-microvolt = <3000000>;
1047 regulator-max-microvolt = <3300000>;
1048 regulator-enable-ramp-delay = <218>;
1052 regulator-compatible = "ldo_vgp1";
1053 regulator-name = "vcamd";
1054 regulator-min-microvolt = <1800000>;
1055 regulator-max-microvolt = <1800000>;
1056 regulator-enable-ramp-delay = <240>;
1060 regulator-compatible = "ldo_vgp2";
1061 regulator-name = "vcamio";
1062 regulator-min-microvolt = <3300000>;
1063 regulator-max-microvolt = <3300000>;
1064 regulator-enable-ramp-delay = <218>;
1068 regulator-compatible = "ldo_vgp3";
1069 regulator-name = "vcamaf";
1070 regulator-min-microvolt = <1800000>;
1071 regulator-max-microvolt = <1800000>;
1072 regulator-enable-ramp-delay = <218>;
1076 regulator-compatible = "ldo_vgp4";
1077 regulator-name = "vgp4";
1078 regulator-min-microvolt = <1200000>;
1079 regulator-max-microvolt = <3300000>;
1080 regulator-enable-ramp-delay = <218>;
1084 regulator-compatible = "ldo_vgp5";
1085 regulator-name = "vgp5";
1086 regulator-min-microvolt = <1200000>;
1087 regulator-max-microvolt = <3000000>;
1088 regulator-enable-ramp-delay = <218>;
1092 regulator-compatible = "ldo_vgp6";
1093 regulator-name = "vgp6";
1094 regulator-min-microvolt = <3300000>;
1095 regulator-max-microvolt = <3300000>;
1096 regulator-enable-ramp-delay = <218>;
1097 regulator-always-on;
1101 regulator-compatible = "ldo_vibr";
1102 regulator-name = "vibr";
1103 regulator-min-microvolt = <1300000>;
1104 regulator-max-microvolt = <3300000>;
1105 regulator-enable-ramp-delay = <218>;
1110 compatible = "mediatek,mt6397-rtc";
1114 compatible = "mediatek,mt6397-pctl-pmic-syscfg",
1122 pinctrl-names = "default";
1123 pinctrl-0 = <&spi_pins_a>;
1124 mediatek,pad-select = <1>;
1128 compatible = "google,cros-ec-spi";
1130 spi-max-frequency = <12000000>;
1131 interrupt-parent = <&pio>;
1133 google,cros-ec-spi-msg-delay = <500>;
1135 i2c_tunnel: i2c-tunnel0 {
1136 compatible = "google,cros-ec-i2c-tunnel";
1137 google,remote-bus = <0>;
1138 #address-cells = <1>;
1139 #size-cells = <0>;
1141 battery: sbs-battery@b { label
1142 compatible = "sbs,sbs-battery";
1144 sbs,i2c-retry-count = <2>;
1145 sbs,poll-retry-count = <1>;
1153 wakeup-source;
1154 vusb33-supply = <&mt6397_vusb_reg>;
1159 bank0-supply = <&mt6397_vpca15_reg>;
1160 bank1-supply = <&da9211_vcpu_reg>;
1168 pinctrl-names = "default";
1169 pinctrl-0 = <&usb_pins>;
1170 vusb33-supply = <&mt6397_vusb_reg>;
1174 #include <arm/cros-ec-keyboard.dtsi>