| 
     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 
    7 title: ASCII LCD displays on Imagination Technologies boards
    8 
    9 maintainers:
   10   - Paul Burton <paulburton@kernel.org>
   11 
   12 properties:
   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 
   27 required:
   28   - compatible
   29 
   30 oneOf:
   31   - required:
   32       - reg
   33   - required:
   34       - offset
   35 
   36 if:
   37   properties:
   38     compatible:
   39       contains:
   40         const: img,boston-lcd
   41 then:
   42   required:
   43     - reg
   44 else:
   45   required:
   46     - offset
   47 
   48 additionalProperties: false
   49 
   50 examples:
   51   - |
   52     lcd: lcd@17fff000 {
   53             compatible = "img,boston-lcd";
   54             reg = <0x17fff000 0x8>;
   55     };
Cache object: 68c05f46d34088531154f3ab21059db1 
 
 |