From 390f8329b44b441eed62bd34e8ddcdf38669fb33 Mon Sep 17 00:00:00 2001 From: Aaron Ye Date: Wed, 30 Oct 2024 16:54:35 +0800 Subject: [PATCH] dts: arm: ambiq: add ITM node for Apollo series This commit adds the ITM node for Ambiq Apollo3 and Apollo4 series devicetree. Signed-off-by: Aaron Ye --- dts/arm/ambiq/ambiq_apollo3_blue.dtsi | 8 ++++++++ dts/arm/ambiq/ambiq_apollo3p_blue.dtsi | 8 ++++++++ dts/arm/ambiq/ambiq_apollo4p.dtsi | 8 ++++++++ dts/arm/ambiq/ambiq_apollo4p_blue.dtsi | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/dts/arm/ambiq/ambiq_apollo3_blue.dtsi b/dts/arm/ambiq/ambiq_apollo3_blue.dtsi index 14760d737b1..bc936a37040 100644 --- a/dts/arm/ambiq/ambiq_apollo3_blue.dtsi +++ b/dts/arm/ambiq/ambiq_apollo3_blue.dtsi @@ -24,6 +24,14 @@ compatible = "arm,cortex-m4f"; reg = <0>; cpu-power-states = <&idle &suspend_to_ram>; + #address-cells = <1>; + #size-cells = <1>; + + itm: itm@e0000000 { + compatible = "arm,armv7m-itm"; + reg = <0xe0000000 0x1000>; + swo-ref-frequency = ; + }; }; power-states { diff --git a/dts/arm/ambiq/ambiq_apollo3p_blue.dtsi b/dts/arm/ambiq/ambiq_apollo3p_blue.dtsi index ef0f680c75b..35656ac898d 100644 --- a/dts/arm/ambiq/ambiq_apollo3p_blue.dtsi +++ b/dts/arm/ambiq/ambiq_apollo3p_blue.dtsi @@ -24,6 +24,14 @@ compatible = "arm,cortex-m4f"; reg = <0>; cpu-power-states = <&idle &suspend_to_ram>; + #address-cells = <1>; + #size-cells = <1>; + + itm: itm@e0000000 { + compatible = "arm,armv7m-itm"; + reg = <0xe0000000 0x1000>; + swo-ref-frequency = ; + }; }; power-states { diff --git a/dts/arm/ambiq/ambiq_apollo4p.dtsi b/dts/arm/ambiq/ambiq_apollo4p.dtsi index 0688913cc20..c5641cfd352 100644 --- a/dts/arm/ambiq/ambiq_apollo4p.dtsi +++ b/dts/arm/ambiq/ambiq_apollo4p.dtsi @@ -24,6 +24,14 @@ compatible = "arm,cortex-m4f"; reg = <0>; cpu-power-states = <&idle &suspend_to_ram>; + #address-cells = <1>; + #size-cells = <1>; + + itm: itm@e0000000 { + compatible = "arm,armv7m-itm"; + reg = <0xe0000000 0x1000>; + swo-ref-frequency = ; + }; }; power-states { idle: idle { diff --git a/dts/arm/ambiq/ambiq_apollo4p_blue.dtsi b/dts/arm/ambiq/ambiq_apollo4p_blue.dtsi index 9fd6beacfad..70f13bda5e9 100644 --- a/dts/arm/ambiq/ambiq_apollo4p_blue.dtsi +++ b/dts/arm/ambiq/ambiq_apollo4p_blue.dtsi @@ -32,6 +32,14 @@ cpu0: cpu@0 { compatible = "arm,cortex-m4f"; reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + + itm: itm@e0000000 { + compatible = "arm,armv7m-itm"; + reg = <0xe0000000 0x1000>; + swo-ref-frequency = ; + }; }; };