Skip to content

Commit bf75581

Browse files
Tero Kristotmlind
authored andcommitted
ARM: dts: omap5: add SHA crypto accelerator node
Add the single available SHA crypto accelerator device for OMAP5 SoC. Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 4b9882a commit bf75581

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

arch/arm/boot/dts/omap5.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,34 @@
305305
};
306306
};
307307

308+
sham_target: target-module@4b100000 {
309+
compatible = "ti,sysc-omap3-sham", "ti,sysc";
310+
reg = <0x4b100100 0x4>,
311+
<0x4b100110 0x4>,
312+
<0x4b100114 0x4>;
313+
reg-names = "rev", "sysc", "syss";
314+
ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
315+
SYSC_OMAP2_AUTOIDLE)>;
316+
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
317+
<SYSC_IDLE_NO>,
318+
<SYSC_IDLE_SMART>;
319+
ti,syss-mask = <1>;
320+
/* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
321+
clocks = <&l4sec_clkctrl OMAP5_SHA2MD5_CLKCTRL 0>;
322+
clock-names = "fck";
323+
#address-cells = <1>;
324+
#size-cells = <1>;
325+
ranges = <0x0 0x4b100000 0x1000>;
326+
327+
sham: sham@0 {
328+
compatible = "ti,omap4-sham";
329+
reg = <0 0x300>;
330+
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
331+
dmas = <&sdma 119>;
332+
dma-names = "rx";
333+
};
334+
};
335+
308336
bandgap: bandgap@4a0021e0 {
309337
reg = <0x4a0021e0 0xc
310338
0x4a00232c 0xc

0 commit comments

Comments
 (0)