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