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