| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Global Control Registers block in Nuvoton SoCs |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Jonathan Neuschäfer <[email protected]> |
| 11 |
- Tomer Maimon <[email protected]> |
| 12 |
|
| 13 |
description: |
| 14 |
The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs |
| 15 |
that expose misc functionality such as chip model and version information or |
| 16 |
pinmux settings. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
items: |
| 21 |
- enum: |
| 22 |
- nuvoton,wpcm450-gcr |
| 23 |
- nuvoton,npcm750-gcr |
| 24 |
- nuvoton,npcm845-gcr |
| 25 |
- const: syscon |
| 26 |
- const: simple-mfd |
| 27 |
|
| 28 |
reg: |
| 29 |
maxItems: 1 |
| 30 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- reg |
| 34 |
|
| 35 |
additionalProperties: |
| 36 |
type: object |
| 37 |
|
| 38 |
examples: |
| 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 |
}; |