[RFC PATCH 3/6] arm64: dts: ti: k3-am64-main: add SA2UL public key accelerator subdevice

From: Daniel Parks
Date: Mon Aug 08 2022 - 15:14:28 EST


The PKA on am64 will eventually be accessible from the A53, so add it as
a (disabled) subdevice alongside the RNG module.

This patch depends on "[PATCH v2 0/2] Enable SA2UL support on AM64X" [1]

[1]: https://lore.kernel.org/linux-arm-kernel/20220711085743.10128-1-j-choudhary@xxxxxx/

Signed-off-by: Daniel Parks <danielrparks@xxxxxx>
---
arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
index aa3b43c515d2..52f7a122e782 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -1326,6 +1326,14 @@
interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&k3_clks 133 1>;
status = "disabled"; /* Used by OP-TEE */
};
+
+ pka: pka@40920000 {
+ compatible = "inside-secure,safexcel-eip29t2";
+ reg = <0x00 0x40920000 0x00 0x2000>,
+ <0x00 0x40924000 0x00 0x8000>;
+ interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled"; /* handoff from sysfw not yet implemented */
+ };
};
};
--
2.17.1