Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / serial / sifive-serial.txt
1 SiFive asynchronous serial interface (UART)
2
3 Required properties:
4
5 - compatible: should be something similar to
6               "sifive,<chip>-uart" for the UART as integrated
7               on a particular chip, and "sifive,uart<version>" for the
8               general UART IP block programming model.  Supported
9               compatible strings as of the date of this writing are:
10               "sifive,fu540-c000-uart" for the SiFive UART v0 as
11               integrated onto the SiFive FU540 chip, or "sifive,uart0"
12               for the SiFive UART v0 IP block with no chip integration
13               tweaks (if any)
14 - reg: address and length of the register space
15 - interrupts: Should contain the UART interrupt identifier
16 - clocks: Should contain a clock identifier for the UART's parent clock
17
18
19 UART HDL that corresponds to the IP block version numbers can be found
20 here:
21
22 https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart
23
24
25 Example:
26
27 uart0: serial@10010000 {
28         compatible = "sifive,fu540-c000-uart", "sifive,uart0";
29         interrupt-parent = <&plic0>;
30         interrupts = <80>;
31         reg = <0x0 0x10010000 0x0 0x1000>;
32         clocks = <&prci PRCI_CLK_TLCLK>;
33 };