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 - Ricardo Rivera-Matos <r-rivera-matos@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:
42 $ref: /schemas/types.yaml#/definitions/uint32
45 Watchdog timer in ms. 0 (default) disables the watchdog
48 enum: [ 0, 40000, 80000, 160000]
50 input-voltage-limit-microvolt:
52 Minimum input voltage limit in µV with a 100000 µV step
56 input-current-limit-microamp:
58 Maximum input current limit in µA with a 100000 µA step
63 $ref: /schemas/types.yaml#/definitions/phandle
64 description: phandle to the battery node being monitored
69 Interrupt sends an active low, 256 μs pulse to host to report the charger
70 device status and faults.
77 additionalProperties: false
82 compatible = "simple-battery";
83 constant-charge-current-max-microamp = <2040000>;
84 constant-charge-voltage-max-microvolt = <4352000>;
85 precharge-current-microamp = <180000>;
86 charge-term-current-microamp = <180000>;
88 #include <dt-bindings/gpio/gpio.h>
89 #include <dt-bindings/interrupt-controller/irq.h>
92 clock-frequency = <400000>;
98 compatible = "ti,bq25601";
100 monitored-battery = <&bat>;
102 interrupt-parent = <&gpio1>;
103 interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
104 ti,watchdog-timeout-ms = <40000>;
106 input-voltage-limit-microvolt = <4500000>;
107 input-current-limit-microamp = <2400000>;