1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/power/supply/maxim,max8903.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim Semiconductor MAX8903 Battery Charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
21 description: Valid DC power has been detected (active low, input)
25 description: Valid USB power has been detected (active low, input)
29 description: Charge enable pin (active low, output)
33 description: Charger status pin (active low, input)
37 description: Fault pin (active low, output)
41 description: Current limit mode setting (DC=1 or USB=0, output)
45 description: USB suspend pin (active high, output)
56 additionalProperties: false
60 #include <dt-bindings/gpio/gpio.h>
62 compatible = "maxim,max8903";
63 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
64 flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
65 chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
66 cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;