From 5acaeece07361c3ab88e88e411fbc31f5db0b87d Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Sun, 7 Jul 2024 14:56:17 +0000 Subject: [PATCH] dts: arm: nxp: lpc55s1x: add ctimer nodes Add CTimer devicetree nodes for the NXP LPC55S1x. Signed-off-by: Henrik Brix Andersen --- dts/arm/nxp/nxp_lpc55S1x_common.dtsi | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/dts/arm/nxp/nxp_lpc55S1x_common.dtsi b/dts/arm/nxp/nxp_lpc55S1x_common.dtsi index d13d7c0079f..2755e7bd868 100644 --- a/dts/arm/nxp/nxp_lpc55S1x_common.dtsi +++ b/dts/arm/nxp/nxp_lpc55S1x_common.dtsi @@ -159,6 +159,66 @@ num-inputs = <64>; }; + ctimer0: ctimer@8000 { + compatible = "nxp,lpc-ctimer"; + reg = <0x8000 0x1000>; + interrupts = <10 0>; + status = "disabled"; + clk-source = <3>; + clocks = <&syscon MCUX_CTIMER0_CLK>; + mode = <0>; + input = <0>; + prescale = <0>; + }; + + ctimer1: ctimer@9000 { + compatible = "nxp,lpc-ctimer"; + reg = <0x9000 0x1000>; + interrupts = <11 0>; + status = "disabled"; + clk-source = <3>; + clocks = <&syscon MCUX_CTIMER1_CLK>; + mode = <0>; + input = <0>; + prescale = <0>; + }; + + ctimer2: ctimer@28000 { + compatible = "nxp,lpc-ctimer"; + reg = <0x28000 0x1000>; + interrupts = <36 0>; + status = "disabled"; + clk-source = <3>; + clocks = <&syscon MCUX_CTIMER2_CLK>; + mode = <0>; + input = <0>; + prescale = <0>; + }; + + ctimer3: ctimer@29000 { + compatible = "nxp,lpc-ctimer"; + reg = <0x29000 0x1000>; + interrupts = <13 0>; + status = "disabled"; + clk-source = <3>; + clocks = <&syscon MCUX_CTIMER3_CLK>; + mode = <0>; + input = <0>; + prescale = <0>; + }; + + ctimer4: ctimer@2A000 { + compatible = "nxp,lpc-ctimer"; + reg = <0x2A000 0x1000>; + interrupts = <37 0>; + status = "disabled"; + clk-source = <3>; + clocks = <&syscon MCUX_CTIMER4_CLK>; + mode = <0>; + input = <0>; + prescale = <0>; + }; + flexcomm0: flexcomm@86000 { compatible = "nxp,lpc-flexcomm"; reg = <0x86000 0x1000>;