1*4882a593Smuzhiyun* Maxim MAX310X advanced Universal Asynchronous Receiver-Transmitter (UART) 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: Should be one of the following: 5*4882a593Smuzhiyun - "maxim,max3107" for Maxim MAX3107, 6*4882a593Smuzhiyun - "maxim,max3108" for Maxim MAX3108, 7*4882a593Smuzhiyun - "maxim,max3109" for Maxim MAX3109, 8*4882a593Smuzhiyun - "maxim,max14830" for Maxim MAX14830. 9*4882a593Smuzhiyun- reg: SPI chip select number. 10*4882a593Smuzhiyun- interrupts: Specifies the interrupt source of the parent interrupt 11*4882a593Smuzhiyun controller. The format of the interrupt specifier depends on the 12*4882a593Smuzhiyun parent interrupt controller. 13*4882a593Smuzhiyun- clocks: phandle to the IC source clock. 14*4882a593Smuzhiyun- clock-names: Should be "xtal" if clock is an external crystal or 15*4882a593Smuzhiyun "osc" if an external clock source is used. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunOptional properties: 18*4882a593Smuzhiyun- gpio-controller: Marks the device node as a GPIO controller. 19*4882a593Smuzhiyun- #gpio-cells: Should be two. The first cell is the GPIO number and 20*4882a593Smuzhiyun the second cell is used to specify the GPIO polarity: 21*4882a593Smuzhiyun 0 = active high, 22*4882a593Smuzhiyun 1 = active low. 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunExample: 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun/ { 27*4882a593Smuzhiyun clocks { 28*4882a593Smuzhiyun spi_uart_clk: osc_max14830 { 29*4882a593Smuzhiyun compatible = "fixed-clock"; 30*4882a593Smuzhiyun #clock-cells = <0>; 31*4882a593Smuzhiyun clock-frequency = <3686400>; 32*4882a593Smuzhiyun }; 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun }; 35*4882a593Smuzhiyun}; 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun&spi0 { 38*4882a593Smuzhiyun max14830: max14830@0 { 39*4882a593Smuzhiyun compatible = "maxim,max14830"; 40*4882a593Smuzhiyun reg = <0>; 41*4882a593Smuzhiyun clocks = <&spi_uart_clk>; 42*4882a593Smuzhiyun clock-names = "osc"; 43*4882a593Smuzhiyun interrupt-parent = <&gpio3>; 44*4882a593Smuzhiyun interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 45*4882a593Smuzhiyun gpio-controller; 46*4882a593Smuzhiyun #gpio-cells = <2>; 47*4882a593Smuzhiyun }; 48*4882a593Smuzhiyun}; 49