mediatek,ap2c2k_ccif.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. Mediatek ap2c2k device
  2. ============================
  3. The Mediatek ap2c2k controller is an interface to communicate with C2K modem.
  4. Required Properties:
  5. - compatible: Should be:
  6. "mediatek,ap2c2k_ccif"
  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. ap2c2k_ccif@1020b000 {
  17. compatible = "mediatek,ap2c2k_ccif";
  18. reg = <0x1020b000 0x1000>, //CCIF
  19. <0x10211000 0x300>, // MD1 PCCIF
  20. <0x10213000 0x300>; // MD3 PCCIF
  21. interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_LOW>, // C2K_CCIF
  22. <GIC_SPI 220 IRQ_TYPE_EDGE_FALLING>; // C2K_WDT
  23. cell-index = <2>;
  24. ccif,major = <169>;
  25. ccif,minor_base = <0>;
  26. ccif,capability = <0>;
  27. mediatek,md_smem_size = <0x400000>; //md share memory size
  28. clocks = <&scpsys SCP_SYS_MD2>;
  29. clock-names = "scp-sys-md2-main";
  30. };