[PATCH v8 21/23] arch: arm64: dts: meson: s4: add crypto node
Alexey Romanov
avromanov at salutedevices.com
Fri Jun 7 07:12:40 PDT 2024
This patch adds a crypto node declaration for Amlogic S4-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-s4.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
index ce90b35686a2..dc3b75700ee6 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
@@ -89,6 +89,12 @@ gic: interrupt-controller at fff01000 {
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
};
+ clk81: clk81 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <166000000>;
+ };
+
apb4: bus at fe000000 {
compatible = "simple-bus";
reg = <0x0 0xfe000000 0x0 0x480000>;
@@ -339,6 +345,14 @@ mux {
};
+ crypto: crypto at 440400 {
+ compatible = "amlogic,s4-crypto", "amlogic,a1-crypto";
+ reg = <0x0 0x440400 0x0 0x48>;
+ interrupts = <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clk81>;
+ clock-names = "clk81";
+ };
+
gpio_intc: interrupt-controller at 4080 {
compatible = "amlogic,meson-s4-gpio-intc",
"amlogic,meson-gpio-intc";
--
2.34.1
More information about the linux-arm-kernel
mailing list