[PATCH v1 19/24] arch: arm64: dts: meson: g12: add crypto node

Alexey Romanov avromanov at salutedevices.com
Wed Jan 10 12:11:35 PST 2024


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

Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
---
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index 0c49655cc90c..cc319cfdb2ad 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -1708,6 +1708,13 @@ internal_ephy: ethernet-phy at 8 {
 					};
 				};
 			};
+
+			crypto: crypto at 3e000 {
+				compatible = "amlogic,g12a-crypto";
+				reg = <0x0 0x3e000 0x0 0x48>;
+				interrupts = <GIC_SPI 180 IRQ_TYPE_EDGE_RISING>;
+				status = "disabled";
+			};
 		};
 
 		aobus: bus at ff800000 {
-- 
2.30.1




More information about the linux-amlogic mailing list