| * Amlogic HW cryptographic accelerators |
| |
| These are the HW cryptographic accelerators found on Amlogic products. |
| |
| *For S805 series and S905 series |
| |
| * Advanced Encryption Standard (AES) |
| |
| Required properties: |
| - compatible : Should be "amlogic,aes" for aes-128/192/256 |
| - dev_name : Should be "aml_aes" |
| - interrupts: Should contain the IRQ line for the AES. |
| - resets: Should contain the clock to enable the module |
| - reg: Should contain the base address of regs |
| |
| Example: |
| aml_aes{ |
| compatible = "amlogic,aes"; |
| dev_name = "aml_aes"; |
| interrupts = <0 36 1>; |
| resets = <&clock GCLK_IDX_BLK_MOV>; |
| reg = <0x0 0xc8832000 0x0 0x2c4 |
| 0x0 0xda832000 0x0 0xe4>; |
| }; |
| |
| * Triple Data Encryption Standard (Triple DES) |
| |
| Required properties: |
| - compatible : Should be "amlogic,des,tdes". |
| - dev_name : Should be "aml_tdes" |
| - interrupts: Should contain the IRQ line for the TDES. |
| - resets: Should contain the clock to enable the module |
| - reg: Should contain the base address of regs |
| |
| Example: |
| aml_tdes{ |
| compatible = "amlogic,des,tdes"; |
| dev_name = "aml_tdes"; |
| interrupts = <0 36 1>; |
| resets = <&clock GCLK_IDX_BLK_MOV>; |
| reg = <0x0 0xc8832000 0x0 0x2c4 |
| 0x0 0xda832000 0x0 0xe4>; |
| }; |
| |
| ******************************************************************************** |
| |
| * For S905X series and beyond |
| * S905X series use gxl |
| * T962X series use txlx |
| * S905X2 series use g12a |
| |
| * Dma engine for crypto operations |
| Required properties: |
| - compatible : Should be "amlogic,aml_gxl_dma" or "amlogic,aml_txlx_dma" |
| - reg: Should contain the base address of regs |
| - interrupts: Should contain the IRQ line for DMA. |
| |
| Example: |
| aml_dma { |
| compatible = "amlogic,aml_gxl_dma"; |
| reg = <0x0 0xff63e000 0x0 0x48>; |
| interrupts = <0 180 1>; |
| }; |
| |
| * Advanced Encryption Standard (AES) |
| |
| Required properties: |
| - compatible : Should be "amlogic,aes_dma" for aes-128/192/256 |
| or "amlogic,aes_g12a_dma" for aes-128/256 |
| - dev_name : Should be "aml_aes_dma" |
| |
| Example: |
| aml_aes{ |
| compatible = "amlogic,aes_dma"; |
| dev_name = "aml_aes_dma"; |
| }; |
| |
| |
| * Triple Data Encryption Standard (Triple DES) |
| |
| Required properties: |
| - compatible : Should be "amlogic,des_dma,tdes_dma" for gxl |
| or "amlogic,tdes_dma" for other series. |
| - dev_name : Should be "aml_tdes_dma" |
| |
| Example: |
| aml_tdes{ |
| compatible = "amlogic,des_dma,tdes_dma"; |
| dev_name = "aml_tdes_dma"; |
| }; |
| * Secure Hash Algorithm (SHA1/SHA224/SHA256/HMAC) |
| |
| Required properties: |
| - compatible : Should be "amlogic,sha_dma". |
| - dev_name : Should be "aml_sha_dma" |
| |
| Example: |
| aml_sha{ |
| compatible = "amlogic,sha_dma"; |
| dev_name = "aml_sha_dma"; |
| }; |
| |