Subject: [PATCHv1 1/3] arm64: dts: amlogic: adds crypto hardware node for GXBB SoCs

From: Anand Moon <[email-masked]>
Date: Wed, 11 Dec 2019 08:41:10 +0000

This patch adds the crypto hardware node for all GXBB SoCs.

Cc: Corentin Labbe <[email-masked]>
Cc: Martin Blumenstingl <[email-masked]>
Cc: Neil Armstrong <[email-masked]>
Signed-off-by: Anand Moon <[email-masked]>
---
Tested on Odroid C2 GXBB
---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 0cb40326b0d3..bac8fbfd4f01 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -14,6 +14,16 @@ / {
 	compatible = "amlogic,meson-gxbb";
 
 	soc {
+		crypto: crypto@c883e000 {
+			compatible = "amlogic,gxbb-crypto";
+			reg = <0x0 0xc883e000 0x0 0x36>;
+			interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
+			clocks = <&clkc CLKID_BLKMV>;
+			clock-names = "blkmv";
+			status = "okay";
+		};
+
 		usb0_phy: phy@c0000000 {
 			compatible = "amlogic,meson-gxbb-usb2-phy";
 			#phy-cells = <0>;
-- 
2.24.0

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel