xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBroadcom Bluetooth Chips
2*4882a593Smuzhiyun---------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis documents the binding structure and common properties for serial
5*4882a593Smuzhiyunattached Broadcom devices.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSerial attached Broadcom devices shall be a child node of the host UART
8*4882a593Smuzhiyundevice the slave device is attached to.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired properties:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun - compatible: should contain one of the following:
13*4882a593Smuzhiyun   * "brcm,bcm20702a1"
14*4882a593Smuzhiyun   * "brcm,bcm4329-bt"
15*4882a593Smuzhiyun   * "brcm,bcm4330-bt"
16*4882a593Smuzhiyun   * "brcm,bcm43438-bt"
17*4882a593Smuzhiyun   * "brcm,bcm4345c5"
18*4882a593Smuzhiyun   * "brcm,bcm43540-bt"
19*4882a593Smuzhiyun   * "brcm,bcm4335a0"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunOptional properties:
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml
24*4882a593Smuzhiyun - shutdown-gpios: GPIO specifier, used to enable the BT module
25*4882a593Smuzhiyun - device-wakeup-gpios: GPIO specifier, used to wakeup the controller
26*4882a593Smuzhiyun - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor.
27*4882a593Smuzhiyun                      deprecated, replaced by interrupts and
28*4882a593Smuzhiyun                      "host-wakeup" interrupt-names
29*4882a593Smuzhiyun - clocks: 1 or 2 clocks as defined in clock-names below, in that order
30*4882a593Smuzhiyun - clock-names: names for clock inputs, matching the clocks given
31*4882a593Smuzhiyun   - "extclk": deprecated, replaced by "txco"
32*4882a593Smuzhiyun   - "txco": external reference clock (not a standalone crystal)
33*4882a593Smuzhiyun   - "lpo": external low power 32.768 kHz clock
34*4882a593Smuzhiyun - vbat-supply: phandle to regulator supply for VBAT
35*4882a593Smuzhiyun - vddio-supply: phandle to regulator supply for VDDIO
36*4882a593Smuzhiyun - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
37*4882a593Smuzhiyun    - sco-routing: 0 = PCM, 1 = Transport, 2 = Codec, 3 = I2S
38*4882a593Smuzhiyun    - pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
39*4882a593Smuzhiyun    - pcm-frame-type: short, long
40*4882a593Smuzhiyun    - pcm-sync-mode: slave, master
41*4882a593Smuzhiyun    - pcm-clock-mode: slave, master
42*4882a593Smuzhiyun - interrupts: must be one, used to wakeup the host processor
43*4882a593Smuzhiyun - interrupt-names: must be "host-wakeup"
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunExample:
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun&uart2 {
48*4882a593Smuzhiyun       pinctrl-names = "default";
49*4882a593Smuzhiyun       pinctrl-0 = <&uart2_pins>;
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun       bluetooth {
52*4882a593Smuzhiyun               compatible = "brcm,bcm43438-bt";
53*4882a593Smuzhiyun               max-speed = <921600>;
54*4882a593Smuzhiyun               brcm,bt-pcm-int-params = [01 02 00 01 01];
55*4882a593Smuzhiyun       };
56*4882a593Smuzhiyun};
57