arch/arm/rp23xx: resets: do not reset USBCTL, SYSCFG

Do not reset USB, syscfg, as this disturbs USB-to-SWD on core 1
From upstream pico-sdk runtime init

Signed-off-by: Serg Podtynnyi <serg@podtynnyi.com>
This commit is contained in:
Serg Podtynnyi
2025-05-16 19:35:05 +07:00
committed by Alan C. Assis
parent 3b27b44435
commit df8a889bd0
+3
View File
@@ -415,11 +415,14 @@ void rp23xx_clockconfig(void)
* from flash
* - and the PLLs, as this is fatal if clock muxing has not been reset on
* this boot
* - and USB, syscfg, as this disturbs USB-to-SWD on core 1
*/
setbits_reg32(RP23XX_RESETS_RESET_MASK & ~(RP23XX_RESETS_RESET_IO_QSPI |
RP23XX_RESETS_RESET_PADS_QSPI |
RP23XX_RESETS_RESET_PLL_USB |
RP23XX_RESETS_RESET_USBCTRL |
RP23XX_RESETS_RESET_SYSCFG |
RP23XX_RESETS_RESET_JTAG |
RP23XX_RESETS_RESET_PLL_SYS),
RP23XX_RESETS_RESET);