Lines Matching +full:rt5033 +full:- +full:battery

1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
22 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts
28 chassis-type = "handset";
37 stdout-path = "serial0";
40 reserved-memory {
42 tz-apps@85500000 {
44 no-map;
48 gpio-keys {
49 compatible = "gpio-keys";
51 pinctrl-names = "default";
52 pinctrl-0 = <&gpio_keys_default>;
56 button-volume-up {
62 button-home {
69 gpio-hall-sensor {
70 compatible = "gpio-keys";
72 pinctrl-names = "default";
73 pinctrl-0 = <&gpio_hall_sensor_default>;
77 event-hall-sensor {
80 linux,input-type = <EV_SW>;
82 linux,can-disable;
86 reg_vdd_tsp: regulator-vdd-tsp {
87 compatible = "regulator-fixed";
88 regulator-name = "vdd_tsp";
89 regulator-min-microvolt = <3300000>;
90 regulator-max-microvolt = <3300000>;
93 enable-active-high;
95 pinctrl-names = "default";
96 pinctrl-0 = <&tsp_en_default>;
99 reg_touch_key: regulator-touch-key {
100 compatible = "regulator-fixed";
101 regulator-name = "touch_key";
102 regulator-min-microvolt = <2800000>;
103 regulator-max-microvolt = <2800000>;
106 enable-active-high;
108 pinctrl-names = "default";
109 pinctrl-0 = <&tkey_en_default>;
112 reg_key_led: regulator-key-led {
113 compatible = "regulator-fixed";
114 regulator-name = "key_led";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
119 enable-active-high;
121 pinctrl-names = "default";
122 pinctrl-0 = <&tkey_led_en_default>;
125 i2c-muic {
126 compatible = "i2c-gpio";
127 sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
128 scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&muic_i2c_default>;
133 #address-cells = <1>;
134 #size-cells = <0>;
137 compatible = "siliconmitus,sm5504-muic";
140 interrupt-parent = <&tlmm>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&muic_irq_default>;
147 compatible = "usb-b-connector";
148 label = "micro-USB";
154 i2c-tkey {
155 compatible = "i2c-gpio";
156 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
157 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&tkey_i2c_default>;
162 #address-cells = <1>;
163 #size-cells = <0>;
166 compatible = "coreriver,tc360-touchkey";
169 interrupt-parent = <&tlmm>;
172 vcc-supply = <&reg_touch_key>;
173 vdd-supply = <&reg_key_led>;
174 vddio-supply = <&pm8916_l6>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&tkey_default>;
183 i2c-nfc {
184 compatible = "i2c-gpio";
185 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
186 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&nfc_i2c_default>;
191 #address-cells = <1>;
192 #size-cells = <0>;
195 compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
198 interrupt-parent = <&tlmm>;
201 enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
202 firmware-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&nfc_default>;
209 battery: battery { label
210 compatible = "simple-battery";
211 precharge-current-microamp = <450000>;
212 constant-charge-current-max-microamp = <1000000>;
213 charge-term-current-microamp = <150000>;
214 precharge-upper-limit-microvolt = <3500000>;
215 constant-charge-voltage-max-microvolt = <4350000>;
226 interrupt-parent = <&tlmm>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&imu_irq_default>;
237 mount-matrix = "0", "1", "0",
239 "0", "0", "-1";
246 fuel-gauge@35 {
247 compatible = "richtek,rt5033-battery";
250 interrupt-parent = <&tlmm>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&fg_alert_default>;
256 power-supplies = <&rt5033_charger>;
267 interrupt-parent = <&tlmm>;
270 touchscreen-size-x = <540>;
271 touchscreen-size-y = <960>;
273 vdd-supply = <&reg_vdd_tsp>;
274 vddo-supply = <&pm8916_l6>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&tsp_irq_default>;
285 compatible = "richtek,rt5033";
288 interrupt-parent = <&tlmm>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&pmic_int_default>;
296 regulator-min-microvolt = <4900000>;
297 regulator-max-microvolt = <4900000>;
298 regulator-always-on;
301 regulator-min-microvolt = <2800000>;
302 regulator-max-microvolt = <2800000>;
305 regulator-min-microvolt = <1200000>;
306 regulator-max-microvolt = <1200000>;
311 compatible = "richtek,rt5033-charger";
312 monitored-battery = <&battery>;
313 richtek,usb-connector = <&usb_con>;
337 non-removable;
340 * FIXME: Disable UHS-I modes since tuning fails with:
343 * mmc1: tuning execution failed: -5
344 * mmc1: error -5 whilst initialising SD card
350 no-1-8-v;
371 fg_alert_default: fg-alert-default-state {
375 drive-strength = <2>;
376 bias-disable;
379 gpio_keys_default: gpio-keys-default-state {
383 drive-strength = <2>;
384 bias-pull-up;
387 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
391 drive-strength = <2>;
392 bias-disable;
395 imu_irq_default: imu-irq-default-state {
399 drive-strength = <2>;
400 bias-disable;
403 muic_i2c_default: muic-i2c-default-state {
407 drive-strength = <2>;
408 bias-disable;
411 muic_irq_default: muic-irq-default-state {
415 drive-strength = <2>;
416 bias-disable;
419 nfc_default: nfc-default-state {
420 nfc-pins {
424 drive-strength = <2>;
425 bias-disable;
427 irq-pins {
431 drive-strength = <2>;
432 bias-pull-down;
436 nfc_i2c_default: nfc-i2c-default-state {
440 drive-strength = <2>;
441 bias-disable;
444 pmic_int_default: pmic-int-default-state {
448 drive-strength = <2>;
449 bias-disable;
452 tkey_default: tkey-default-state {
456 drive-strength = <2>;
457 bias-disable;
460 tkey_en_default: tkey-en-default-state {
464 drive-strength = <2>;
465 bias-disable;
468 tkey_i2c_default: tkey-i2c-default-state {
472 drive-strength = <2>;
473 bias-disable;
476 tkey_led_en_default: tkey-led-en-default-state {
480 drive-strength = <2>;
481 bias-disable;
484 tsp_en_default: tsp-en-default-state {
488 drive-strength = <2>;
489 bias-disable;
492 tsp_irq_default: tsp-irq-default-state {
496 drive-strength = <2>;
497 bias-disable;