1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom Bluetooth Chips
10 - Linus Walleij <linus.walleij@linaro.org>
13 This binding describes Broadcom UART-attached bluetooth chips.
29 description: GPIO specifier for the line BT_REG_ON used to
30 power on the BT module
34 description: GPIO specifier for the line BT_RST_N used to
35 reset the BT module. This should be marked as
40 description: GPIO specifier for the line BT_WAKE used to
41 wakeup the controller. This is using the BT_GPIO_0
42 pin on the chip when in use.
47 description: GPIO specifier for the line HOST_WAKE used
48 to wakeup the host processor. This is using he BT_GPIO_1
49 pin on the chip when in use. This is deprecated and replaced
50 by interrupts and "host-wakeup" interrupt-names
55 description: 1 or 2 clocks as defined in clock-names below,
59 description: Names of the 1 to 2 supplied clocks
63 description: Deprecated in favor of txco
67 external reference clock (not a standalone crystal)
71 external low power 32.768 kHz clock
78 description: phandle to regulator supply for VBAT
81 description: phandle to regulator supply for VDDIO
83 brcm,bt-pcm-int-params:
84 $ref: /schemas/types.yaml#/definitions/uint8-array
88 configure PCM parameters via a 5-byte array:
89 sco-routing: 0 = PCM, 1 = Transport, 2 = Codec, 3 = I2S
90 pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
91 pcm-frame-type: short, long
92 pcm-sync-mode: slave, master
93 pcm-clock-mode: slave, master
97 - description: Handle to the line HOST_WAKE used to wake
98 up the host processor. This uses the BT_GPIO_1 pin on
111 additionalProperties: false
115 #include <dt-bindings/gpio/gpio.h>
116 #include <dt-bindings/interrupt-controller/irq.h>
122 compatible = "brcm,bcm4330-bt";
123 max-speed = <921600>;
124 brcm,bt-pcm-int-params = [01 02 00 01 01];
125 shutdown-gpios = <&gpio 30 GPIO_ACTIVE_HIGH>;
126 device-wakeup-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
127 reset-gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
128 interrupt-parent = <&gpio>;
129 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;