qcrypto.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. * QCRYPTO (Qualcomm Crypto)
  2. Required properties:
  3. - compatible : should be "qcom,qcrypto"
  4. - reg : should contain crypto, BAM register map.
  5. - reg-names : should contain the crypto and bam base register names.
  6. - interrupts : should contain crypto BAM interrupt.
  7. - qcom,bam-pipe-pair : should contain crypto BAM pipe pair index.
  8. - qcom,ce-hw-instance : should contain crypto HW instance.
  9. - qcom,msm_bus,name: Should be "qcrypto-noc"
  10. - qcom,msm_bus,num_cases: Depends on the use cases for bus scaling
  11. - qcom,msm_bus,active-only: Boolean flag for context of request (actve/dual)
  12. - qcom,msm_bus,num_paths: The paths for source and destination ports
  13. - qcom,msm_bus,vectors: Vectors for bus topology.
  14. - qcom,ce-device: Device number.
  15. Optional properties:
  16. - qcom,ce-hw-shared : optional, indicates if the hardware is shared between EE.
  17. - qcom,ce-hw-key : optional, indicates if the hardware supports use of HW KEY.
  18. - qcom,use-sw-aes-cbc-ecb-ctr-algo : optional, indicates if use SW aes-cbc/ecb/ctr algorithm.
  19. - qcom,use-sw-aes-xts-algo : optional, indicates if use SW aes-xts algorithm.
  20. - qcom,use-sw-aead-algo : optional, indicates if use SW aead algorithm.
  21. - qcom,use-sw-ahash-algo : optional, indicates if use SW hash algorithm.
  22. - qcom,use-sw-hmac-algo : optional, indicates if use SW hmac algorithm.
  23. - qcom,use-sw-aes-ccm-algo : optional, indicates if use SW aes-ccm algorithm.
  24. - qcom,clk-mgmt-sus-res : optional, indicate if the ce clocks need to be disabled/enabled in suspend/resume function.
  25. Example:
  26. qcom,qcrypto@fd444000 {
  27. compatible = "qcom,qcrypto";
  28. reg = <0xfd440000 0x20000>,
  29. <0xfd444000 0x8000>;
  30. reg-names = "crypto-base","crypto-bam-base";
  31. interrupts = <0 235 0>;
  32. qcom,bam-pipe-pair = <1>;
  33. qcom,ce-hw-instance = <1>;
  34. qcom,ce-device = <0>;
  35. qcom,ce-hw-shared;
  36. qcom,msm-bus,name = "qcrypto-noc";
  37. qcom,msm-bus,num-cases = <2>;
  38. qcom,msm-bus,num-paths = <1>;
  39. qcom,msm-bus,vectors-KBps =
  40. <56 512 0 0>,
  41. <56 512 3936000 393600>,
  42. };