jz4740.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. * Ingenic JZ47xx MMC controllers
  2. This file documents the device tree properties used for the MMC controller in
  3. Ingenic JZ4740/JZ4780 SoCs. These are in addition to the core MMC properties
  4. described in mmc.txt.
  5. Required properties:
  6. - compatible: Should be one of the following:
  7. - "ingenic,jz4740-mmc" for the JZ4740
  8. - "ingenic,jz4780-mmc" for the JZ4780
  9. - reg: Should contain the MMC controller registers location and length.
  10. - interrupts: Should contain the interrupt specifier of the MMC controller.
  11. - clocks: Clock for the MMC controller.
  12. Optional properties:
  13. - dmas: List of DMA specifiers with the controller specific format
  14. as described in the generic DMA client binding. A tx and rx
  15. specifier is required.
  16. - dma-names: RX and TX DMA request names.
  17. Should be "rx" and "tx", in that order.
  18. For additional details on DMA client bindings see ../dma/dma.txt.
  19. Example:
  20. mmc0: mmc@13450000 {
  21. compatible = "ingenic,jz4780-mmc";
  22. reg = <0x13450000 0x1000>;
  23. interrupt-parent = <&intc>;
  24. interrupts = <37>;
  25. clocks = <&cgu JZ4780_CLK_MSC0>;
  26. clock-names = "mmc";
  27. dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, <&dma JZ4780_DMA_MSC0_TX 0xffffffff>;
  28. dma-names = "rx", "tx";
  29. };