diff mbox series

[3/3] ARM: dts: imxrt1020: add gpio5 node to this SoC

Message ID 20210516215702.340497-3-giulio.benetti@benettiengineering.com
State Accepted
Commit d7308dbd864c1d0447bfe62cc42a6ff470369d66
Delegated to: Stefano Babic
Headers show
Series [1/3] ARM: dts: imxrt1050-evk: move all u-boot, dm-spl to imxrt1050-evk-u-boot.dtsi file | expand

Commit Message

Giulio Benetti May 16, 2021, 9:57 p.m. UTC
i.MXRT1020 supports gpio5, so let's add a node for it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 arch/arm/dts/imxrt1020.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Stefano Babic June 9, 2021, 1:43 p.m. UTC | #1
> i.MXRT1020 supports gpio5, so let's add a node for it.
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi
index 884d57f614..5ba314f995 100644
--- a/arch/arm/dts/imxrt1020.dtsi
+++ b/arch/arm/dts/imxrt1020.dtsi
@@ -120,6 +120,17 @@ 
 			#interrupt-cells = <2>;
 		};
 
+		gpio5: gpio@400c0000 {
+			compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio";
+			reg = <0x400c0000 0x4000>;
+			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
+				<GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
+			gpio-controller;
+			#gpio-cells = <2>;
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+
 		gpt1: gpt1@401ec000 {
 			compatible = "fsl,imxrt-gpt";
 			reg = <0x401ec000 0x4000>;