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