0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/soc/fsl/fsl,layerscape-scfg.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Freescale Layerscape Supplemental Configuration Unit
0008
0009 maintainers:
0010 - Shawn Guo <shawnguo@kernel.org>
0011 - Li Yang <leoyang.li@nxp.com>
0012
0013 description: |
0014 SCFG is the supplemental configuration unit, that provides SoC specific
0015 configuration and status registers for the chip. Such as getting PEX port
0016 status.
0017
0018 properties:
0019 compatible:
0020 items:
0021 - enum:
0022 - fsl,ls1012a-scfg
0023 - fsl,ls1021a-scfg
0024 - fsl,ls1028a-scfg
0025 - fsl,ls1043a-scfg
0026 - fsl,ls1046a-scfg
0027 - const: syscon
0028
0029 reg:
0030 maxItems: 1
0031
0032 little-endian: true
0033 big-endian: true
0034
0035 '#address-cells':
0036 const: 1
0037
0038 '#size-cells':
0039 const: 1
0040
0041 ranges: true
0042
0043 patternProperties:
0044 "^interrupt-controller@[a-z0-9]+$":
0045 $ref: /schemas/interrupt-controller/fsl,ls-extirq.yaml#
0046
0047 required:
0048 - compatible
0049 - reg
0050
0051 additionalProperties: false
0052
0053 examples:
0054 - |
0055 syscon@1570000 {
0056 compatible = "fsl,ls1021a-scfg", "syscon";
0057 reg = <0x1570000 0x10000>;
0058 };