ARM: dts: wpcm450: Add global control registers (GCR) node
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 29 Jan 2022 11:52:22 +0000 (12:52 +0100)
committerJoel Stanley <joel@jms.id.au>
Tue, 15 Feb 2022 05:53:34 +0000 (16:23 +1030)
The Global Control Registers (GCR) are a block of registers in Nuvoton
SoCs that expose misc functionality such as chip model and version
information or pinmux settings.

This patch adds a GCR node to nuvoton-wpcm450.dtsi in preparation for
enabling pinctrl on this SoC.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20220129115228.2257310-4-j.neuschaefer@gmx.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/nuvoton-wpcm450.dtsi

index d7cbeb1..a17ee70 100644 (file)
                interrupt-parent = <&aic>;
                ranges;
 
+               gcr: syscon@b0000000 {
+                       compatible = "nuvoton,wpcm450-gcr", "syscon", "simple-mfd";
+                       reg = <0xb0000000 0x200>;
+               };
+
                serial0: serial@b8000000 {
                        compatible = "nuvoton,wpcm450-uart";
                        reg = <0xb8000000 0x20>;