xref: /linux/Documentation/devicetree/bindings/net/bluetooth/marvell,sd8897-bt.yaml (revision 8f7aa3d3c7323f4ca2768a9e74ebbe359c4f8f88)
1*73d2d709SAriel D'Alessandro# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*73d2d709SAriel D'Alessandro%YAML 1.2
3*73d2d709SAriel D'Alessandro---
4*73d2d709SAriel D'Alessandro$id: http://devicetree.org/schemas/net/bluetooth/marvell,sd8897-bt.yaml#
5*73d2d709SAriel D'Alessandro$schema: http://devicetree.org/meta-schemas/core.yaml#
6*73d2d709SAriel D'Alessandro
7*73d2d709SAriel D'Alessandrotitle: Marvell 8897/8997 (sd8897/sd8997) bluetooth devices (SDIO)
8*73d2d709SAriel D'Alessandro
9*73d2d709SAriel D'Alessandromaintainers:
10*73d2d709SAriel D'Alessandro  - Ariel D'Alessandro <ariel.dalessandro@collabora.com>
11*73d2d709SAriel D'Alessandro
12*73d2d709SAriel D'AlessandroallOf:
13*73d2d709SAriel D'Alessandro  - $ref: /schemas/net/bluetooth/bluetooth-controller.yaml#
14*73d2d709SAriel D'Alessandro
15*73d2d709SAriel D'Alessandroproperties:
16*73d2d709SAriel D'Alessandro  compatible:
17*73d2d709SAriel D'Alessandro    enum:
18*73d2d709SAriel D'Alessandro      - marvell,sd8897-bt
19*73d2d709SAriel D'Alessandro      - marvell,sd8997-bt
20*73d2d709SAriel D'Alessandro
21*73d2d709SAriel D'Alessandro  reg:
22*73d2d709SAriel D'Alessandro    maxItems: 1
23*73d2d709SAriel D'Alessandro
24*73d2d709SAriel D'Alessandro  interrupts:
25*73d2d709SAriel D'Alessandro    maxItems: 1
26*73d2d709SAriel D'Alessandro
27*73d2d709SAriel D'Alessandro  marvell,cal-data:
28*73d2d709SAriel D'Alessandro    $ref: /schemas/types.yaml#/definitions/uint8-array
29*73d2d709SAriel D'Alessandro    description:
30*73d2d709SAriel D'Alessandro      Calibration data downloaded to the device during initialization.
31*73d2d709SAriel D'Alessandro    maxItems: 28
32*73d2d709SAriel D'Alessandro
33*73d2d709SAriel D'Alessandro  marvell,wakeup-pin:
34*73d2d709SAriel D'Alessandro    $ref: /schemas/types.yaml#/definitions/uint16
35*73d2d709SAriel D'Alessandro    description:
36*73d2d709SAriel D'Alessandro      Wakeup pin number of the bluetooth chip. Used by firmware to wakeup host
37*73d2d709SAriel D'Alessandro      system.
38*73d2d709SAriel D'Alessandro
39*73d2d709SAriel D'Alessandro  marvell,wakeup-gap-ms:
40*73d2d709SAriel D'Alessandro    $ref: /schemas/types.yaml#/definitions/uint16
41*73d2d709SAriel D'Alessandro    description:
42*73d2d709SAriel D'Alessandro      Wakeup latency of the host platform. Required by the chip sleep feature.
43*73d2d709SAriel D'Alessandro
44*73d2d709SAriel D'Alessandrorequired:
45*73d2d709SAriel D'Alessandro  - compatible
46*73d2d709SAriel D'Alessandro  - reg
47*73d2d709SAriel D'Alessandro  - interrupts
48*73d2d709SAriel D'Alessandro
49*73d2d709SAriel D'AlessandroadditionalProperties: false
50*73d2d709SAriel D'Alessandro
51*73d2d709SAriel D'Alessandroexamples:
52*73d2d709SAriel D'Alessandro  - |
53*73d2d709SAriel D'Alessandro    #include <dt-bindings/interrupt-controller/irq.h>
54*73d2d709SAriel D'Alessandro
55*73d2d709SAriel D'Alessandro    mmc {
56*73d2d709SAriel D'Alessandro        vmmc-supply = <&wlan_en_reg>;
57*73d2d709SAriel D'Alessandro        bus-width = <4>;
58*73d2d709SAriel D'Alessandro        cap-power-off-card;
59*73d2d709SAriel D'Alessandro        keep-power-in-suspend;
60*73d2d709SAriel D'Alessandro
61*73d2d709SAriel D'Alessandro        #address-cells = <1>;
62*73d2d709SAriel D'Alessandro        #size-cells = <0>;
63*73d2d709SAriel D'Alessandro
64*73d2d709SAriel D'Alessandro        bluetooth@2 {
65*73d2d709SAriel D'Alessandro            compatible = "marvell,sd8897-bt";
66*73d2d709SAriel D'Alessandro            reg = <2>;
67*73d2d709SAriel D'Alessandro            interrupt-parent = <&pio>;
68*73d2d709SAriel D'Alessandro            interrupts = <119 IRQ_TYPE_LEVEL_LOW>;
69*73d2d709SAriel D'Alessandro
70*73d2d709SAriel D'Alessandro            marvell,cal-data = /bits/ 8 <
71*73d2d709SAriel D'Alessandro                0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02
72*73d2d709SAriel D'Alessandro                0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00
73*73d2d709SAriel D'Alessandro                0x00 0x00 0xf0 0x00>;
74*73d2d709SAriel D'Alessandro            marvell,wakeup-pin = /bits/ 16 <0x0d>;
75*73d2d709SAriel D'Alessandro            marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
76*73d2d709SAriel D'Alessandro        };
77*73d2d709SAriel D'Alessandro    };
78*73d2d709SAriel D'Alessandro
79*73d2d709SAriel D'Alessandro...
80