Antoine Ténart | 0f89b39 | 2017-05-24 16:10:31 +0200 | [diff] [blame] | 1 | Inside Secure SafeXcel cryptographic engine |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "inside-secure,safexcel-eip197". |
| 5 | - reg: Base physical address of the engine and length of memory mapped region. |
| 6 | - interrupts: Interrupt numbers for the rings and engine. |
| 7 | - interrupt-names: Should be "ring0", "ring1", "ring2", "ring3", "eip", "mem". |
| 8 | |
| 9 | Optional properties: |
| 10 | - clocks: Reference to the crypto engine clock. |
| 11 | - dma-mask: The address mask limitation. Defaults to 64. |
| 12 | |
| 13 | Example: |
| 14 | |
| 15 | crypto: crypto@800000 { |
| 16 | compatible = "inside-secure,safexcel-eip197"; |
| 17 | reg = <0x800000 0x200000>; |
| 18 | interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, |
| 19 | <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, |
| 20 | <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, |
| 21 | <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, |
| 22 | <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, |
| 23 | <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; |
| 24 | interrupt-names = "mem", "ring0", "ring1", "ring2", "ring3", |
| 25 | "eip"; |
| 26 | clocks = <&cpm_syscon0 1 26>; |
| 27 | dma-mask = <0xff 0xffffffff>; |
| 28 | status = "disabled"; |
| 29 | }; |