xref: /freebsd/sys/contrib/device-tree/Bindings/arm/npcm/nuvoton,gcr.yaml (revision 3a3af6b2a160bea72509a9d5ef84e25906b0478a)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/npcm/nuvoton,gcr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Global Control Registers block in Nuvoton SoCs
8
9maintainers:
10  - Jonathan Neuschäfer <j.neuschaefer@gmx.net>
11
12description:
13  The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs
14  that expose misc functionality such as chip model and version information or
15  pinmux settings.
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - nuvoton,wpcm450-gcr
22          - nuvoton,npcm750-gcr
23      - const: syscon
24      - const: simple-mfd
25
26  reg:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32
33additionalProperties:
34  type: object
35
36examples:
37  - |
38    gcr: syscon@800000 {
39      compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
40      reg = <0x800000 0x1000>;
41
42      mux-controller {
43        compatible = "mmio-mux";
44        #mux-control-cells = <1>;
45        mux-reg-masks = <0x38 0x07>;
46        idle-states = <2>;
47      };
48    };
49