summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.txt
blob: 4a42adb33e07779859f2e1affd974a232f3ce428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
* Freescale LINFlexD UART

The LINFlexD controller implements several LIN protocol versions, as well as
support for full-duplex UART communication through 8-bit and 9-bit frames.

See chapter 47 ("LINFlexD") in the reference manual[1].

Required properties:
- compatible :
  - "fsl,s32v234-linflexuart" for LINFlexD configured in UART mode, which
    is compatible with the one integrated on S32V234 SoC
- reg : Address and length of the register set for the device
- interrupts : Should contain uart interrupt
- clocks : phandle + clock specifier pairs, one for each entry in clock-names
- clock-names : should contain: "lin" - the uart clock

Optional properties:
- dmas : Specifies two DMA channels - one entry for each entry in dma-names
- dma-names : DMA channel names - "tx" for transmission, "rx" for reception

Example:
uart0: serial@40053000 {
	compatible = "fsl,s32v234-linflexuart";
	reg = <0x0 0x40053000 0x0 0x1000>;
	interrupts = <0 59 4>;
	clocks = <&clks S32V234_CLK_LIN>;
	clock-names = "lin";
	dmas = <&edma 0 20>,
	       <&edma 0 19>;
	dma-names = "rx", "tx";
};

[1] https://www.nxp.com/webapp/Download?colCode=S32V234RM