forked from radxa-pkg/radxa-overlays
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* closes radxa-pkg#366
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
arch/arm64/boot/dts/rockchip/overlays/rockchip-uart-dma.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
metadata { | ||
title = "Enable DMA transfer mode for all UARTs"; | ||
compatible = "rockchip,rk3566", "rockchip,rk3568", "rockchip,rk3588"; | ||
category = "misc"; | ||
description = "Enable DMA transfer mode for all UARTs. | ||
DMA mode can help alleviating the CPU load when the data rate is high. | ||
It is not necessary to enable it at low data rate, as DMA requires additional resources to set up."; | ||
}; | ||
}; | ||
|
||
&uart0 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart1 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart2 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart3 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart4 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart5 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart6 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart7 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart8 { | ||
dma-names = "tx", "rx"; | ||
}; | ||
|
||
&uart9 { | ||
dma-names = "tx", "rx"; | ||
}; |