xref: /linux/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-scfg.yaml (revision a3a02a52bcfcbcc4a637d4b68bf1bc391c9fad02)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/fsl/fsl,layerscape-scfg.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale Layerscape Supplemental Configuration Unit
8
9maintainers:
10  - Shawn Guo <shawnguo@kernel.org>
11
12description: |
13  SCFG is the supplemental configuration unit, that provides SoC specific
14  configuration and status registers for the chip. Such as getting PEX port
15  status.
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - fsl,ls1012a-scfg
22          - fsl,ls1021a-scfg
23          - fsl,ls1028a-scfg
24          - fsl,ls1043a-scfg
25          - fsl,ls1046a-scfg
26      - const: syscon
27
28  reg:
29    maxItems: 1
30
31  little-endian: true
32  big-endian: true
33
34  '#address-cells':
35    const: 1
36
37  '#size-cells':
38    const: 1
39
40  ranges: true
41
42patternProperties:
43  "^interrupt-controller@[a-f0-9]+$":
44    $ref: /schemas/interrupt-controller/fsl,ls-extirq.yaml#
45
46required:
47  - compatible
48  - reg
49
50additionalProperties: false
51
52examples:
53  - |
54    syscon@1570000 {
55        compatible = "fsl,ls1021a-scfg", "syscon";
56        reg = <0x1570000 0x10000>;
57    };
58