Add gpt1 node for using it as timer.

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

diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi
index 0a3a3b451a..cab608c644 100644
--- a/arch/arm/dts/imxrt1020.dtsi
+++ b/arch/arm/dts/imxrt1020.dtsi
@@ -129,5 +129,13 @@
                        interrupt-controller;
                        #interrupt-cells = <2>;
                };
+
+               gpt1: gpt1@401ec000 {
+                       compatible = "fsl,imxrt-gpt";
+                       reg = <0x401ec000 0x4000>;
+                       interrupts = <100>;
+                       clocks = <&osc>;
+                       status = "disabled";
+               };
        };
 };
-- 
2.25.1

Reply via email to