Commit 8ce0eda3 authored by Paweł Jarosz's avatar Paweł Jarosz Committed by Heiko Stuebner

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: default avatarPaweł Jarosz <paweljarosz3691@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent e5a31718
...@@ -637,16 +637,25 @@ &i2c4 { ...@@ -637,16 +637,25 @@ &i2c4 {
&mmc0 { &mmc0 {
clock-frequency = <50000000>; clock-frequency = <50000000>;
dmas = <&dmac2 1>;
dma-names = "rx-tx";
max-frequency = <50000000>; max-frequency = <50000000>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4>;
}; };
&mmc1 { &mmc1 {
dmas = <&dmac2 3>;
dma-names = "rx-tx";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>; pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
}; };
&emmc {
dmas = <&dmac2 4>;
dma-names = "rx-tx";
};
&pwm0 { &pwm0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm0_out>; pinctrl-0 = <&pwm0_out>;
...@@ -678,21 +687,29 @@ &spi1 { ...@@ -678,21 +687,29 @@ &spi1 {
}; };
&uart0 { &uart0 {
dmas = <&dmac1_s 0>, <&dmac1_s 1>;
dma-names = "tx", "rx";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_xfer>; pinctrl-0 = <&uart0_xfer>;
}; };
&uart1 { &uart1 {
dmas = <&dmac1_s 2>, <&dmac1_s 3>;
dma-names = "tx", "rx";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart1_xfer>; pinctrl-0 = <&uart1_xfer>;
}; };
&uart2 { &uart2 {
dmas = <&dmac2 6>, <&dmac2 7>;
dma-names = "tx", "rx";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart2_xfer>; pinctrl-0 = <&uart2_xfer>;
}; };
&uart3 { &uart3 {
dmas = <&dmac2 8>, <&dmac2 9>;
dma-names = "tx", "rx";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart3_xfer>; pinctrl-0 = <&uart3_xfer>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment