Skip to content

Commit e75cb60

Browse files
neuschaefermaddy-kerneldev
authored andcommitted
powerpc: dts: mpc8315erdb: Add GPIO controller node
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 <j.ne@posteo.net> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250611-mpc-gpio-v1-1-02d1f75336e2@posteo.net
1 parent 4e6d080 commit e75cb60

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/powerpc/boot/dts/mpc8315erdb.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
/dts-v1/;
9+
#include <dt-bindings/interrupt-controller/irq.h>
910

1011
/ {
1112
compatible = "fsl,mpc8315erdb";
@@ -358,6 +359,15 @@
358359
interrupt-parent = <&ipic>;
359360
fsl,mpc8313-wakeup-timer = <&gtm1>;
360361
};
362+
363+
gpio: gpio-controller@c00 {
364+
compatible = "fsl,mpc8314-gpio";
365+
reg = <0xc00 0x100>;
366+
interrupts = <74 IRQ_TYPE_LEVEL_LOW>;
367+
interrupt-parent = <&ipic>;
368+
gpio-controller;
369+
#gpio-cells = <2>;
370+
};
361371
};
362372

363373
pci0: pci@e0008500 {

0 commit comments

Comments
 (0)