aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-08-31 03:15:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 15:33:49 -0400
commit2332575ef10a1bcf5ca485a6bf043831be11c7a0 (patch)
tree98c6f3c94127aaf488f711fa751d550b863cbbb7 /Documentation/devicetree/bindings/serial
parent5cec7bf699c61d14f0538345076480bb8c8ebfbb (diff)
tty: ar933x_uart: move devicetree binding documentation
Commit 'tty: ar933x_uart: add device tree support and binding documentation' introduced a new doc in bindins/tty/serial. According to a recent thread [1] on the linux-serial list, the binding documentation of serial drivers should be added into bindings/serial. Move the documentation of qca,ar9330-uart to the correct place. 1. http://marc.info/?l=linux-serial&m=137771295411517 Cc: devicetree@vger.kernel.org Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
-rw-r--r--Documentation/devicetree/bindings/serial/qca,ar9330-uart.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/qca,ar9330-uart.txt b/Documentation/devicetree/bindings/serial/qca,ar9330-uart.txt
new file mode 100644
index 000000000000..c5e032c85bf9
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/qca,ar9330-uart.txt
@@ -0,0 +1,34 @@
1* Qualcomm Atheros AR9330 High-Speed UART
2
3Required properties:
4
5- compatible: Must be "qca,ar9330-uart"
6
7- reg: Specifies the physical base address of the controller and
8 the length of the memory mapped region.
9
10- interrupt-parent: The phandle for the interrupt controller that
11 services interrupts for this device.
12
13- interrupts: Specifies the interrupt source of the parent interrupt
14 controller. The format of the interrupt specifier depends on the
15 parent interrupt controller.
16
17Additional requirements:
18
19 Each UART port must have an alias correctly numbered in "aliases"
20 node.
21
22Example:
23
24 aliases {
25 serial0 = &uart0;
26 };
27
28 uart0: uart@18020000 {
29 compatible = "qca,ar9330-uart";
30 reg = <0x18020000 0x14>;
31
32 interrupt-parent = <&intc>;
33 interrupts = <3>;
34 };