1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2020 Texas Instruments Incorporated
5 $id: http://devicetree.org/schemas/power/supply/bq256xx.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI bq256xx Switch Mode Buck Charger
11 - Andrew Davis <afd@ti.com>
14 The bq256xx devices are a family of highly-integrated battery charge
15 management and system power management ICs for single cell Li-ion and Li-
19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf
20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf
21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf
22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf
23 - https://www.ti.com/lit/ds/symlink/bq25611d.pdf
24 - https://www.ti.com/lit/ds/symlink/bq25618.pdf
25 - https://www.ti.com/lit/ds/symlink/bq25619.pdf
41 ti,watchdog-timeout-ms:
44 Watchdog timer in ms. 0 (default) disables the watchdog
47 enum: [ 0, 40000, 80000, 160000]
49 input-voltage-limit-microvolt:
51 Minimum input voltage limit in µV with a 100000 µV step
55 input-current-limit-microamp:
57 Maximum input current limit in µA with a 100000 µA step
62 $ref: /schemas/types.yaml#/definitions/phandle
63 description: phandle to the battery node being monitored
68 Interrupt sends an active low, 256 μs pulse to host to report the charger
69 device status and faults.
73 description: Indicates that no thermistor is connected to the TS pin
92 ti,no-thermistor: false
94 additionalProperties: false
99 compatible = "simple-battery";
100 constant-charge-current-max-microamp = <2040000>;
101 constant-charge-voltage-max-microvolt = <4352000>;
102 precharge-current-microamp = <180000>;
103 charge-term-current-microamp = <180000>;
105 #include <dt-bindings/gpio/gpio.h>
106 #include <dt-bindings/interrupt-controller/irq.h>
109 clock-frequency = <400000>;
111 #address-cells = <1>;
115 compatible = "ti,bq25601";
117 monitored-battery = <&bat>;
119 interrupt-parent = <&gpio1>;
120 interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
121 ti,watchdog-timeout-ms = <40000>;
123 input-voltage-limit-microvolt = <4500000>;
124 input-current-limit-microamp = <2400000>;