[PATCH v8 22/23] arch: arm64: dts: meson: g12: add crypto node

Alexey Romanov avromanov at salutedevices.com
Fri Jun 7 07:12:41 PDT 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 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index 9d5eab6595d0..5265229309ae 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -1709,6 +1709,14 @@ 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>;
+				clocks = <&clkc CLKID_CLK81>;
+				clock-names = "clk81";
+			};
 		};
 
 		aobus: bus at ff800000 {
-- 
2.34.1




More information about the linux-amlogic mailing list