[PATCH v3 04/22] ARM: dts: imxrt1020: add gpt1 node
Giulio Benetti
giulio.benetti at benettiengineering.com
Thu May 13 12:18:33 CEST 2021
Add gpt1 node for using it as timer.
Signed-off-by: Giulio Benetti <giulio.benetti at 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 at 401ec000 {
+ compatible = "fsl,imxrt-gpt";
+ reg = <0x401ec000 0x4000>;
+ interrupts = <100>;
+ clocks = <&osc>;
+ status = "disabled";
+ };
};
};
--
2.25.1
More information about the U-Boot
mailing list