Message ID | 1453032932-2512-3-git-send-email-kernel@martin.sperl.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Jan 17, 2016 at 12:15:29PM +0000, kernel@martin.sperl.org wrote: > From: Martin Sperl <kernel@martin.sperl.org> > > Add binding documentation for the bcm2835-aux-uart driver. > > Signed-off-by: Martin Sperl <kernel@martin.sperl.org> > > Changelog: > V2->V3: fixed naming convention for node > --- > .../bindings/serial/brcm,bcm2835-aux-uart.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.txt Acked-by: Rob Herring <robh@kernel.org>
kernel@martin.sperl.org writes: > From: Martin Sperl <kernel@martin.sperl.org> > > Add binding documentation for the bcm2835-aux-uart driver. > > Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Acked-by: Eric Anholt <eric@anholt.net>
diff --git a/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.txt b/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.txt new file mode 100644 index 0000000..b5cc629 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.txt @@ -0,0 +1,18 @@ +* BCM2835 AUXILIAR UART + +Required properties: + +- compatible: "brcm,bcm2835-aux-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: + + uart1: serial@7e215040 { + compatible = "brcm,bcm2835-aux-uart"; + reg = <0x7e215040 0x40>; + interrupts = <1 29>; + clocks = <&aux BCM2835_AUX_CLOCK_UART>; + };