]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: spacemit: add UART resets for Soc K1
authorHendrik Hamerlinck <hendrik.hamerlinck@hammernet.be>
Thu, 21 Aug 2025 15:26:19 +0000 (17:26 +0200)
committerYixun Lan <dlan@gentoo.org>
Sun, 24 Aug 2025 07:16:09 +0000 (15:16 +0800)
commiteba84c94f9597a82f143997bfacc75e5b27a37de
treed1f01168c9741e438704e7c35df3a731f7fbd9b6
parentbab8dea259100a99e047fd11a48940b229d30031
riscv: dts: spacemit: add UART resets for Soc K1

The UARTs in the SpacemiT K1 device tree are probed by the 8250_of driver,
but without reset lines they remain non-functional.

Add reset control entries so that the UARTs can operate when mapped to
devices. UART0 is already de-asserted by the bootloader, but include its
reset as well to avoid relying on bootloader state.

Tested on Orange Pi RV2 and Banana Pi BPI-F3 boards, with UART9 enabled
and verified functional.

Signed-off-by: Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/r/20250821152619.597051-1-hendrik.hamerlinck@hammernet.be
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1.dtsi