aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Benetti2021-05-13 12:18:33 +0200
committerStefano Babic2021-06-09 13:01:33 +0200
commitdf243c93d3094b658766ab73386e788be5ecfc08 (patch)
tree4a759045dad82ba96bc164e632963c1b8fab39e1
parentbfdbe871a0e1bce36ec816b4ae2b2504fb2a895b (diff)
ARM: dts: imxrt1020: add gpt1 node
Add gpt1 node for using it as timer. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
-rw-r--r--arch/arm/dts/imxrt1020.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi
index 0a3a3b451a7..cab608c644c 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";
+ };
};
};