omap_serial.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. OMAP UART controller
  2. Required properties:
  3. - compatible : should be "ti,omap2-uart" for OMAP2 controllers
  4. - compatible : should be "ti,omap3-uart" for OMAP3 controllers
  5. - compatible : should be "ti,omap4-uart" for OMAP4 controllers
  6. - compatible : should be "ti,am4372-uart" for AM437x controllers
  7. - compatible : should be "ti,am3352-uart" for AM335x controllers
  8. - compatible : should be "ti,dra742-uart" for DRA7x controllers
  9. - reg : address and length of the register space
  10. - interrupts or interrupts-extended : Should contain the uart interrupt
  11. specifier or both the interrupt
  12. controller phandle and interrupt
  13. specifier.
  14. - ti,hwmods : Must be "uart<n>", n being the instance number (1-based)
  15. Optional properties:
  16. - clock-frequency : frequency of the clock input to the UART
  17. - dmas : DMA specifier, consisting of a phandle to the DMA controller
  18. node and a DMA channel number.
  19. - dma-names : "rx" for receive channel, "tx" for transmit channel.
  20. Example:
  21. uart4: serial@49042000 {
  22. compatible = "ti,omap3-uart";
  23. reg = <0x49042000 0x400>;
  24. interrupts = <80>;
  25. dmas = <&sdma 81 &sdma 82>;
  26. dma-names = "tx", "rx";
  27. ti,hwmods = "uart4";
  28. clock-frequency = <48000000>;
  29. };