| .. | .. |
|---|
| 10 | 10 | Required properties: |
|---|
| 11 | 11 | |
|---|
| 12 | 12 | - compatible: should contain one of the following: |
|---|
| 13 | + * "brcm,bcm20702a1" |
|---|
| 14 | + * "brcm,bcm4329-bt" |
|---|
| 15 | + * "brcm,bcm4330-bt" |
|---|
| 13 | 16 | * "brcm,bcm43438-bt" |
|---|
| 17 | + * "brcm,bcm4345c5" |
|---|
| 18 | + * "brcm,bcm43540-bt" |
|---|
| 19 | + * "brcm,bcm4335a0" |
|---|
| 14 | 20 | |
|---|
| 15 | 21 | Optional properties: |
|---|
| 16 | 22 | |
|---|
| 17 | | - - max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt |
|---|
| 23 | + - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml |
|---|
| 18 | 24 | - shutdown-gpios: GPIO specifier, used to enable the BT module |
|---|
| 19 | 25 | - device-wakeup-gpios: GPIO specifier, used to wakeup the controller |
|---|
| 20 | | - - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor |
|---|
| 21 | | - - clocks: clock specifier if external clock provided to the controller |
|---|
| 22 | | - - clock-names: should be "extclk" |
|---|
| 23 | | - |
|---|
| 26 | + - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor. |
|---|
| 27 | + deprecated, replaced by interrupts and |
|---|
| 28 | + "host-wakeup" interrupt-names |
|---|
| 29 | + - clocks: 1 or 2 clocks as defined in clock-names below, in that order |
|---|
| 30 | + - clock-names: names for clock inputs, matching the clocks given |
|---|
| 31 | + - "extclk": deprecated, replaced by "txco" |
|---|
| 32 | + - "txco": external reference clock (not a standalone crystal) |
|---|
| 33 | + - "lpo": external low power 32.768 kHz clock |
|---|
| 34 | + - vbat-supply: phandle to regulator supply for VBAT |
|---|
| 35 | + - vddio-supply: phandle to regulator supply for VDDIO |
|---|
| 36 | + - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array |
|---|
| 37 | + - sco-routing: 0 = PCM, 1 = Transport, 2 = Codec, 3 = I2S |
|---|
| 38 | + - pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps |
|---|
| 39 | + - pcm-frame-type: short, long |
|---|
| 40 | + - pcm-sync-mode: slave, master |
|---|
| 41 | + - pcm-clock-mode: slave, master |
|---|
| 42 | + - interrupts: must be one, used to wakeup the host processor |
|---|
| 43 | + - interrupt-names: must be "host-wakeup" |
|---|
| 24 | 44 | |
|---|
| 25 | 45 | Example: |
|---|
| 26 | 46 | |
|---|
| .. | .. |
|---|
| 31 | 51 | bluetooth { |
|---|
| 32 | 52 | compatible = "brcm,bcm43438-bt"; |
|---|
| 33 | 53 | max-speed = <921600>; |
|---|
| 54 | + brcm,bt-pcm-int-params = [01 02 00 01 01]; |
|---|
| 34 | 55 | }; |
|---|
| 35 | 56 | }; |
|---|