1* Maxim MAX310X advanced Universal Asynchronous Receiver-Transmitter (UART)
2
3Required properties:
4- compatible: Should be one of the following:
5  - "maxim,max3107" for Maxim MAX3107,
6  - "maxim,max3108" for Maxim MAX3108,
7  - "maxim,max3109" for Maxim MAX3109,
8  - "maxim,max14830" for Maxim MAX14830.
9- reg: SPI chip select number.
10- interrupt-parent: The phandle for the interrupt controller that
11  services interrupts for this IC.
12- interrupts: Specifies the interrupt source of the parent interrupt
13  controller. The format of the interrupt specifier depends on the
14  parent interrupt controller.
15- clocks: phandle to the IC source clock.
16- clock-names: Should be "xtal" if clock is an external crystal or
17  "osc" if an external clock source is used.
18
19Optional properties:
20- gpio-controller: Marks the device node as a GPIO controller.
21- #gpio-cells: Should be two. The first cell is the GPIO number and
22  the second cell is used to specify the GPIO polarity:
23    0 = active high,
24    1 = active low.
25
26Example:
27
28/ {
29	clocks {
30		spi_uart_clk: osc_max14830 {
31			compatible = "fixed-clock";
32			#clock-cells = <0>;
33			clock-frequency = <3686400>;
34		};
35
36	};
37};
38
39&spi0 {
40	max14830: max14830@0 {
41		compatible = "maxim,max14830";
42		reg = <0>;
43		clocks = <&spi_uart_clk>;
44		clock-names = "osc";
45		interrupt-parent = <&gpio3>;
46		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
47		gpio-controller;
48		#gpio-cells = <2>;
49	};
50};
51