ARM: dts: spear3xx: Use plgpio regmap in SPEAr310 and SPEAr320
authorHerve Codina <herve.codina@bootlin.com>
Thu, 2 Dec 2021 09:52:53 +0000 (10:52 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Dec 2021 16:13:54 +0000 (17:13 +0100)
Resources used by plgpio and pinmux are conflicting on SPEAr310
and SPEAr320.

Use the newly introduced regmap property in plgpio node to use
pinmux resources from plgpio and so avoid the conflict.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20211202095255.165797-5-herve.codina@bootlin.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/spear310.dtsi
arch/arm/boot/dts/spear320.dtsi

index 8ce751a1376ddf2d548eab68bed2a7d35b0e2f3a..77570833d46b292fb29204091f861bd0810c275c 100644 (file)
@@ -92,6 +92,7 @@
                        gpiopinctrl: gpio@b4000000 {
                                compatible = "st,spear-plgpio";
                                reg = <0xb4000000 0x1000>;
+                               regmap = <&pinmux>;
                                #interrupt-cells = <1>;
                                interrupt-controller;
                                gpio-controller;
index 3bc1e93a0a55066ab1fde73d5457308fba75db36..47ac4474ed96e6a9ef30ea198912faaf18af8493 100644 (file)
                        gpiopinctrl: gpio@b3000000 {
                                compatible = "st,spear-plgpio";
                                reg = <0xb3000000 0x1000>;
+                               regmap = <&pinmux>;
                                #interrupt-cells = <1>;
                                interrupt-controller;
                                gpio-controller;