qcedev.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. * QCEDEV (Qualcomm Crypto Engine Device)
  2. Required properties:
  3. - compatible : should be "qcom,qcedev"
  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 "qcedev-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. Example:
  19. qcom,qcedev@fd440000 {
  20. compatible = "qcom,qcedev";
  21. reg = <0xfd440000 0x20000>,
  22. <0xfd444000 0x8000>;
  23. reg-names = "crypto-base","crypto-bam-base";
  24. interrupts = <0 235 0>;
  25. qcom,bam-pipe-pair = <0>;
  26. qcom,ce-hw-instance = <1>;
  27. qcom,ce-device = <0>;
  28. qcom,ce-hw-shared;
  29. qcom,msm-bus,name = "qcedev-noc";
  30. qcom,msm-bus,num-cases = <2>;
  31. qcom,msm-bus,num-paths = <1>;
  32. qcom,msm-bus,vectors-KBps =
  33. <56 512 0 0>,
  34. <56 512 3936000 393600>,
  35. };