Add gpt1 node for using it as timer.

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

diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi
index b7cc3fbc2a..6f9da3fe8a 100644
--- a/arch/arm/dts/imxrt1050.dtsi
+++ b/arch/arm/dts/imxrt1050.dtsi
@@ -154,5 +154,13 @@
                        clock-names = "per";
                        status = "disabled";
                };
+
+               gpt1: gpt1@401ec000 {
+                       compatible = "fsl,imxrt-gpt";
+                       reg = <0x401ec000 0x4000>;
+                       interrupts = <100>;
+                       clocks = <&osc>;
+                       status = "disabled";
+               };
        };
 };
-- 
2.25.1

Reply via email to