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