From f5efb381b8af563600f327c2273b117d0ef7f785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Chru=C5=9Bci=C5=84ski?= Date: Thu, 12 Dec 2024 09:11:04 +0100 Subject: [PATCH] [nrf fromlist] dts: common: nordic: Add clock source to timers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add clock source to timers which indicates maximum frequency of the timer instance. Upstream PR #: 82901 Signed-off-by: Krzysztof Chruściński --- dts/common/nordic/nrf54h20.dtsi | 6 +++--- dts/common/nordic/nrf54l20.dtsi | 4 ++-- dts/common/nordic/nrf54l_05_10_15.dtsi | 4 ++-- dts/common/nordic/nrf9280.dtsi | 17 ++++++++++++----- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/dts/common/nordic/nrf54h20.dtsi b/dts/common/nordic/nrf54h20.dtsi index 6ce4fda00fa..f879e08fa52 100644 --- a/dts/common/nordic/nrf54h20.dtsi +++ b/dts/common/nordic/nrf54h20.dtsi @@ -374,7 +374,7 @@ status = "disabled"; cc-num = <8>; interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>; - clocks = <&fll16m>; + clocks = <&hfxo>; max-bit-width = <32>; max-frequency = ; prescaler = <0>; @@ -386,7 +386,7 @@ status = "disabled"; cc-num = <8>; interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>; - clocks = <&fll16m>; + clocks = <&hfxo>; max-bit-width = <32>; max-frequency = ; prescaler = <0>; @@ -398,7 +398,7 @@ status = "disabled"; cc-num = <8>; interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>; - clocks = <&fll16m>; + clocks = <&hfxo>; max-bit-width = <32>; max-frequency = ; prescaler = <0>; diff --git a/dts/common/nordic/nrf54l20.dtsi b/dts/common/nordic/nrf54l20.dtsi index 7487915cdfd..a7f72bf5a30 100644 --- a/dts/common/nordic/nrf54l20.dtsi +++ b/dts/common/nordic/nrf54l20.dtsi @@ -152,7 +152,7 @@ cc-num = <6>; max-bit-width = <32>; interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>; - max-frequency = ; + clocks = <&hfpll>; prescaler = <0>; }; @@ -181,7 +181,7 @@ cc-num = <8>; max-bit-width = <32>; interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>; - max-frequency = ; + clocks = <&hfxo>; prescaler = <0>; }; diff --git a/dts/common/nordic/nrf54l_05_10_15.dtsi b/dts/common/nordic/nrf54l_05_10_15.dtsi index d1141643ef1..d4e0ee6df00 100644 --- a/dts/common/nordic/nrf54l_05_10_15.dtsi +++ b/dts/common/nordic/nrf54l_05_10_15.dtsi @@ -191,7 +191,7 @@ cc-num = <6>; max-bit-width = <32>; interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>; - max-frequency = ; + clocks = <&hfpll>; prescaler = <0>; }; @@ -220,7 +220,7 @@ cc-num = <8>; max-bit-width = <32>; interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>; - max-frequency = ; + clocks = <&hfxo>; prescaler = <0>; }; diff --git a/dts/common/nordic/nrf9280.dtsi b/dts/common/nordic/nrf9280.dtsi index c9e1742e102..1222f3675ec 100644 --- a/dts/common/nordic/nrf9280.dtsi +++ b/dts/common/nordic/nrf9280.dtsi @@ -88,6 +88,13 @@ #clock-cells = <0>; clock-frequency = ; }; + + hsfll120: hsfll120 { + compatible = "fixed-clock"; + clocks = <&fll16m>; + #clock-cells = <0>; + clock-frequency = ; + }; }; soc { @@ -261,7 +268,7 @@ cc-num = <8>; interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>; max-bit-width = <32>; - max-frequency = ; + clocks = <&hfxo>; prescaler = <0>; }; @@ -272,7 +279,7 @@ cc-num = <8>; interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>; max-bit-width = <32>; - max-frequency = ; + clocks = <&hfxo>; prescaler = <0>; }; @@ -283,7 +290,7 @@ cc-num = <8>; interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>; max-bit-width = <32>; - max-frequency = ; + clocks = <&hfxo>; prescaler = <0>; }; @@ -462,7 +469,7 @@ cc-num = <6>; interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>; max-bit-width = <32>; - max-frequency = ; + clocks = <&hsfll120>; prescaler = <0>; }; @@ -473,7 +480,7 @@ cc-num = <6>; interrupts = <227 NRF_DEFAULT_IRQ_PRIORITY>; max-bit-width = <32>; - max-frequency = ; + clocks = <&hsfll120>; prescaler = <0>; };