Back to home page

OSCL-LXR

 
 

    


0001 * NXP LPC1850 UART
0002 
0003 Required properties:
0004 - compatible    : "nxp,lpc1850-uart", "ns16550a".
0005 - reg           : offset and length of the register set for the device.
0006 - interrupts    : should contain uart interrupt.
0007 - clocks        : phandle to the input clocks.
0008 - clock-names   : required elements: "uartclk", "reg".
0009 
0010 Optional properties:
0011 - dmas          : Two or more DMA channel specifiers following the
0012                   convention outlined in bindings/dma/dma.txt
0013 - dma-names     : Names for the dma channels, if present. There must
0014                   be at least one channel named "tx" for transmit
0015                   and named "rx" for receive.
0016 
0017 Since it's also possible to also use the of_serial.c driver all
0018 parameters from 8250.txt also apply but are optional.
0019 
0020 Example:
0021 uart0: serial@40081000 {
0022         compatible = "nxp,lpc1850-uart", "ns16550a";
0023         reg = <0x40081000 0x1000>;
0024         reg-shift = <2>;
0025         interrupts = <24>;
0026         clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>;
0027         clock-names = "uartclk", "reg";
0028 };