ARM: dts: spear3xx: Add spear320s dtsi
authorHerve Codina <herve.codina@bootlin.com>
Thu, 2 Dec 2021 09:52:55 +0000 (10:52 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Dec 2021 16:13:54 +0000 (17:13 +0100)
The SPEAr320s SOC is a SPEAr320 SOC variant.

Mostly identical to the SPEAr320 SOC variant, it has a
new interrupt routing for PL_PGIOs.

Add spear320s.dtsi to handle SPEAr320s SOC

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20211202095255.165797-7-herve.codina@bootlin.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/spear320s.dtsi [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/spear320s.dtsi b/arch/arm/boot/dts/spear320s.dtsi
new file mode 100644 (file)
index 0000000..133236d
--- /dev/null
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * DTS file for SPEAr320s SoC
+ *
+ * Copyright 2021 Herve Codina <herve.codina@bootlin.com>
+ */
+
+/include/ "spear320.dtsi"
+
+/ {
+       ahb {
+               apb {
+                       gpiopinctrl: gpio@b3000000 {
+                               /*
+                                * The "RM0321 SPEAr320s address and map
+                                * registers" document mentions interrupt 6
+                                * (NPGIO_INTR) for the PL_GPIO interrupt.
+                                */
+                               interrupts = <6>;
+                               interrupt-parent = <&shirq>;
+                       };
+               };
+       };
+};