nxp,sc16is7xx.txt 2.3 KB

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