[PATCH RESEND] powerpc: dts: mpc8315erdb: Add GPIO controller node

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE421d

2 messages, 2 authors, 2025-06-15 · open the first message on its own page

[PATCH RESEND] powerpc: dts: mpc8315erdb: Add GPIO controller node

From: J. Neuschäfer via B4 Relay <devnull+j.ne.posteo.net@kernel.org>
Date: 2025-06-11 19:01:07

From: "J. Neuschäfer" <redacted>

The MPC8315E SoC and variants have a GPIO controller at IMMR + 0xc00.
This node was previously missing from the device tree.

Signed-off-by: J. Neuschäfer <redacted>
---
A version of this patch was previously part of the series "powerpc:
MPC83xx cleanup and LANCOM NWAPP2 board", but I'm splitting it out to
reduce the size of that series.
---
 arch/powerpc/boot/dts/mpc8315erdb.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/boot/dts/mpc8315erdb.dts
index e09b37d7489d01bfd16a26e9786868f630fa0262..a89cb3139ca8c3d4f22e43838a4b7d2dd5109aa5 100644
--- a/arch/powerpc/boot/dts/mpc8315erdb.dts
+++ b/arch/powerpc/boot/dts/mpc8315erdb.dts
@@ -6,6 +6,7 @@
  */
 
 /dts-v1/;
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
 	compatible = "fsl,mpc8315erdb";
@@ -358,6 +359,15 @@ pmc: power@b00 {
 			interrupt-parent = <&ipic>;
 			fsl,mpc8313-wakeup-timer = <&gtm1>;
 		};
+
+		gpio: gpio-controller@c00 {
+			compatible = "fsl,mpc8314-gpio";
+			reg = <0xc00 0x100>;
+			interrupts = <74 IRQ_TYPE_LEVEL_LOW>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
 	};
 
 	pci0: pci@e0008500 {
---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250418-mpc-gpio-79dca9f70546

Best regards,
-- 
J. Neuschäfer [off-list ref]


Re: [PATCH RESEND] powerpc: dts: mpc8315erdb: Add GPIO controller node

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2025-06-15 02:39:26

On Wed, 11 Jun 2025 21:01:01 +0200, J. Neuschäfer wrote:
The MPC8315E SoC and variants have a GPIO controller at IMMR + 0xc00.
This node was previously missing from the device tree.
Applied to powerpc/fixes.

[1/1] powerpc: dts: mpc8315erdb: Add GPIO controller node
      https://git.kernel.org/powerpc/c/e75cb6010838f61b9d63e921d1763a8ab177e38e

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help