Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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: |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 44 | "^interrupt-controller@[a-f0-9]+$": |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | }; |