未验证 提交 6f6fa9ce 编写于 作者: Z Zong Li 提交者: Palmer Dabbelt

riscv: dts: Add dma-channels property and modify compatible

Add dma-channels property, then we can determine how many channels there
by device tree, in addition, we add the pdma versioning scheme for
compatible.
Signed-off-by: NZong Li <zong.li@sifive.com>
Reviewed-by: NPalmer Dabbelt <palmer@rivosinc.com>
Acked-by: NPalmer Dabbelt <palmer@rivosinc.com>
Acked-by: NConor Dooley <conor.dooley@microchip.com>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
Signed-off-by: NPalmer Dabbelt <palmer@rivosinc.com>
上级 7da9ca3f
...@@ -168,11 +168,12 @@ ...@@ -168,11 +168,12 @@
status = "disabled"; status = "disabled";
}; };
dma: dma@3000000 { dma: dma@3000000 {
compatible = "sifive,fu540-c000-pdma"; compatible = "sifive,fu540-c000-pdma", "sifive,pdma0";
reg = <0x0 0x3000000 0x0 0x8000>; reg = <0x0 0x3000000 0x0 0x8000>;
interrupt-parent = <&plic0>; interrupt-parent = <&plic0>;
interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>,
<30>; <30>;
dma-channels = <4>;
#dma-cells = <1>; #dma-cells = <1>;
}; };
uart1: serial@10011000 { uart1: serial@10011000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册