fsl-mxs-auart.txt 1.4 KB

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