xref: /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/fsl,layerscape-dcfg.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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-dcfg.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale Layerscape Device Configuration Unit
8
9maintainers:
10  - Shawn Guo <shawnguo@kernel.org>
11  - Li Yang <leoyang.li@nxp.com>
12
13description: |
14  DCFG is the device configuration unit, that provides general purpose
15  configuration and status for the device. Such as setting the secondary
16  core start address and release the secondary core from holdoff and
17  startup.
18
19properties:
20  compatible:
21    oneOf:
22      - items:
23          - enum:
24              - fsl,ls1012a-dcfg
25              - fsl,ls1021a-dcfg
26              - fsl,ls1043a-dcfg
27              - fsl,ls1046a-dcfg
28              - fsl,ls1088a-dcfg
29              - fsl,ls2080a-dcfg
30              - fsl,lx2160a-dcfg
31          - const: syscon
32
33      - items:
34          - enum:
35              - fsl,ls1028a-dcfg
36          - const: syscon
37          - const: simple-mfd
38
39  reg:
40    maxItems: 1
41
42  little-endian: true
43  big-endian: true
44
45  '#address-cells':
46    const: 1
47
48  '#size-cells':
49    const: 1
50
51  ranges: true
52
53patternProperties:
54  "^clock-controller@[0-9a-z]+$":
55    $ref: /schemas/clock/fsl,flexspi-clock.yaml#
56
57required:
58  - compatible
59  - reg
60
61additionalProperties: false
62
63examples:
64  - |
65    syscon@1ee0000 {
66        compatible = "fsl,ls1021a-dcfg", "syscon";
67        reg = <0x1ee0000 0x10000>;
68    };
69