xref: /linux/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/microchip/microchip,sparx5-cpu-syscon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip Sparx5 CPU Syscon
8
9maintainers:
10  - Lars Povlsen <lars.povlsen@microchip.com>
11
12properties:
13  compatible:
14    items:
15      - const: microchip,sparx5-cpu-syscon
16      - const: syscon
17      - const: simple-mfd
18
19  reg:
20    maxItems: 1
21
22  mux-controller:
23    $ref: /schemas/mux/reg-mux.yaml#
24
25required:
26  - compatible
27  - reg
28  - mux-controller
29
30additionalProperties: false
31
32examples:
33  - |
34    soc {
35        #address-cells = <2>;
36        #size-cells = <1>;
37
38        syscon@600000000 {
39            compatible = "microchip,sparx5-cpu-syscon", "syscon",
40                         "simple-mfd";
41            reg = <0x6 0x00000000 0xd0>;
42
43            mux: mux-controller {
44                compatible = "mmio-mux";
45                #mux-control-cells = <1>;
46                mux-reg-masks = <0x88 0xf0>;
47            };
48        };
49    };
50