dts: mimx8mm: add gpt counter device nodes

Add dts node for GPT.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
This commit is contained in:
Jiafei Pan 2024-03-20 16:09:31 +08:00 committed by Carles Cufí
parent 212af1f33d
commit f81cf5b61e
1 changed files with 22 additions and 0 deletions

View File

@ -72,6 +72,28 @@
status = "okay";
};
gpt1: gpt@302d0000 {
compatible = "nxp,imx-gpt";
reg = <0x302d0000 DT_SIZE_K(64)>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>;
gptfreq = <24000000>;
clocks = <&ccm IMX_CCM_GPT_IPG_CLK 0x6C 20>;
status = "disabled";
};
gpt2: gpt@302e0000 {
compatible = "nxp,imx-gpt";
reg = <0x302e0000 DT_SIZE_K(64)>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>;
gptfreq = <24000000>;
clocks = <&ccm IMX_CCM_GPT_IPG_CLK 0x68 24>;
status = "disabled";
};
iomuxc: iomuxc@30330000 {
compatible = "nxp,imx-iomuxc";
reg = <0x30330000 DT_SIZE_K(64)>;