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

Giulio Benetti giulio.benetti at benettiengineering.com
Sun May 16 23:57:02 CEST 2021


i.MXRT1020 supports gpio5, so let's add a node for it.

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

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 at 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 at 401ec000 {
 			compatible = "fsl,imxrt-gpt";
 			reg = <0x401ec000 0x4000>;
-- 
2.25.1



More information about the U-Boot mailing list