microchip,pic32-uart.txt 984 B

123456789101112131415161718192021222324252627282930
  1. * Microchip Universal Asynchronous Receiver Transmitter (UART)
  2. Required properties:
  3. - compatible: Should be "microchip,pic32mzda-uart"
  4. - reg: Should contain registers location and length
  5. - interrupts: Should contain interrupt
  6. - clocks: Phandle to the clock.
  7. See: Documentation/devicetree/bindings/clock/clock-bindings.txt
  8. - pinctrl-names: A pinctrl state names "default" must be defined.
  9. - pinctrl-0: Phandle referencing pin configuration of the UART peripheral.
  10. See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt
  11. Optional properties:
  12. - cts-gpios: CTS pin for UART
  13. Example:
  14. uart1: serial@1f822000 {
  15. compatible = "microchip,pic32mzda-uart";
  16. reg = <0x1f822000 0x50>;
  17. interrupts = <112 IRQ_TYPE_LEVEL_HIGH>,
  18. <113 IRQ_TYPE_LEVEL_HIGH>,
  19. <114 IRQ_TYPE_LEVEL_HIGH>;
  20. clocks = <&rootclk PB2CLK>;
  21. pinctrl-names = "default";
  22. pinctrl-0 = <&pinctrl_uart1
  23. &pinctrl_uart1_cts
  24. &pinctrl_uart1_rts>;
  25. cts-gpios = <&gpio1 15 0>;
  26. };