[PATCH] riscv: dts: fu540-c000: fix duplicated dma compatible

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Wed Apr 20 23:54:01 PDT 2022


Remove duplicated compatible to fix error:

  u540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma at 3000000:compatible: Duplicate property name

Fixes: 7eba954a8de8 ("riscv: dts: Add dma-channels property and modify compatible")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
---
 arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
index fa8c18c0e5b0..7ea6300191a5 100644
--- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
+++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
@@ -168,7 +168,6 @@ uart0: serial at 10010000 {
 			status = "disabled";
 		};
 		dma: dma at 3000000 {
-			compatible = "sifive,fu540-c000-pdma";
 			compatible = "sifive,fu540-c000-pdma", "sifive,pdma0";
 			reg = <0x0 0x3000000 0x0 0x8000>;
 			interrupt-parent = <&plic0>;
-- 
2.32.0




More information about the linux-riscv mailing list