Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dts/arm/nxp/nxp_lpc55S2x_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
compatible = "arm,armv8m-mpu";
reg = <0xe000ed90 0x40>;
};

itm: itm@e0000000 {
compatible = "arm,armv8m-itm";
reg = <0xe0000000 0x1000>;
};
};
};
};
Expand Down
1 change: 1 addition & 0 deletions soc/nxp/lpc/lpc55xxx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

config SOC_SERIES_LPC55XXX
select HAS_MCUX
select HAS_SWO
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_DWT
select SOC_RESET_HOOK
Expand Down
6 changes: 6 additions & 0 deletions soc/nxp/lpc/lpc55xxx/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,12 @@ DT_FOREACH_STATUS_OKAY(nxp_ctimer_pwm, CTIMER_CLOCK_SETUP)
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(opamp2))
POWER_DisablePD(kPDRUNCFG_PD_OPAMP2);
#endif

#ifdef CONFIG_LOG_BACKEND_SWO
CLOCK_AttachClk(kTRACE_DIV_to_TRACE);
CLOCK_SetClkDiv(kCLOCK_DivArmTrClkDiv, 1U, true);
#endif

}

/**
Expand Down