Debian Codegraph @

dtschema/schemas/bus/qemu,platform.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/bus/qemu,platform.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: QEMU Platform bus
9
10 maintainers:
11 - Rob Herring <[email protected]>
12
13 select:
14 properties:
15 compatible:
16 contains:
17 const: qemu,platform
18 required:
19 - compatible
20
21 properties:
22 compatible:
23 items:
24 - const: qemu,platform
25 - const: simple-bus
26
27 ranges: true
28 dma-ranges: true
29
30 "#address-cells":
31 enum: [ 1, 2 ]
32 "#size-cells":
33 enum: [ 1, 2 ]
34
35 nonposted-mmio:
36 $ref: /schemas/types.yaml#/definitions/flag
37 description:
38 If present, specifies that direct children of this bus should use
39 non-posted memory accesses (i.e. a non-posted mapping mode) for MMIO
40 ranges.
41
42 interrupt-parent: true
43
44 patternProperties:
45 # All other properties should be child nodes with unit-address and 'reg'
46 "@(0|[1-9a-f][0-9a-f]*)$":
47 type: object
48
49 additionalProperties: false
50
51 required:
52 - compatible
53 - "#address-cells"
54 - "#size-cells"
55 - ranges
56 ...