aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2014-10-21 15:23:01 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 14:57:24 -0800
commite1a184eea9bcab00faa5943292d049bc30f8cd09 (patch)
tree9602080988e34438ea31b43a0362446c79042499 /Documentation/devicetree/bindings/serial
parenttty: serial: bcm63xx: Fix typo in MODULE_DESCRIPTION (diff)
downloadlinux-dev-e1a184eea9bcab00faa5943292d049bc30f8cd09.tar.xz
linux-dev-e1a184eea9bcab00faa5943292d049bc30f8cd09.zip
Documentation: DT: Add entries for bcm63xx UART
This squashes a checkpatch warning on my new bcm3384 dts submission. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
-rw-r--r--Documentation/devicetree/bindings/serial/bcm63xx-uart.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/bcm63xx-uart.txt b/Documentation/devicetree/bindings/serial/bcm63xx-uart.txt
new file mode 100644
index 000000000000..5c52e5eef16d
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/bcm63xx-uart.txt
@@ -0,0 +1,30 @@
+* BCM63xx UART
+
+Required properties:
+
+- compatible: "brcm,bcm6345-uart"
+
+- reg: The base address of the UART register bank.
+
+- interrupts: A single interrupt specifier.
+
+- clocks: Clock driving the hardware; used to figure out the baud rate
+ divisor.
+
+Example:
+
+ uart0: serial@14e00520 {
+ compatible = "brcm,bcm6345-uart";
+ reg = <0x14e00520 0x18>;
+ interrupt-parent = <&periph_intc>;
+ interrupts = <2>;
+ clocks = <&periph_clk>;
+ };
+
+ clocks {
+ periph_clk: periph_clk@0 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <54000000>;
+ };
+ };