8250.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. * UART (Universal Asynchronous Receiver/Transmitter)
  2. Required properties:
  3. - compatible : one of:
  4. - "ns8250"
  5. - "ns16450"
  6. - "ns16550a"
  7. - "ns16550"
  8. - "ns16750"
  9. - "ns16850"
  10. - For Tegra20, must contain "nvidia,tegra20-uart"
  11. - For other Tegra, must contain '"nvidia,<chip>-uart",
  12. "nvidia,tegra20-uart"' where <chip> is tegra30, tegra114, tegra124,
  13. tegra132, or tegra210.
  14. - "nxp,lpc3220-uart"
  15. - "ralink,rt2880-uart"
  16. - "altr,16550-FIFO32"
  17. - "altr,16550-FIFO64"
  18. - "altr,16550-FIFO128"
  19. - "fsl,16550-FIFO64"
  20. - "fsl,ns16550"
  21. - "serial" if the port type is unknown.
  22. - reg : offset and length of the register set for the device.
  23. - interrupts : should contain uart interrupt.
  24. - clock-frequency : the input clock frequency for the UART
  25. or
  26. clocks phandle to refer to the clk used as per Documentation/devicetree
  27. /bindings/clock/clock-bindings.txt
  28. Optional properties:
  29. - current-speed : the current active speed of the UART.
  30. - reg-offset : offset to apply to the mapbase from the start of the registers.
  31. - reg-shift : quantity to shift the register offsets by.
  32. - reg-io-width : the size (in bytes) of the IO accesses that should be
  33. performed on the device. There are some systems that require 32-bit
  34. accesses to the UART (e.g. TI davinci).
  35. - used-by-rtas : set to indicate that the port is in use by the OpenFirmware
  36. RTAS and should not be registered.
  37. - no-loopback-test: set to indicate that the port does not implements loopback
  38. test mode
  39. - fifo-size: the fifo size of the UART.
  40. - auto-flow-control: one way to enable automatic flow control support. The
  41. driver is allowed to detect support for the capability even without this
  42. property.
  43. - tx-threshold: Specify the TX FIFO low water indication for parts with
  44. programmable TX FIFO thresholds.
  45. Note:
  46. * fsl,ns16550:
  47. ------------
  48. Freescale DUART is very similar to the PC16552D (and to a
  49. pair of NS16550A), albeit with some nonstandard behavior such as
  50. erratum A-004737 (relating to incorrect BRK handling).
  51. Represents a single port that is compatible with the DUART found
  52. on many Freescale chips (examples include mpc8349, mpc8548,
  53. mpc8641d, p4080 and ls2085a).
  54. Example:
  55. uart@80230000 {
  56. compatible = "ns8250";
  57. reg = <0x80230000 0x100>;
  58. clock-frequency = <3686400>;
  59. interrupts = <10>;
  60. reg-shift = <2>;
  61. };