Skip to content

Commit

Permalink
serial: 8250_uniphier: add bindings document for UniPhier UART
Browse files Browse the repository at this point in the history
This is binding information for the UniPhier on-chip UART driver
(drivers/tty/serial/8250/8250_uniphier.c).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Masahiro Yamada authored and Greg Kroah-Hartman committed Jun 13, 2015
1 parent f10a223 commit 6cf600a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/serial/uniphier-uart.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
UniPhier UART controller

Required properties:
- compatible: should be "socionext,uniphier-uart".
- reg: offset and length of the register set for the device.
- interrupts: a single interrupt specifier.
- clocks: phandle to the input clock.

Optional properties:
- fifo-size: the RX/TX FIFO size. Defaults to 64 if not specified.

Example:
aliases {
serial0 = &serial0;
};

serial0: serial@54006800 {
compatible = "socionext,uniphier-uart";
reg = <0x54006800 0x40>;
interrupts = <0 33 4>;
clocks = <&uart_clk>;
fifo-size = <64>;
};

0 comments on commit 6cf600a

Please sign in to comment.