Back to home page

OSCL-LXR

 
 

    


0001 * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART)
0002 * i2c as bus
0003 
0004 Required properties:
0005 - compatible: Should be one of the following:
0006   - "nxp,sc16is740" for NXP SC16IS740,
0007   - "nxp,sc16is741" for NXP SC16IS741,
0008   - "nxp,sc16is750" for NXP SC16IS750,
0009   - "nxp,sc16is752" for NXP SC16IS752,
0010   - "nxp,sc16is760" for NXP SC16IS760,
0011   - "nxp,sc16is762" for NXP SC16IS762.
0012 - reg: I2C address of the SC16IS7xx device.
0013 - interrupts: Should contain the UART interrupt
0014 - clocks: Reference to the IC source clock.
0015         OR (when there is no clock provider visible to the platform)
0016 - clock-frequency: The source clock frequency for the IC.
0017 
0018 Optional properties:
0019 - gpio-controller: Marks the device node as a GPIO controller.
0020 - #gpio-cells: Should be two. The first cell is the GPIO number and
0021   the second cell is used to specify the GPIO polarity:
0022     0 = active high,
0023     1 = active low.
0024 - irda-mode-ports: An array that lists the indices of the port that
0025                    should operate in IrDA mode.
0026 
0027 Example:
0028         sc16is750: sc16is750@51 {
0029                 compatible = "nxp,sc16is750";
0030                 reg = <0x51>;
0031                 clocks = <&clk20m>;
0032                 interrupt-parent = <&gpio3>;
0033                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
0034                 gpio-controller;
0035                 #gpio-cells = <2>;
0036         };
0037 
0038 * spi as bus
0039 
0040 Required properties:
0041 - compatible: Should be one of the following:
0042   - "nxp,sc16is740" for NXP SC16IS740,
0043   - "nxp,sc16is741" for NXP SC16IS741,
0044   - "nxp,sc16is750" for NXP SC16IS750,
0045   - "nxp,sc16is752" for NXP SC16IS752,
0046   - "nxp,sc16is760" for NXP SC16IS760,
0047   - "nxp,sc16is762" for NXP SC16IS762.
0048 - reg: SPI chip select number.
0049 - interrupts: Specifies the interrupt source of the parent interrupt
0050   controller. The format of the interrupt specifier depends on the
0051   parent interrupt controller.
0052 - clocks: phandle to the IC source clock.
0053 
0054 Optional properties:
0055 - gpio-controller: Marks the device node as a GPIO controller.
0056 - #gpio-cells: Should be two. The first cell is the GPIO number and
0057   the second cell is used to specify the GPIO polarity:
0058     0 = active high,
0059     1 = active low.
0060 - irda-mode-ports: An array that lists the indices of the port that
0061                    should operate in IrDA mode.
0062 
0063 Example:
0064         sc16is750: sc16is750@0 {
0065                 compatible = "nxp,sc16is750";
0066                 reg = <0>;
0067                 clocks = <&clk20m>;
0068                 interrupt-parent = <&gpio3>;
0069                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
0070                 gpio-controller;
0071                 #gpio-cells = <2>;
0072         };