inside-secure,safexcel-eip93.yaml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/crypto/inside-secure,safexcel-eip93.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Inside Secure SafeXcel EIP-93 cryptographic engine
  7. maintainers:
  8. - Christian Marangi <ansuelsmth@gmail.com>
  9. description: |
  10. The Inside Secure SafeXcel EIP-93 is a cryptographic engine IP block
  11. integrated in varios devices with very different and generic name from
  12. PKTE to simply vendor+EIP93. The real IP under the hood is actually
  13. developed by Inside Secure and given to license to vendors.
  14. The IP block is sold with different model based on what feature are
  15. needed and are identified with the final letter. Each letter correspond
  16. to a specific set of feature and multiple letter reflect the sum of the
  17. feature set.
  18. EIP-93 models:
  19. - EIP-93i: (basic) DES/Triple DES, AES, PRNG, IPsec ESP, SRTP, SHA1
  20. - EIP-93ie: i + SHA224/256, AES-192/256
  21. - EIP-93is: i + SSL/DTLS/DTLS, MD5, ARC4
  22. - EIP-93ies: i + e + s
  23. - EIP-93iw: i + AES-XCB-MAC, AES-CCM
  24. properties:
  25. compatible:
  26. oneOf:
  27. - items:
  28. - const: airoha,en7581-eip93
  29. - const: inside-secure,safexcel-eip93ies
  30. - items:
  31. - not: {}
  32. description: Need a SoC specific compatible
  33. - enum:
  34. - inside-secure,safexcel-eip93i
  35. - inside-secure,safexcel-eip93ie
  36. - inside-secure,safexcel-eip93is
  37. - inside-secure,safexcel-eip93iw
  38. reg:
  39. maxItems: 1
  40. interrupts:
  41. maxItems: 1
  42. required:
  43. - compatible
  44. - reg
  45. - interrupts
  46. additionalProperties: false
  47. examples:
  48. - |
  49. #include <dt-bindings/interrupt-controller/arm-gic.h>
  50. crypto@1e004000 {
  51. compatible = "airoha,en7581-eip93", "inside-secure,safexcel-eip93ies";
  52. reg = <0x1fb70000 0x1000>;
  53. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  54. };