Debian Codegraph @

dtschema/schemas/isa/isa-bus.yaml

raw
1 # SPDX-License-Identifier: BSD-2-Clause
2 # Copyright 2022 Arm Ltd.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/isa/isa-bus.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
7
8 title: ISA Bus Nodes
9
10 description: |
11 Common properties for ISA bus nodes
12
13 ISA Bus Binding to: IEEE Std 1275-1994
14 https://www.devicetree.org/open-firmware/bindings/isa/isa0_4d.ps
15
16 maintainers:
17 - Rob Herring <[email protected]>
18
19 properties:
20 $nodename:
21 pattern: "^isa@"
22
23 device_type:
24 const: isa
25
26 ranges:
27 description: Required for memory accesses or memory mapped I/O space. Optional if only
28 indirect I/O is supported.
29
30 "#address-cells":
31 const: 2
32
33 "#size-cells":
34 const: 1
35
36 patternProperties:
37 '@(m|i?)[0-9a-f]{1,8}$':
38 type: object
39 description: Child devices
40
41 properties:
42 reg:
43 items:
44 items:
45 - enum:
46 - 0x0 # memory address
47 - 0x1 # I/O address
48 - description: address
49 - description: size
50
51 required:
52 - reg
53
54 required:
55 - "#address-cells"
56 - "#size-cells"
57
58 additionalProperties: true