Back to home page

OSCL-LXR

 
 

    


0001 * Maxim MAX310X advanced Universal Asynchronous Receiver-Transmitter (UART)
0002 
0003 Required properties:
0004 - compatible: Should be one of the following:
0005   - "maxim,max3107" for Maxim MAX3107,
0006   - "maxim,max3108" for Maxim MAX3108,
0007   - "maxim,max3109" for Maxim MAX3109,
0008   - "maxim,max14830" for Maxim MAX14830.
0009 - reg: SPI chip select number.
0010 - interrupts: Specifies the interrupt source of the parent interrupt
0011   controller. The format of the interrupt specifier depends on the
0012   parent interrupt controller.
0013 - clocks: phandle to the IC source clock.
0014 - clock-names: Should be "xtal" if clock is an external crystal or
0015   "osc" if an external clock source is used.
0016 
0017 Optional properties:
0018 - gpio-controller: Marks the device node as a GPIO controller.
0019 - #gpio-cells: Should be two. The first cell is the GPIO number and
0020   the second cell is used to specify the GPIO polarity:
0021     0 = active high,
0022     1 = active low.
0023 
0024 Example:
0025 
0026 / {
0027         clocks {
0028                 spi_uart_clk: osc_max14830 {
0029                         compatible = "fixed-clock";
0030                         #clock-cells = <0>;
0031                         clock-frequency = <3686400>;
0032                 };
0033 
0034         };
0035 };
0036 
0037 &spi0 {
0038         max14830: max14830@0 {
0039                 compatible = "maxim,max14830";
0040                 reg = <0>;
0041                 clocks = <&spi_uart_clk>;
0042                 clock-names = "osc";
0043                 interrupt-parent = <&gpio3>;
0044                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
0045                 gpio-controller;
0046                 #gpio-cells = <2>;
0047         };
0048 };