Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/arm/npcm/nuvoton,gcr.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Global Control Registers block in Nuvoton SoCs
0008 
0009 maintainers:
0010   - Jonathan Neuschäfer <j.neuschaefer@gmx.net>
0011   - Tomer Maimon <tmaimon77@gmail.com>
0012 
0013 description:
0014   The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs
0015   that expose misc functionality such as chip model and version information or
0016   pinmux settings.
0017 
0018 properties:
0019   compatible:
0020     items:
0021       - enum:
0022           - nuvoton,wpcm450-gcr
0023           - nuvoton,npcm750-gcr
0024           - nuvoton,npcm845-gcr
0025       - const: syscon
0026       - const: simple-mfd
0027 
0028   reg:
0029     maxItems: 1
0030 
0031 required:
0032   - compatible
0033   - reg
0034 
0035 additionalProperties:
0036   type: object
0037 
0038 examples:
0039   - |
0040     gcr: syscon@800000 {
0041       compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
0042       reg = <0x800000 0x1000>;
0043 
0044       mux-controller {
0045         compatible = "mmio-mux";
0046         #mux-control-cells = <1>;
0047         mux-reg-masks = <0x38 0x07>;
0048         idle-states = <2>;
0049       };
0050     };