ath79-ddr-controller.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Binding for Qualcomm Atheros AR7xxx/AR9xxx DDR controller
  2. The DDR controller of the AR7xxx and AR9xxx families provides an interface
  3. to flush the FIFO between various devices and the DDR. This is mainly used
  4. by the IRQ controller to flush the FIFO before running the interrupt handler
  5. of such devices.
  6. Required properties:
  7. - compatible: has to be "qca,<soc-type>-ddr-controller",
  8. "qca,[ar7100|ar7240]-ddr-controller" as fallback.
  9. On SoC with PCI support "qca,ar7100-ddr-controller" should be used as
  10. fallback, otherwise "qca,ar7240-ddr-controller" should be used.
  11. - reg: Base address and size of the controller's memory area
  12. - #qca,ddr-wb-channel-cells: Specifies the number of cells needed to encode
  13. the write buffer channel index, should be 1.
  14. Example:
  15. ddr_ctrl: memory-controller@18000000 {
  16. compatible = "qca,ar9132-ddr-controller",
  17. "qca,ar7240-ddr-controller";
  18. reg = <0x18000000 0x100>;
  19. #qca,ddr-wb-channel-cells = <1>;
  20. };
  21. ...
  22. interrupt-controller {
  23. ...
  24. qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
  25. qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
  26. <&ddr_ctrl 0>, <&ddr_ctrl 1>;
  27. };