Commit | Line | Data |
---|---|---|
a7a21528 JE |
1 | * NXP LPC1850 UART |
2 | ||
3 | Required properties: | |
4 | - compatible : "nxp,lpc1850-uart", "ns16550a". | |
5 | - reg : offset and length of the register set for the device. | |
6 | - interrupts : should contain uart interrupt. | |
7 | - clocks : phandle to the input clocks. | |
8 | - clock-names : required elements: "uartclk", "reg". | |
9 | ||
10 | Optional properties: | |
11 | - dmas : Two or more DMA channel specifiers following the | |
12 | convention outlined in bindings/dma/dma.txt | |
13 | - dma-names : Names for the dma channels, if present. There must | |
14 | be at least one channel named "tx" for transmit | |
15 | and named "rx" for receive. | |
16 | ||
17 | Since it's also possible to also use the of_serial.c driver all | |
18 | parameters from 8250.txt also apply but are optional. | |
19 | ||
20 | Example: | |
21 | uart0: serial@40081000 { | |
22 | compatible = "nxp,lpc1850-uart", "ns16550a"; | |
23 | reg = <0x40081000 0x1000>; | |
24 | reg-shift = <2>; | |
25 | interrupts = <24>; | |
26 | clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>; | |
27 | clock-names = "uartclk", "reg"; | |
28 | }; |