xref: /freebsd/sys/contrib/device-tree/Bindings/serial/nxp,lpc1850-uart.txt (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1* NXP LPC1850 UART
2
3Required 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
10Optional 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
17Since it's also possible to also use the of_serial.c driver all
18parameters from 8250.txt also apply but are optional.
19
20Example:
21uart0: 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};
29