Jon Ringle | 89054c7 | 2014-04-24 20:56:07 -0400 | [diff] [blame] | 1 | * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART) |
Rama Kiran Kumar Indrakanti | 8f4a912 | 2015-05-25 11:51:10 +0530 | [diff] [blame] | 2 | * i2c as bus |
Jon Ringle | 89054c7 | 2014-04-24 20:56:07 -0400 | [diff] [blame] | 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 | - interrupt-parent: The phandle for the interrupt controller that |
| 14 | services interrupts for this IC. |
| 15 | - interrupts: Should contain the UART interrupt |
| 16 | - clocks: Reference to the IC source clock. |
| 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 | }; |
Rama Kiran Kumar Indrakanti | 8f4a912 | 2015-05-25 11:51:10 +0530 | [diff] [blame] | 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 | - interrupt-parent: The phandle for the interrupt controller that |
| 48 | services interrupts for this IC. |
| 49 | - interrupts: Specifies the interrupt source of the parent interrupt |
| 50 | controller. The format of the interrupt specifier depends on the |
| 51 | parent interrupt controller. |
| 52 | - clocks: phandle to the IC source clock. |
| 53 | |
| 54 | Optional properties: |
| 55 | - gpio-controller: Marks the device node as a GPIO controller. |
| 56 | - #gpio-cells: Should be two. The first cell is the GPIO number and |
| 57 | the second cell is used to specify the GPIO polarity: |
| 58 | 0 = active high, |
| 59 | 1 = active low. |
| 60 | |
| 61 | Example: |
| 62 | sc16is750: sc16is750@0 { |
| 63 | compatible = "nxp,sc16is750"; |
| 64 | reg = <0>; |
| 65 | clocks = <&clk20m>; |
| 66 | interrupt-parent = <&gpio3>; |
| 67 | interrupts = <7 IRQ_TYPE_EDGE_FALLING>; |
| 68 | gpio-controller; |
| 69 | #gpio-cells = <2>; |
| 70 | }; |