fsl-mxs-auart.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. * Freescale MXS Application UART (AUART)
  2. Required properties for all SoCs:
  3. - compatible : Should be one of fallowing variants:
  4. "fsl,imx23-auart" - Freescale i.MX23
  5. "fsl,imx28-auart" - Freescale i.MX28
  6. "alphascale,asm9260-auart" - Alphascale ASM9260
  7. - reg : Address and length of the register set for the device
  8. - interrupts : Should contain the auart interrupt numbers
  9. - dmas: DMA specifier, consisting of a phandle to DMA controller node
  10. and AUART DMA channel ID.
  11. Refer to dma.txt and fsl-mxs-dma.txt for details.
  12. - dma-names: "rx" for RX channel, "tx" for TX channel.
  13. Required properties for "alphascale,asm9260-auart":
  14. - clocks : the clocks feeding the watchdog timer. See clock-bindings.txt
  15. - clock-names : should be set to
  16. "mod" - source for tick counter.
  17. "ahb" - ahb gate.
  18. Optional properties:
  19. - uart-has-rtscts : Indicate the UART has RTS and CTS lines
  20. for hardware flow control,
  21. it also means you enable the DMA support for this UART.
  22. - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
  23. line respectively. It will use specified PIO instead of the peripheral
  24. function pin for the USART feature.
  25. If unsure, don't specify this property.
  26. Example:
  27. auart0: serial@8006a000 {
  28. compatible = "fsl,imx28-auart", "fsl,imx23-auart";
  29. reg = <0x8006a000 0x2000>;
  30. interrupts = <112>;
  31. dmas = <&dma_apbx 8>, <&dma_apbx 9>;
  32. dma-names = "rx", "tx";
  33. cts-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
  34. dsr-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
  35. dcd-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
  36. };
  37. Note: Each auart port should have an alias correctly numbered in "aliases"
  38. node.
  39. Example:
  40. aliases {
  41. serial0 = &auart0;
  42. serial1 = &auart1;
  43. serial2 = &auart2;
  44. serial3 = &auart3;
  45. serial4 = &auart4;
  46. };