Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 6ed9a85

Browse files
Andre-ARMwens
authored andcommitted
arm64: dts: allwinner: h616: add crypto engine node
The Allwinner H616 SoC contains a crypto engine very similar to the H6 version, but with all base addresses in the DMA descriptors shifted by two bits. This requires a new compatible string. Also the H616 CE relies on the internal osciallator for the TRNG operation, so we need to reference this clock. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20240624232110.9817-5-andre.przywara@arm.com [wens@csie.org: fix up register range size] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 0ce1d34 commit 6ed9a85

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@
150150
#size-cells = <1>;
151151
ranges = <0x0 0x0 0x0 0x40000000>;
152152

153+
crypto: crypto@1904000 {
154+
compatible = "allwinner,sun50i-h616-crypto";
155+
reg = <0x01904000 0x800>;
156+
interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
157+
clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>,
158+
<&ccu CLK_MBUS_CE>, <&rtc CLK_IOSC>;
159+
clock-names = "bus", "mod", "ram", "trng";
160+
resets = <&ccu RST_BUS_CE>;
161+
};
162+
153163
syscon: syscon@3000000 {
154164
compatible = "allwinner,sun50i-h616-system-control";
155165
reg = <0x03000000 0x1000>;

0 commit comments

Comments
 (0)