1 Marvell 8897/8997 (sd8897/sd8997) bluetooth de 2 ------ 3 The 8997 devices supports multiple interfaces. 4 the btmrvl driver is used and when used on USB 5 used. 6 7 Required properties: 8 9 - compatible : should be one of the followin 10 * "marvell,sd8897-bt" (for SDIO) 11 * "marvell,sd8997-bt" (for SDIO) 12 * "usb1286,204e" (for USB) 13 14 Optional properties: 15 16 - marvell,cal-data: Calibration data downloa 17 initialization. This is 18 This is only applicable 19 20 - marvell,wakeup-pin: It represents wakeup p 21 firmware will use the 22 - marvell,wakeup-gap-ms: wakeup gap represen 23 platform. The value will 24 is needed to work chip's 25 - interrupt-names: Used only for USB based d 26 - interrupts : specifies the interrupt pin n 27 driver will use the first int 28 array. For USB based devices, 29 named "wakeup" from the inter 30 The driver will request an ir 31 During system suspend, the ir 32 bluetooth chip can wakeup hos 33 conditions. During system res 34 to make sure unnecessary inte 35 36 Example: 37 38 IRQ pin 119 is used as system wakeup source in 39 wakeup pin 13 and gap 100ms are configured so 40 using this device side pin and wakeup latency. 41 42 Example for SDIO device follows (calibration d 43 below example). 44 45 &mmc3 { 46 vmmc-supply = <&wlan_en_reg>; 47 bus-width = <4>; 48 cap-power-off-card; 49 keep-power-in-suspend; 50 51 #address-cells = <1>; 52 #size-cells = <0>; 53 btmrvl: bluetooth@2 { 54 compatible = "marvell,sd8897-b 55 reg = <2>; 56 interrupt-parent = <&pio>; 57 interrupts = <119 IRQ_TYPE_LEV 58 59 marvell,cal-data = /bits/ 8 < 60 0x37 0x01 0x1c 0x00 0x 61 0x00 0x00 0xba 0xce 0x 62 0x00 0x00 0xf0 0x00>; 63 marvell,wakeup-pin = /bits/ 16 64 marvell,wakeup-gap-ms = /bits/ 65 }; 66 }; 67 68 Example for USB device: 69 70 &usb_host1_ohci { 71 #address-cells = <1>; 72 #size-cells = <0>; 73 74 mvl_bt1: bt@1 { 75 compatible = "usb1286,204e"; 76 reg = <1>; 77 interrupt-parent = <&gpio0>; 78 interrupt-names = "wakeup"; 79 interrupts = <119 IRQ_TYPE_LEVEL_LOW>; 80 marvell,wakeup-pin = /bits/ 16 <0x0d>; 81 marvell,wakeup-gap-ms = /bits/ 16 <0x6 82 }; 83 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.