mediatek,mdcldma.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Mediatek mdcldma device
  2. ============================
  3. The Mediatek mdcldma controller is an interface to communicate with MD1.
  4. Required Properties:
  5. - compatible: Should be:
  6. "mediatek,mdcldma"
  7. - reg: physical base address of AP CCIF base, length of AP CCIF, and MD CCIF base & Length of MD CCIF
  8. - interrupts: interrupt number to the cpu.
  9. - mediatek,md_id: configure MD id for modem_ccif driver.
  10. - mediatek,cldma_capability: config AP ccci driver feature.
  11. - mediatek,md_smem_size: AP and MD share memory size.
  12. - clocks: Clock driving the hardware.
  13. - clock-names: Clock driving the hardware name.
  14. Optional properties:
  15. Example:
  16. mdcldma:mdcldma@1000A000 {
  17. compatible = "mediatek,mdcldma";
  18. reg = <0x1000A000 0x1000>, /*AP_CLDMA_AO*/
  19. <0x1000B000 0x1000>, /*MD_CLDMA_AO*/
  20. <0x1021A000 0x1000>, /*AP_CLDMA_PDN*/
  21. <0x1021B000 0x1000>, /*MD_CLDMA_PDN*/
  22. <0x1020A000 0x1000>, /*AP_CCIF_BASE*/
  23. <0x1020B000 0x1000>; /*MD_CCIF_BASE*/
  24. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, /*IRQ_CLDMA*/
  25. <GIC_SPI 140 IRQ_TYPE_LEVEL_LOW>, /*IRQ_CCIF*/
  26. <GIC_SPI 221 IRQ_TYPE_EDGE_FALLING>; /*IRQ_MDWDT*/
  27. mediatek,md_id = <0>;
  28. mediatek,cldma_capability = <6>;
  29. mediatek,md_smem_size = <0x10000>; /* md share memory size */
  30. clocks = <&scpsys SCP_SYS_MD1>;
  31. clock-names = "scp-sys-md1-main";
  32. };