maxim,max310x.txt 1.3 KB

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