[PATCH 2/2] rockchip: dts: Enable UART DMA by adding default dma-names property
Ed Wildgoose
lists at wildgooses.com
Thu Sep 18 02:32:46 PDT 2025
Kernel appears to need a dma-names set for DMA to actually enable. Set a
default dma-names property for all UARTs defined in the board
definition: rk3566-radxa-zero-3.dtsi
This is tested on a Radxa Zero 3W (which has 5x UARTs) and removes the
warnings and enables DMA on this platform
Signed-off-by: Ed Wildgoose <lists at wildgooses.com>
---
arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
index e644bfc9c..fc26a4a52 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3.dtsi
@@ -488,21 +488,29 @@ &tsadc {
status = "okay";
};
+&uart1 {
+ dma-names = "tx", "rx";
+};
+
&uart2 {
+ dma-names = "tx", "rx";
status = "okay";
};
&uart4{
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&uart4m1_xfer>;
};
&uart5 {
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&uart5m1_xfer>;
};
&uart9 {
+ dma-names = "tx", "rx";
pinctrl-names = "default";
pinctrl-0 = <&uart9m1_xfer>;
};
--
2.49.0
More information about the linux-arm-kernel
mailing list