xref: /linux/Documentation/devicetree/bindings/net/btusb.txt (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1Generic Bluetooth controller over USB (btusb driver)
2---------------------------------------------------
3
4Required properties:
5
6  - compatible : should comply with the format "usbVID,PID" specified in
7		 Documentation/devicetree/bindings/usb/usb-device.txt
8		 At the time of writing, the only OF supported devices
9		 (more may be added later) are:
10
11		  "usb1286,204e" (Marvell 8997)
12
13Also, vendors that use btusb may have device additional properties, e.g:
14Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
15
16Optional properties:
17
18  - interrupt-parent: phandle of the parent interrupt controller
19  - interrupt-names: (see below)
20  - interrupts : The interrupt specified by the name "wakeup" is the interrupt
21		 that shall be used for out-of-band wake-on-bt. Driver will
22		 request this interrupt for wakeup. During system suspend, the
23		 irq will be enabled so that the bluetooth chip can wakeup host
24		 platform out of band. During system resume, the irq will be
25		 disabled to make sure unnecessary interrupt is not received.
26
27Example:
28
29Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt:
30
31&usb_host1_ehci {
32    status = "okay";
33    #address-cells = <1>;
34    #size-cells = <0>;
35
36    mvl_bt1: bt@1 {
37	compatible = "usb1286,204e";
38	reg = <1>;
39	interrupt-parent = <&gpio0>;
40	interrupt-name = "wakeup";
41	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
42    };
43};
44