ARM: dts: rockchip: enable dma for uart and mmc on rk3066a
DMA controller driver is in good shape these days on rockchip platforms. So lets enable DMA for uart and mmc. Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
e5a31718d6
commit
8ce0eda30a
|
@ -637,16 +637,25 @@
|
|||
|
||||
&mmc0 {
|
||||
clock-frequency = <50000000>;
|
||||
dmas = <&dmac2 1>;
|
||||
dma-names = "rx-tx";
|
||||
max-frequency = <50000000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
|
||||
};
|
||||
|
||||
&mmc1 {
|
||||
dmas = <&dmac2 3>;
|
||||
dma-names = "rx-tx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
|
||||
};
|
||||
|
||||
&emmc {
|
||||
dmas = <&dmac2 4>;
|
||||
dma-names = "rx-tx";
|
||||
};
|
||||
|
||||
&pwm0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwm0_out>;
|
||||
|
@ -678,21 +687,29 @@
|
|||
};
|
||||
|
||||
&uart0 {
|
||||
dmas = <&dmac1_s 0>, <&dmac1_s 1>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_xfer>;
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
dmas = <&dmac1_s 2>, <&dmac1_s 3>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart1_xfer>;
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
dmas = <&dmac2 6>, <&dmac2 7>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart2_xfer>;
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
dmas = <&dmac2 8>, <&dmac2 9>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart3_xfer>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue