18c2ecf20Sopenharmony_ci* NXP LPC1850 UART 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible : "nxp,lpc1850-uart", "ns16550a". 58c2ecf20Sopenharmony_ci- reg : offset and length of the register set for the device. 68c2ecf20Sopenharmony_ci- interrupts : should contain uart interrupt. 78c2ecf20Sopenharmony_ci- clocks : phandle to the input clocks. 88c2ecf20Sopenharmony_ci- clock-names : required elements: "uartclk", "reg". 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciOptional properties: 118c2ecf20Sopenharmony_ci- dmas : Two or more DMA channel specifiers following the 128c2ecf20Sopenharmony_ci convention outlined in bindings/dma/dma.txt 138c2ecf20Sopenharmony_ci- dma-names : Names for the dma channels, if present. There must 148c2ecf20Sopenharmony_ci be at least one channel named "tx" for transmit 158c2ecf20Sopenharmony_ci and named "rx" for receive. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciSince it's also possible to also use the of_serial.c driver all 188c2ecf20Sopenharmony_ciparameters from 8250.txt also apply but are optional. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciExample: 218c2ecf20Sopenharmony_ciuart0: serial@40081000 { 228c2ecf20Sopenharmony_ci compatible = "nxp,lpc1850-uart", "ns16550a"; 238c2ecf20Sopenharmony_ci reg = <0x40081000 0x1000>; 248c2ecf20Sopenharmony_ci reg-shift = <2>; 258c2ecf20Sopenharmony_ci interrupts = <24>; 268c2ecf20Sopenharmony_ci clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>; 278c2ecf20Sopenharmony_ci clock-names = "uartclk", "reg"; 288c2ecf20Sopenharmony_ci}; 29