[PATCH v15 22/35] arm64: dts: amlogic: a1: add crypto node

From: Jose Nieto

Date: Wed Dec 02 2026 - 05:10:59 EST


From: Alexey Romanov <romanov.alexey2000@xxxxxxxxx>

This patch adds a crypto node declaration. With the
Amlogic crypto driver we can use HW implementation
of SHA1/224/256 and AES algo.

Signed-off-by: Alexey Romanov <romanov.alexey2000@xxxxxxxxx>
Signed-off-by: Jose Nieto <jnieto.alaber@xxxxxxxxx>
---
arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index 6f6a6145cba1..396260b7b398 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -686,6 +686,14 @@ sd_emmc: mmc@10000 {
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC>;
assigned-clock-rates = <24000000>;
};
+
+ crypto: crypto@6000 {
+ compatible = "amlogic,a1-crypto";
+ reg = <0x0 0x6000 0x0 0x48>;
+ interrupts = <GIC_SPI 120 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clk81>;
+ power-domains = <&pwrc PWRC_DMA_ID>;
+ };
};

usb: usb@fe004400 {
@@ -767,4 +775,10 @@ xtal: xtal-clk {
clock-output-names = "xtal";
#clock-cells = <0>;
};
+
+ clk81: clk81 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <64000000>;
+ };
};
--
2.47.3