Commit | Line | Data |
---|---|---|
05202872 AS |
1 | * Maxim MAX310X advanced Universal Asynchronous Receiver-Transmitter (UART) |
2 | ||
3 | Required 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. | |
c6005586 AS |
16 | - clock-names: Should be "xtal" if clock is an external crystal or |
17 | "osc" if an external clock source is used. | |
05202872 AS |
18 | |
19 | Optional 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 | ||
26 | Example: | |
27 | max14830: max14830@0 { | |
28 | compatible = "maxim,max14830"; | |
29 | reg = <0>; | |
30 | clocks = <&clk20m>; | |
31 | clock-names = "osc"; | |
32 | interrupt-parent = <&gpio3>; | |
33 | interrupts = <7 IRQ_TYPE_EDGE_FALLING>; | |
34 | gpio-controller; | |
35 | #gpio-cells = <2>; | |
36 | }; |