xref: /linux/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-scfg.yaml (revision a23e1966932464e1c5226cb9ac4ce1d5fc10ba22)
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  - Li Yang <leoyang.li@nxp.com>
12
13description: |
14  SCFG is the supplemental configuration unit, that provides SoC specific
15  configuration and status registers for the chip. Such as getting PEX port
16  status.
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - fsl,ls1012a-scfg
23          - fsl,ls1021a-scfg
24          - fsl,ls1028a-scfg
25          - fsl,ls1043a-scfg
26          - fsl,ls1046a-scfg
27      - const: syscon
28
29  reg:
30    maxItems: 1
31
32  little-endian: true
33  big-endian: true
34
35  '#address-cells':
36    const: 1
37
38  '#size-cells':
39    const: 1
40
41  ranges: true
42
43patternProperties:
44  "^interrupt-controller@[a-f0-9]+$":
45    $ref: /schemas/interrupt-controller/fsl,ls-extirq.yaml#
46
47required:
48  - compatible
49  - reg
50
51additionalProperties: false
52
53examples:
54  - |
55    syscon@1570000 {
56        compatible = "fsl,ls1021a-scfg", "syscon";
57        reg = <0x1570000 0x10000>;
58    };
59