Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / serial / nxp,sc16is7xx.txt
1 * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART)
2 * i2c as bus
3
4 Required properties:
5 - compatible: Should be one of the following:
6   - "nxp,sc16is740" for NXP SC16IS740,
7   - "nxp,sc16is741" for NXP SC16IS741,
8   - "nxp,sc16is750" for NXP SC16IS750,
9   - "nxp,sc16is752" for NXP SC16IS752,
10   - "nxp,sc16is760" for NXP SC16IS760,
11   - "nxp,sc16is762" for NXP SC16IS762.
12 - reg: I2C address of the SC16IS7xx device.
13 - interrupts: Should contain the UART interrupt
14 - clocks: Reference to the IC source clock.
15         OR (when there is no clock provider visible to the platform)
16 - clock-frequency: The source clock frequency for the IC.
17
18 Optional properties:
19 - gpio-controller: Marks the device node as a GPIO controller.
20 - #gpio-cells: Should be two. The first cell is the GPIO number and
21   the second cell is used to specify the GPIO polarity:
22     0 = active high,
23     1 = active low.
24
25 Example:
26         sc16is750: sc16is750@51 {
27                 compatible = "nxp,sc16is750";
28                 reg = <0x51>;
29                 clocks = <&clk20m>;
30                 interrupt-parent = <&gpio3>;
31                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
32                 gpio-controller;
33                 #gpio-cells = <2>;
34         };
35
36 * spi as bus
37
38 Required properties:
39 - compatible: Should be one of the following:
40   - "nxp,sc16is740" for NXP SC16IS740,
41   - "nxp,sc16is741" for NXP SC16IS741,
42   - "nxp,sc16is750" for NXP SC16IS750,
43   - "nxp,sc16is752" for NXP SC16IS752,
44   - "nxp,sc16is760" for NXP SC16IS760,
45   - "nxp,sc16is762" for NXP SC16IS762.
46 - reg: SPI chip select number.
47 - interrupts: Specifies the interrupt source of the parent interrupt
48   controller. The format of the interrupt specifier depends on the
49   parent interrupt controller.
50 - clocks: phandle to the IC source clock.
51
52 Optional properties:
53 - gpio-controller: Marks the device node as a GPIO controller.
54 - #gpio-cells: Should be two. The first cell is the GPIO number and
55   the second cell is used to specify the GPIO polarity:
56     0 = active high,
57     1 = active low.
58
59 Example:
60         sc16is750: sc16is750@0 {
61                 compatible = "nxp,sc16is750";
62                 reg = <0>;
63                 clocks = <&clk20m>;
64                 interrupt-parent = <&gpio3>;
65                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
66                 gpio-controller;
67                 #gpio-cells = <2>;
68         };