Skip to content

Commit

Permalink
dt-bindings: net: bluetooth: Add broadcom-bluetooth
Browse files Browse the repository at this point in the history
Add binding document for serial bluetooth chips using
Broadcom protocol.

Signed-off-by: Loic Poulain <loic.poulain@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Loic Poulain authored and Marcel Holtmann committed Aug 17, 2017
1 parent 33cd149 commit 778ead3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Broadcom Bluetooth Chips
---------------------

This documents the binding structure and common properties for serial
attached Broadcom devices.

Serial attached Broadcom devices shall be a child node of the host UART
device the slave device is attached to.

Required properties:

- compatible: should contain one of the following:
* "brcm,bcm43438-bt"

Optional properties:

- max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt
- shutdown-gpios: GPIO specifier, used to enable the BT module
- device-wakeup-gpios: GPIO specifier, used to wakeup the controller
- host-wakeup-gpios: GPIO specifier, used to wakeup the host processor
- clocks: clock specifier if external clock provided to the controller
- clock-names: should be "extclk"


Example:

&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;

bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = <921600>;
};
};

0 comments on commit 778ead3

Please sign in to comment.