mtk-uart.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. * Mediatek Universal Asynchronous Receiver/Transmitter (UART)
  2. Required properties:
  3. - compatible should contain:
  4. * "mediatek,mt2701-uart" for MT2701 compatible UARTS
  5. * "mediatek,mt6580-uart" for MT6580 compatible UARTS
  6. * "mediatek,mt6582-uart" for MT6582 compatible UARTS
  7. * "mediatek,mt6589-uart" for MT6589 compatible UARTS
  8. * "mediatek,mt6755-uart" for MT6755 compatible UARTS
  9. * "mediatek,mt6795-uart" for MT6795 compatible UARTS
  10. * "mediatek,mt7623-uart" for MT7623 compatible UARTS
  11. * "mediatek,mt8127-uart" for MT8127 compatible UARTS
  12. * "mediatek,mt8135-uart" for MT8135 compatible UARTS
  13. * "mediatek,mt8173-uart" for MT8173 compatible UARTS
  14. * "mediatek,mt6577-uart" for MT6577 and all of the above
  15. - reg: The base address of the UART register bank.
  16. - interrupts: A single interrupt specifier.
  17. - clocks : Must contain an entry for each entry in clock-names.
  18. See ../clocks/clock-bindings.txt for details.
  19. - clock-names:
  20. - "baud": The clock the baudrate is derived from
  21. - "bus": The bus clock for register accesses (optional)
  22. For compatibility with older device trees an unnamed clock is used for the
  23. baud clock if the baudclk does not exist. Do not use this for new designs.
  24. Example:
  25. uart0: serial@11006000 {
  26. compatible = "mediatek,mt6589-uart", "mediatek,mt6577-uart";
  27. reg = <0x11006000 0x400>;
  28. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
  29. clocks = <&uart_clk>, <&bus_clk>;
  30. clock-names = "baud", "bus";
  31. };