18c2ecf20Sopenharmony_ci* Maxim MAX310X advanced Universal Asynchronous Receiver-Transmitter (UART)
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: Should be one of the following:
58c2ecf20Sopenharmony_ci  - "maxim,max3107" for Maxim MAX3107,
68c2ecf20Sopenharmony_ci  - "maxim,max3108" for Maxim MAX3108,
78c2ecf20Sopenharmony_ci  - "maxim,max3109" for Maxim MAX3109,
88c2ecf20Sopenharmony_ci  - "maxim,max14830" for Maxim MAX14830.
98c2ecf20Sopenharmony_ci- reg: SPI chip select number.
108c2ecf20Sopenharmony_ci- interrupts: Specifies the interrupt source of the parent interrupt
118c2ecf20Sopenharmony_ci  controller. The format of the interrupt specifier depends on the
128c2ecf20Sopenharmony_ci  parent interrupt controller.
138c2ecf20Sopenharmony_ci- clocks: phandle to the IC source clock.
148c2ecf20Sopenharmony_ci- clock-names: Should be "xtal" if clock is an external crystal or
158c2ecf20Sopenharmony_ci  "osc" if an external clock source is used.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciOptional properties:
188c2ecf20Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller.
198c2ecf20Sopenharmony_ci- #gpio-cells: Should be two. The first cell is the GPIO number and
208c2ecf20Sopenharmony_ci  the second cell is used to specify the GPIO polarity:
218c2ecf20Sopenharmony_ci    0 = active high,
228c2ecf20Sopenharmony_ci    1 = active low.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciExample:
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci/ {
278c2ecf20Sopenharmony_ci	clocks {
288c2ecf20Sopenharmony_ci		spi_uart_clk: osc_max14830 {
298c2ecf20Sopenharmony_ci			compatible = "fixed-clock";
308c2ecf20Sopenharmony_ci			#clock-cells = <0>;
318c2ecf20Sopenharmony_ci			clock-frequency = <3686400>;
328c2ecf20Sopenharmony_ci		};
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci	};
358c2ecf20Sopenharmony_ci};
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci&spi0 {
388c2ecf20Sopenharmony_ci	max14830: max14830@0 {
398c2ecf20Sopenharmony_ci		compatible = "maxim,max14830";
408c2ecf20Sopenharmony_ci		reg = <0>;
418c2ecf20Sopenharmony_ci		clocks = <&spi_uart_clk>;
428c2ecf20Sopenharmony_ci		clock-names = "osc";
438c2ecf20Sopenharmony_ci		interrupt-parent = <&gpio3>;
448c2ecf20Sopenharmony_ci		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
458c2ecf20Sopenharmony_ci		gpio-controller;
468c2ecf20Sopenharmony_ci		#gpio-cells = <2>;
478c2ecf20Sopenharmony_ci	};
488c2ecf20Sopenharmony_ci};
49