lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220712142040.12021-1-v.v.mitrofanov@yadro.com>
Date:   Tue, 12 Jul 2022 17:20:38 +0300
From:   Viacheslav Mitrofanov <v.v.mitrofanov@...ro.com>
To:     unlisted-recipients:; (no To-header on input)
CC:     <linux@...ro.com>,
        Viacheslav Mitrofanov <v.v.mitrofanov@...ro.com>,
        "Rob Herring" <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Paul Walmsley <paul.walmsley@...ive.com>,
        Palmer Dabbelt <palmer@...belt.com>,
        Albert Ou <aou@...s.berkeley.edu>,
        Geert Uytterhoeven <geert@...ux-m68k.org>,
        "Stephen Boyd" <sboyd@...nel.org>, Zong Li <zong.li@...ive.com>,
        <devicetree@...r.kernel.org>, <linux-riscv@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
Subject: [PATCH] riscv: dts: fu740: Add PDMA node

HiFive unmatched supports PDMA but is not implemented in DT.

Add the PDMA node in SiFive FU740 soc-specific DT file.

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@...ro.com>
---
 arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
index 7b77c13496d8..4bd670d8632f 100644
--- a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
+++ b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
@@ -161,6 +161,14 @@ prci: clock-controller@...00000 {
 			#clock-cells = <1>;
 			#reset-cells = <1>;
 		};
+		dma: dma-controller@...0000 {
+			compatible = "sifive,pdma0";
+			reg = <0x0 0x3000000 0x0 0x8000>;
+			interrupt-parent = <&plic0>;
+			interrupts = <11 12 13 14 15 16 17 18>;
+			dma-channels = <4>;
+			#dma-cells = <1>;
+		};
 		uart0: serial@...10000 {
 			compatible = "sifive,fu740-c000-uart", "sifive,uart0";
 			reg = <0x0 0x10010000 0x0 0x1000>;
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ