GNU Linux-libre 4.19.263-gnu1
[releases.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
16 Optional properties:
17 - gpio-controller: Marks the device node as a GPIO controller.
18 - #gpio-cells: Should be two. The first cell is the GPIO number and
19   the second cell is used to specify the GPIO polarity:
20     0 = active high,
21     1 = active low.
22
23 Example:
24         sc16is750: sc16is750@51 {
25                 compatible = "nxp,sc16is750";
26                 reg = <0x51>;
27                 clocks = <&clk20m>;
28                 interrupt-parent = <&gpio3>;
29                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
30                 gpio-controller;
31                 #gpio-cells = <2>;
32         };
33
34 * spi as bus
35
36 Required properties:
37 - compatible: Should be one of the following:
38   - "nxp,sc16is740" for NXP SC16IS740,
39   - "nxp,sc16is741" for NXP SC16IS741,
40   - "nxp,sc16is750" for NXP SC16IS750,
41   - "nxp,sc16is752" for NXP SC16IS752,
42   - "nxp,sc16is760" for NXP SC16IS760,
43   - "nxp,sc16is762" for NXP SC16IS762.
44 - reg: SPI chip select number.
45 - interrupts: Specifies the interrupt source of the parent interrupt
46   controller. The format of the interrupt specifier depends on the
47   parent interrupt controller.
48 - clocks: phandle to the IC source clock.
49
50 Optional properties:
51 - gpio-controller: Marks the device node as a GPIO controller.
52 - #gpio-cells: Should be two. The first cell is the GPIO number and
53   the second cell is used to specify the GPIO polarity:
54     0 = active high,
55     1 = active low.
56
57 Example:
58         sc16is750: sc16is750@0 {
59                 compatible = "nxp,sc16is750";
60                 reg = <0>;
61                 clocks = <&clk20m>;
62                 interrupt-parent = <&gpio3>;
63                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
64                 gpio-controller;
65                 #gpio-cells = <2>;
66         };