mirror of https://gitee.com/openkylin/linux.git
ARM: at91: sama5d3xek: reserve dma channel for audio
We set the DMA configuration on USARTs in the SoC DT in (ARM: at91: sama5d3: add usart dma configurations). As the audio must work with DMA channels, we reserve some dma channels for audio, or else audio won't work. Signed-off-by: Bo Shen <voice.shen@atmel.com> [nicolas.ferre@atmel.com: move to the sama5d3xmb.dtsi to cover all board variants] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
parent
d24cd78399
commit
fe855dbfd3
|
@ -25,6 +25,8 @@ slot@0 {
|
||||||
};
|
};
|
||||||
|
|
||||||
spi0: spi@f0004000 {
|
spi0: spi@f0004000 {
|
||||||
|
dmas = <0>, <0>; /* Do not use DMA for spi0 */
|
||||||
|
|
||||||
m25p80@0 {
|
m25p80@0 {
|
||||||
compatible = "atmel,at25df321a";
|
compatible = "atmel,at25df321a";
|
||||||
spi-max-frequency = <50000000>;
|
spi-max-frequency = <50000000>;
|
||||||
|
@ -51,6 +53,7 @@ wm8904: wm8904@1a {
|
||||||
};
|
};
|
||||||
|
|
||||||
usart1: serial@f0020000 {
|
usart1: serial@f0020000 {
|
||||||
|
dmas = <0>, <0>; /* Do not use DMA for usart1 */
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
|
pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -132,6 +135,7 @@ pinctrl_usba_vbus: usba_vbus {
|
||||||
};
|
};
|
||||||
|
|
||||||
dbgu: serial@ffffee00 {
|
dbgu: serial@ffffee00 {
|
||||||
|
dmas = <0>, <0>; /* Do not use DMA for dbgu */
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue