Back to home page

OSCL-LXR

 
 

    


0001 * Microchip Universal Asynchronous Receiver Transmitter (UART)
0002 
0003 Required properties:
0004 - compatible: Should be "microchip,pic32mzda-uart"
0005 - reg: Should contain registers location and length
0006 - interrupts: Should contain interrupt
0007 - clocks: Phandle to the clock.
0008           See: Documentation/devicetree/bindings/clock/clock-bindings.txt
0009 - pinctrl-names: A pinctrl state names "default" must be defined.
0010 - pinctrl-0: Phandle referencing pin configuration of the UART peripheral.
0011              See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
0012 
0013 Optional properties:
0014 - cts-gpios: CTS pin for UART
0015 
0016 Example:
0017         uart1: serial@1f822000 {
0018                 compatible = "microchip,pic32mzda-uart";
0019                 reg = <0x1f822000 0x50>;
0020                 interrupts = <112 IRQ_TYPE_LEVEL_HIGH>,
0021                         <113 IRQ_TYPE_LEVEL_HIGH>,
0022                         <114 IRQ_TYPE_LEVEL_HIGH>;
0023                 clocks = <&rootclk PB2CLK>;
0024                 pinctrl-names = "default";
0025                 pinctrl-0 = <&pinctrl_uart1
0026                                 &pinctrl_uart1_cts
0027                                 &pinctrl_uart1_rts>;
0028                 cts-gpios = <&gpio1 15 0>;
0029         };