summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerve Codina <herve.codina@bootlin.com>2021-12-02 10:52:55 +0100
committerArnd Bergmann <arnd@arndb.de>2021-12-13 17:13:54 +0100
commit7cf4cc3e8524989f9f1619ba49726576a46ee32d (patch)
tree6e2aac0a7e7184aadf18caeed6fcf886fba4e8bc
parentARM: dts: spear3xx: Use plgpio regmap in SPEAr310 and SPEAr320 (diff)
downloadlinux-7cf4cc3e8524989f9f1619ba49726576a46ee32d.tar.xz
linux-7cf4cc3e8524989f9f1619ba49726576a46ee32d.zip
ARM: dts: spear3xx: Add spear320s dtsi
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>
-rw-r--r--arch/arm/boot/dts/spear320s.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear320s.dtsi b/arch/arm/boot/dts/spear320s.dtsi
new file mode 100644
index 000000000000..133236dc190d
--- /dev/null
+++ b/arch/arm/boot/dts/spear320s.dtsi
@@ -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>;
+ };
+ };
+ };
+};