summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts/allwinner
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2023-01-01 01:01:45 +0300
committerJernej Skrabec <jernej.skrabec@gmail.com>2023-03-14 23:35:00 +0300
commit9ebdff9aac5ded7bb515e80478afacaaa3abd799 (patch)
treea1f69246c7352092298575b320d7bb0ea5464d5a /arch/riscv/boot/dts/allwinner
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-9ebdff9aac5ded7bb515e80478afacaaa3abd799.tar.xz
riscv: dts: allwinner: d1: Add crypto engine node
D1 contains a crypto engine which is supported by the sun8i-ce driver. Signed-off-by: Samuel Holland <samuel@sholland.org> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20221231220146.646-4-samuel@sholland.org Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'arch/riscv/boot/dts/allwinner')
-rw-r--r--arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi
index 6fadcee7800f..951810d46307 100644
--- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi
+++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi
@@ -367,6 +367,18 @@
#size-cells = <1>;
};
+ crypto: crypto@3040000 {
+ compatible = "allwinner,sun20i-d1-crypto";
+ reg = <0x3040000 0x800>;
+ interrupts = <SOC_PERIPHERAL_IRQ(52) IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_CE>,
+ <&ccu CLK_CE>,
+ <&ccu CLK_MBUS_CE>,
+ <&rtc CLK_IOSC>;
+ clock-names = "bus", "mod", "ram", "trng";
+ resets = <&ccu RST_BUS_CE>;
+ };
+
mbus: dram-controller@3102000 {
compatible = "allwinner,sun20i-d1-mbus";
reg = <0x3102000 0x1000>,