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