From: Peter Ujfalusi <peter.ujfalusi@xxxxxx> Add sa2ul crypto accelarator node. In comparision to j721e, The sa2ul crypto device on j7200 has moved to mcu domain and is available for linux usage as a shared device. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx> [praneeth@xxxxxx: picked recommendation from author to k3-j7200-mcu-wakeup.dtsi and verified functionality] Signed-off-by: Praneeth Bajjuri <praneeth@xxxxxx> Signed-off-by: Gowtham Tammana <g-tammana@xxxxxx> [s-anna@xxxxxx: minor formatting cleanups] Signed-off-by: Suman Anna <s-anna@xxxxxx> --- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 5e74e43822c3..f24bd4af62c8 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -380,4 +380,24 @@ mcu_r5fss0_core1: r5f@41400000 { ti,loczrama = <1>; }; }; + + mcu_crypto: crypto@40900000 { + compatible = "ti,j721e-sa2ul"; + reg = <0x00 0x40900000 0x00 0x1200>; + power-domains = <&k3_pds 265 TI_SCI_PD_SHARED>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; + dmas = <&mcu_udmap 0xf501>, <&mcu_udmap 0x7502>, + <&mcu_udmap 0x7503>; + dma-names = "tx", "rx1", "rx2"; + dma-coherent; + + rng: rng@40910000 { + compatible = "inside-secure,safexcel-eip76"; + reg = <0x00 0x40910000 0x00 0x7d>; + interrupts = <GIC_SPI 945 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&k3_clks 265 1>; + }; + }; }; -- 2.30.1