blob: c8dd440e97470b3f3c237545d2b7ba879caae411 [file] [log] [blame]
Andrei Pistirica81dfdd392016-01-13 18:15:42 -07001* Microchip Universal Asynchronous Receiver Transmitter (UART)
2
3Required properties:
4- compatible: Should be "microchip,pic32mzda-uart"
5- reg: Should contain registers location and length
6- interrupts: Should contain interrupt
7- clocks: Phandle to the clock.
8 See: Documentation/devicetree/bindings/clock/clock-bindings.txt
9- pinctrl-names: A pinctrl state names "default" must be defined.
10- pinctrl-0: Phandle referencing pin configuration of the UART peripheral.
Mauro Carvalho Chehab18ba1f92018-06-14 12:24:41 -030011 See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
Andrei Pistirica81dfdd392016-01-13 18:15:42 -070012
13Optional properties:
14- cts-gpios: CTS pin for UART
15
16Example:
17 uart1: serial@1f822000 {
18 compatible = "microchip,pic32mzda-uart";
19 reg = <0x1f822000 0x50>;
20 interrupts = <112 IRQ_TYPE_LEVEL_HIGH>,
21 <113 IRQ_TYPE_LEVEL_HIGH>,
22 <114 IRQ_TYPE_LEVEL_HIGH>;
Purna Chandra Mandal9c719d82016-05-17 10:35:57 +053023 clocks = <&rootclk PB2CLK>;
Andrei Pistirica81dfdd392016-01-13 18:15:42 -070024 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_uart1
26 &pinctrl_uart1_cts
27 &pinctrl_uart1_rts>;
28 cts-gpios = <&gpio1 15 0>;
29 };