GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / soc / fsl / fsl,layerscape-scfg.yaml
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
7 title: Freescale Layerscape Supplemental Configuration Unit
8
9 maintainers:
10   - Shawn Guo <shawnguo@kernel.org>
11   - Li Yang <leoyang.li@nxp.com>
12
13 description: |
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
18 properties:
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
43 patternProperties:
44   "^interrupt-controller@[a-z0-9]+$":
45     $ref: /schemas/interrupt-controller/fsl,ls-extirq.yaml#
46
47 required:
48   - compatible
49   - reg
50
51 additionalProperties: false
52
53 examples:
54   - |
55     syscon@1570000 {
56         compatible = "fsl,ls1021a-scfg", "syscon";
57         reg = <0x1570000 0x10000>;
58     };