1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/power/supply/olpc-battery.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: OLPC Battery
8
9maintainers:
10  - Sebastian Reichel <sre@kernel.org>
11
12allOf:
13  - $ref: power-supply.yaml#
14
15properties:
16  compatible:
17    oneOf:
18      - items:
19          - const: olpc,xo1.5-battery
20          - const: olpc,xo1-battery
21      - items:
22          - const: olpc,xo1-battery
23
24required:
25  - compatible
26
27additionalProperties: false
28