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