diff options
Diffstat (limited to 'Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt b/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt new file mode 100644 index 000000000000..5c52e5eef16d --- /dev/null +++ b/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | * BCM63xx UART | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | |||
| 5 | - compatible: "brcm,bcm6345-uart" | ||
| 6 | |||
| 7 | - reg: The base address of the UART register bank. | ||
| 8 | |||
| 9 | - interrupts: A single interrupt specifier. | ||
| 10 | |||
| 11 | - clocks: Clock driving the hardware; used to figure out the baud rate | ||
| 12 | divisor. | ||
| 13 | |||
| 14 | Example: | ||
| 15 | |||
| 16 | uart0: serial@14e00520 { | ||
| 17 | compatible = "brcm,bcm6345-uart"; | ||
| 18 | reg = <0x14e00520 0x18>; | ||
| 19 | interrupt-parent = <&periph_intc>; | ||
| 20 | interrupts = <2>; | ||
| 21 | clocks = <&periph_clk>; | ||
| 22 | }; | ||
| 23 | |||
| 24 | clocks { | ||
| 25 | periph_clk: periph_clk@0 { | ||
| 26 | compatible = "fixed-clock"; | ||
| 27 | #clock-cells = <0>; | ||
| 28 | clock-frequency = <54000000>; | ||
| 29 | }; | ||
| 30 | }; | ||
