nxp,sc16is7xx.txt 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART)
  2. * i2c as bus
  3. Required properties:
  4. - compatible: Should be one of the following:
  5. - "nxp,sc16is740" for NXP SC16IS740,
  6. - "nxp,sc16is741" for NXP SC16IS741,
  7. - "nxp,sc16is750" for NXP SC16IS750,
  8. - "nxp,sc16is752" for NXP SC16IS752,
  9. - "nxp,sc16is760" for NXP SC16IS760,
  10. - "nxp,sc16is762" for NXP SC16IS762.
  11. - reg: I2C address of the SC16IS7xx device.
  12. - interrupts: Should contain the UART interrupt
  13. - clocks: Reference to the IC source clock.
  14. Optional properties:
  15. - gpio-controller: Marks the device node as a GPIO controller.
  16. - #gpio-cells: Should be two. The first cell is the GPIO number and
  17. the second cell is used to specify the GPIO polarity:
  18. 0 = active high,
  19. 1 = active low.
  20. Example:
  21. sc16is750: sc16is750@51 {
  22. compatible = "nxp,sc16is750";
  23. reg = <0x51>;
  24. clocks = <&clk20m>;
  25. interrupt-parent = <&gpio3>;
  26. interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
  27. gpio-controller;
  28. #gpio-cells = <2>;
  29. };
  30. * spi as bus
  31. Required properties:
  32. - compatible: Should be one of the following:
  33. - "nxp,sc16is740" for NXP SC16IS740,
  34. - "nxp,sc16is741" for NXP SC16IS741,
  35. - "nxp,sc16is750" for NXP SC16IS750,
  36. - "nxp,sc16is752" for NXP SC16IS752,
  37. - "nxp,sc16is760" for NXP SC16IS760,
  38. - "nxp,sc16is762" for NXP SC16IS762.
  39. - reg: SPI chip select number.
  40. - interrupts: Specifies the interrupt source of the parent interrupt
  41. controller. The format of the interrupt specifier depends on the
  42. parent interrupt controller.
  43. - clocks: phandle to the IC source clock.
  44. Optional properties:
  45. - gpio-controller: Marks the device node as a GPIO controller.
  46. - #gpio-cells: Should be two. The first cell is the GPIO number and
  47. the second cell is used to specify the GPIO polarity:
  48. 0 = active high,
  49. 1 = active low.
  50. Example:
  51. sc16is750: sc16is750@0 {
  52. compatible = "nxp,sc16is750";
  53. reg = <0>;
  54. clocks = <&clk20m>;
  55. interrupt-parent = <&gpio3>;
  56. interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
  57. gpio-controller;
  58. #gpio-cells = <2>;
  59. };