Skip to content

Commit 390f832

Browse files
aaronyegxnashif
authored andcommitted
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 <[email protected]>
1 parent 2493123 commit 390f832

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

dts/arm/ambiq/ambiq_apollo3_blue.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
compatible = "arm,cortex-m4f";
2525
reg = <0>;
2626
cpu-power-states = <&idle &suspend_to_ram>;
27+
#address-cells = <1>;
28+
#size-cells = <1>;
29+
30+
itm: itm@e0000000 {
31+
compatible = "arm,armv7m-itm";
32+
reg = <0xe0000000 0x1000>;
33+
swo-ref-frequency = <DT_FREQ_M(6)>;
34+
};
2735
};
2836

2937
power-states {

dts/arm/ambiq/ambiq_apollo3p_blue.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
compatible = "arm,cortex-m4f";
2525
reg = <0>;
2626
cpu-power-states = <&idle &suspend_to_ram>;
27+
#address-cells = <1>;
28+
#size-cells = <1>;
29+
30+
itm: itm@e0000000 {
31+
compatible = "arm,armv7m-itm";
32+
reg = <0xe0000000 0x1000>;
33+
swo-ref-frequency = <DT_FREQ_M(6)>;
34+
};
2735
};
2836

2937
power-states {

dts/arm/ambiq/ambiq_apollo4p.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
compatible = "arm,cortex-m4f";
2525
reg = <0>;
2626
cpu-power-states = <&idle &suspend_to_ram>;
27+
#address-cells = <1>;
28+
#size-cells = <1>;
29+
30+
itm: itm@e0000000 {
31+
compatible = "arm,armv7m-itm";
32+
reg = <0xe0000000 0x1000>;
33+
swo-ref-frequency = <DT_FREQ_M(48)>;
34+
};
2735
};
2836
power-states {
2937
idle: idle {

dts/arm/ambiq/ambiq_apollo4p_blue.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
cpu0: cpu@0 {
3333
compatible = "arm,cortex-m4f";
3434
reg = <0>;
35+
#address-cells = <1>;
36+
#size-cells = <1>;
37+
38+
itm: itm@e0000000 {
39+
compatible = "arm,armv7m-itm";
40+
reg = <0xe0000000 0x1000>;
41+
swo-ref-frequency = <DT_FREQ_M(48)>;
42+
};
3543
};
3644
};
3745

0 commit comments

Comments
 (0)