diff options
author | Kumar Gala <galak@codeaurora.org> | 2013-08-28 21:08:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-29 01:02:48 +0200 |
commit | 6b9c1fa25a5c2a2a2d8fa1e2f8c2cc5d6d0c4a45 (patch) | |
tree | 64cb86b49c30d4290b155a0bb3002d15116a5a8e /Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt | |
parent | serial: fsl-imx-uart: Cleanup duplicate device tree binding (diff) | |
download | linux-6b9c1fa25a5c2a2a2d8fa1e2f8c2cc5d6d0c4a45.tar.xz linux-6b9c1fa25a5c2a2a2d8fa1e2f8c2cc5d6d0c4a45.zip |
serial: unify serial bindings into a single dir
Move all bindings in bindings/tty/serial into bindings/serial so we only
have one place dir with serial/uart related bindings in it.
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt')
-rw-r--r-- | Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt new file mode 100644 index 000000000000..f13f1c5be91c --- /dev/null +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt @@ -0,0 +1,25 @@ +* Synopsys DesignWare ABP UART + +Required properties: +- compatible : "snps,dw-apb-uart" +- reg : offset and length of the register set for the device. +- interrupts : should contain uart interrupt. +- clock-frequency : the input clock frequency for the UART. + +Optional properties: +- reg-shift : quantity to shift the register offsets by. If this property is + not present then the register offsets are not shifted. +- reg-io-width : the size (in bytes) of the IO accesses that should be + performed on the device. If this property is not present then single byte + accesses are used. + +Example: + + uart@80230000 { + compatible = "snps,dw-apb-uart"; + reg = <0x80230000 0x100>; + clock-frequency = <3686400>; + interrupts = <10>; + reg-shift = <2>; + reg-io-width = <4>; + }; |