diff --git a/arch/arm64/boot/dts/rockchip/overlays/Makefile b/arch/arm64/boot/dts/rockchip/overlays/Makefile index 72127751..b024a01c 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/Makefile +++ b/arch/arm64/boot/dts/rockchip/overlays/Makefile @@ -564,7 +564,8 @@ dtb-$(CONFIG_CPU_RK3588) += \ rock-5t-radxa-display-10fhd.dtbo \ rock-5t-radxa-display-10hd.dtbo -dtb-$(CONFIG_ARCH_ROCKCHIP) += rockchip-watchdog.dtbo +dtb-$(CONFIG_ARCH_ROCKCHIP) += rockchip-watchdog.dtbo \ + rockchip-uart-tx-dma.dtbo dtbotxt-$(CONFIG_ARCH_ROCKCHIP) += \ README.overlays diff --git a/arch/arm64/boot/dts/rockchip/overlays/rockchip-uart-tx-dma.dts b/arch/arm64/boot/dts/rockchip/overlays/rockchip-uart-tx-dma.dts new file mode 100644 index 00000000..e5f6899e --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/overlays/rockchip-uart-tx-dma.dts @@ -0,0 +1,51 @@ +/dts-v1/; +/plugin/; + +/ { + metadata { + title = "Switch all UART TX to DMA mode"; + compatible = "rockchip,rk3566", "rockchip,rk3568", "rockchip,rk3588"; + category = "misc"; + description = "Switch all UART TX to DMA mode"; + }; +}; + +&uart0 { + dma-names = "tx"; +}; + +&uart1 { + dma-names = "tx"; +}; + +&uart2 { + dma-names = "tx"; +}; + +&uart3 { + dma-names = "tx"; +}; + +&uart4 { + dma-names = "tx"; +}; + +&uart5 { + dma-names = "tx"; +}; + +&uart6 { + dma-names = "tx"; +}; + +&uart7 { + dma-names = "tx"; +}; + +&uart8 { + dma-names = "tx"; +}; + +&uart9 { + dma-names = "tx"; +};