xref: /freebsd/sys/contrib/device-tree/Bindings/auxdisplay/img,ascii-lcd.yaml (revision 9f44a47fd07924afc035991af15d84e6585dea4f)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/auxdisplay/img,ascii-lcd.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ASCII LCD displays on Imagination Technologies boards
8
9maintainers:
10  - Paul Burton <paulburton@kernel.org>
11
12properties:
13  compatible:
14    enum:
15      - img,boston-lcd
16      - mti,malta-lcd
17      - mti,sead3-lcd
18
19  reg:
20    maxItems: 1
21
22  offset:
23    $ref: /schemas/types.yaml#/definitions/uint32
24    description:
25      Offset in bytes to the LCD registers within the system controller
26
27required:
28  - compatible
29
30oneOf:
31  - required:
32      - reg
33  - required:
34      - offset
35
36if:
37  properties:
38    compatible:
39      contains:
40        const: img,boston-lcd
41then:
42  required:
43    - reg
44else:
45  required:
46    - offset
47
48additionalProperties: false
49
50examples:
51  - |
52    lcd: lcd@17fff000 {
53            compatible = "img,boston-lcd";
54            reg = <0x17fff000 0x8>;
55    };
56