Skip to content

Commit 66ec2ba

Browse files
andrei-edward-popacarlescufi
authored andcommitted
dts: arm: rpi_pico: added resets for UART instances
added resets for Raspberry Pi Pico UART instances enabled reset controller in defconfig Signed-off-by: Andrei-Edward Popa <[email protected]>
1 parent 7a02066 commit 66ec2ba

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

boards/arm/rpi_pico/rpi_pico_defconfig

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ CONFIG_GPIO=y
88
CONFIG_USE_DT_CODE_PARTITION=y
99
CONFIG_BUILD_OUTPUT_UF2=y
1010
CONFIG_UART_INTERRUPT_DRIVEN=y
11+
CONFIG_RESET=y

dts/arm/rpi_pico/rp2040.dtsi

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
compatible = "raspberrypi,pico-uart";
8383
reg = <0x40034000 DT_SIZE_K(4)>;
8484
clocks = <&peripheral_clk>;
85+
resets = <&reset RPI_PICO_RESETS_RESET_UART0>;
8586
interrupts = <20 RPI_PICO_DEFAULT_IRQ_PRIORITY>;
8687
interrupt-names = "uart0";
8788
label = "UART_0";
@@ -92,6 +93,7 @@
9293
compatible = "raspberrypi,pico-uart";
9394
reg = <0x40038000 DT_SIZE_K(4)>;
9495
clocks = <&peripheral_clk>;
96+
resets = <&reset RPI_PICO_RESETS_RESET_UART1>;
9597
interrupts = <21 RPI_PICO_DEFAULT_IRQ_PRIORITY>;
9698
interrupt-names = "uart1";
9799
label = "UART_1";

0 commit comments

Comments
 (0)