of-serial.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. - "nvidia,tegra20-uart"
  11. - "ibm,qpace-nwp-serial"
  12. - "altr,16550-FIFO32"
  13. - "altr,16550-FIFO64"
  14. - "altr,16550-FIFO128"
  15. - "serial" if the port type is unknown.
  16. - reg : offset and length of the register set for the device.
  17. - interrupts : should contain uart interrupt.
  18. - clock-frequency : the input clock frequency for the UART.
  19. Optional properties:
  20. - current-speed : the current active speed of the UART.
  21. - reg-offset : offset to apply to the mapbase from the start of the registers.
  22. - reg-shift : quantity to shift the register offsets by.
  23. - reg-io-width : the size (in bytes) of the IO accesses that should be
  24. performed on the device. There are some systems that require 32-bit
  25. accesses to the UART (e.g. TI davinci).
  26. - used-by-rtas : set to indicate that the port is in use by the OpenFirmware
  27. RTAS and should not be registered.
  28. Example:
  29. uart@80230000 {
  30. compatible = "ns8250";
  31. reg = <0x80230000 0x100>;
  32. clock-frequency = <3686400>;
  33. interrupts = <10>;
  34. reg-shift = <2>;
  35. };