of-serial.txt 921 B

123456789101112131415161718192021222324252627282930313233
  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,tegra250-uart"
  11. - "ibm,qpace-nwp-serial"
  12. - "serial" if the port type is unknown.
  13. - reg : offset and length of the register set for the device.
  14. - interrupts : should contain uart interrupt.
  15. - clock-frequency : the input clock frequency for the UART.
  16. Optional properties:
  17. - current-speed : the current active speed of the UART.
  18. - reg-offset : offset to apply to the mapbase from the start of the registers.
  19. - reg-shift : quantity to shift the register offsets by.
  20. - used-by-rtas : set to indicate that the port is in use by the OpenFirmware
  21. RTAS and should not be registered.
  22. Example:
  23. uart@80230000 {
  24. compatible = "ns8250";
  25. reg = <0x80230000 0x100>;
  26. clock-frequency = <3686400>;
  27. interrupts = <10>;
  28. reg-shift = <2>;
  29. };