^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Atmel HW cryptographic accelerators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) These are the HW cryptographic accelerators found on some Atmel products.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Advanced Encryption Standard (AES)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - compatible : Should be "atmel,at91sam9g46-aes".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - reg: Should contain AES registers location and length.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - interrupts: Should contain the IRQ line for the AES.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - dmas: List of two DMA specifiers as described in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) atmel-dma.txt and dma.txt files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - dma-names: Contains one identifier string for each DMA specifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) in the dmas property.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) aes@f8038000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible = "atmel,at91sam9g46-aes";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg = <0xf8038000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) interrupts = <43 4 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) dmas = <&dma1 2 18>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) <&dma1 2 19>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) dma-names = "tx", "rx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * Triple Data Encryption Standard (Triple DES)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - compatible : Should be "atmel,at91sam9g46-tdes".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - reg: Should contain TDES registers location and length.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - interrupts: Should contain the IRQ line for the TDES.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - dmas: List of two DMA specifiers as described in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) atmel-dma.txt and dma.txt files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - dma-names: Contains one identifier string for each DMA specifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) in the dmas property.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) tdes@f803c000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) compatible = "atmel,at91sam9g46-tdes";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) reg = <0xf803c000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) interrupts = <44 4 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) dmas = <&dma1 2 20>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) <&dma1 2 21>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) dma-names = "tx", "rx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) * Secure Hash Algorithm (SHA)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) - compatible : Should be "atmel,at91sam9g46-sha".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) - reg: Should contain SHA registers location and length.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) - interrupts: Should contain the IRQ line for the SHA.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) - dmas: One DMA specifiers as described in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) atmel-dma.txt and dma.txt files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) - dma-names: Contains one identifier string for each DMA specifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) in the dmas property. Only one "tx" string needed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) sha@f8034000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) compatible = "atmel,at91sam9g46-sha";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) reg = <0xf8034000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) interrupts = <42 4 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) dmas = <&dma1 2 17>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) dma-names = "tx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) };