Broadcom Bluetooth Chips
Schema identifier ($id): "http://devicetree.org/schemas/net/bluetooth/brcm,bluetooth.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This binding describes Broadcom UART-attached bluetooth chips.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"brcm,bcm4329-bt"
Rule 2
Allowed values (
enum):"brcm,bcm20702a1","brcm,bcm4329-bt","brcm,bcm4330-bt","brcm,bcm4334-bt","brcm,bcm43430a0-bt","brcm,bcm43430a1-bt","brcm,bcm43438-bt","brcm,bcm4345c5","brcm,bcm43540-bt","brcm,bcm4335a0","brcm,bcm4349-bt","cypress,cyw4373a0-bt","infineon,cyw55572-bt"
shutdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO specifier for the line BT_REG_ON used to power on the BT module
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO specifier for the line BT_RST_N used to reset the BT module. This should be marked as GPIO_ACTIVE_LOW.
device-wakeup-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO specifier for the line BT_WAKE used to wakeup the controller. This is using the BT_GPIO_0 pin on the chip when in use.
host-wakeup-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Deprecated (deprecated): true
GPIO specifier for the line HOST_WAKE used to wakeup the host processor. This is using he BT_GPIO_1 pin on the chip when in use. This is deprecated and replaced by interrupts and "host-wakeup" interrupt-names
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
1 or 2 clocks as defined in clock-names below, in that order
clock-names — not listed as required here #
Names of the 1 to 2 supplied clocks
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"extclk"Deprecated (
deprecated):trueDeprecated in favor of txco
Rule 2
Exact value (
const):"txco"external reference clock (not a standalone crystal)
Rule 3
Exact value (
const):"lpo"external low power 32.768 kHz clock
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"txco"Item 2
Exact value (
const):"lpo"
vbat-supply — not listed as required here #
phandle to regulator supply for VBAT
vddio-supply — not listed as required here #
phandle to regulator supply for VDDIO
brcm,bt-pcm-int-params — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 5
configure PCM parameters via a 5-byte array: sco-routing: 0 = PCM, 1 = Transport, 2 = Codec, 3 = I2S pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps pcm-frame-type: short, long pcm-sync-mode: slave, master pcm-clock-mode: slave, master
brcm,requires-autobaud-mode — not listed as required here #
Value type (type): "boolean"
Set this property if autobaud mode is required. Autobaud mode is required if the device's initial baud rate in normal mode is not supported by the host or if the device requires autobaud mode startup before loading FW.
interrupts — not listed as required here #
Array item rules (items) #
Item 1
Handle to the line HOST_WAKE used to wake up the host processor. This uses the BT_GPIO_1 pin on the chip when in use.
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"host-wakeup"
Required in this object (required): "compatible"
Property dependencies (dependencies) #
brcm,requires-autobaud-mode — applies when this property is present #
Also requires: "shutdown-gpios"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial-peripheral-props.yaml#
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"brcm,bcm20702a1","brcm,bcm4329-bt","brcm,bcm4330-bt"When the condition matches (
then) #Properties and child nodes (
properties)
reset-gpios— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
uart {
uart-has-rtscts;
bluetooth {
compatible = "brcm,bcm4330-bt";
max-speed = <921600>;
brcm,bt-pcm-int-params = [01 02 00 01 01];
shutdown-gpios = <&gpio 30 GPIO_ACTIVE_HIGH>;
device-wakeup-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
interrupt-parent = <&gpio>;
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)