xref: /linux/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-scfg.yaml (revision 7a4ffec9fd54ea27395e24dff726dbf58e2fe06b)
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          - fsl,ls1088a-isc
27          - fsl,ls2080a-isc
28          - fsl,lx2160a-isc
29      - const: syscon
30
31  reg:
32    maxItems: 1
33
34  little-endian: true
35  big-endian: true
36
37  '#address-cells':
38    const: 1
39
40  '#size-cells':
41    const: 1
42
43  ranges: true
44
45patternProperties:
46  "^interrupt-controller@[a-f0-9]+$":
47    $ref: /schemas/interrupt-controller/fsl,ls-extirq.yaml#
48
49required:
50  - compatible
51  - reg
52
53additionalProperties: false
54
55examples:
56  - |
57    syscon@1570000 {
58        compatible = "fsl,ls1021a-scfg", "syscon";
59        reg = <0x1570000 0x10000>;
60    };
61