1# Copyright (c) 2022 Actinius B.V.
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  The Icarus IoT Board v2 provides the user with an option to disable the
6  charger or to leave it on auto. The option can be changed by changing
7  the `charger` property in the associated dt node to `auto`
8  or `disabled`.
9
10compatible: "actinius-charger-enable"
11
12include: base.yaml
13
14properties:
15  gpios:
16    type: phandle-array
17    required: true
18    description: Pin used to enable/disable the charger
19
20  charger:
21    type: string
22    required: true
23    enum:
24      - "auto"
25      - "disabled"
26    description: Charger enable choice (auto or disabled)
27