51 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Global Control Registers block in Nuvoton SoCs8 9maintainers:10 - Jonathan Neuschäfer <j.neuschaefer@gmx.net>11 - Tomer Maimon <tmaimon77@gmail.com>12 13description:14 The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs15 that expose misc functionality such as chip model and version information or16 pinmux settings.17 18properties:19 compatible:20 items:21 - enum:22 - nuvoton,wpcm450-gcr23 - nuvoton,npcm750-gcr24 - nuvoton,npcm845-gcr25 - const: syscon26 - const: simple-mfd27 28 reg:29 maxItems: 130 31required:32 - compatible33 - reg34 35additionalProperties:36 type: object37 38examples:39 - |40 gcr: syscon@800000 {41 compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";42 reg = <0x800000 0x1000>;43 44 mux-controller {45 compatible = "mmio-mux";46 #mux-control-cells = <1>;47 mux-reg-masks = <0x38 0x07>;48 idle-states = <2>;49 };50 };51