xref: /freebsd/sys/contrib/device-tree/Bindings/net/bluetooth/marvell,88w8897.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/net/bluetooth/marvell,88w8897.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Marvell Bluetooth chips
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotdescription: |
10*b2d2a78aSEmmanuel Vadot  This documents the binding structure and common properties for serial
11*b2d2a78aSEmmanuel Vadot  attached Marvell Bluetooth devices.
12*b2d2a78aSEmmanuel Vadot
13*b2d2a78aSEmmanuel Vadotmaintainers:
14*b2d2a78aSEmmanuel Vadot  - Rob Herring <robh@kernel.org>
15*b2d2a78aSEmmanuel Vadot
16*b2d2a78aSEmmanuel Vadotproperties:
17*b2d2a78aSEmmanuel Vadot  compatible:
18*b2d2a78aSEmmanuel Vadot    enum:
19*b2d2a78aSEmmanuel Vadot      - mrvl,88w8897
20*b2d2a78aSEmmanuel Vadot      - mrvl,88w8997
21*b2d2a78aSEmmanuel Vadot
22*b2d2a78aSEmmanuel Vadot  max-speed: true
23*b2d2a78aSEmmanuel Vadot
24*b2d2a78aSEmmanuel Vadotrequired:
25*b2d2a78aSEmmanuel Vadot  - compatible
26*b2d2a78aSEmmanuel Vadot
27*b2d2a78aSEmmanuel VadotallOf:
28*b2d2a78aSEmmanuel Vadot  - $ref: /schemas/serial/serial-peripheral-props.yaml#
29*b2d2a78aSEmmanuel Vadot  - if:
30*b2d2a78aSEmmanuel Vadot      properties:
31*b2d2a78aSEmmanuel Vadot        compatible:
32*b2d2a78aSEmmanuel Vadot          contains:
33*b2d2a78aSEmmanuel Vadot            const: mrvl,88w8997
34*b2d2a78aSEmmanuel Vadot    then:
35*b2d2a78aSEmmanuel Vadot      properties:
36*b2d2a78aSEmmanuel Vadot        max-speed: true
37*b2d2a78aSEmmanuel Vadot    else:
38*b2d2a78aSEmmanuel Vadot      properties:
39*b2d2a78aSEmmanuel Vadot        max-speed: false
40*b2d2a78aSEmmanuel Vadot
41*b2d2a78aSEmmanuel VadotadditionalProperties: false
42*b2d2a78aSEmmanuel Vadot
43*b2d2a78aSEmmanuel Vadotexamples:
44*b2d2a78aSEmmanuel Vadot  - |
45*b2d2a78aSEmmanuel Vadot    serial {
46*b2d2a78aSEmmanuel Vadot      bluetooth {
47*b2d2a78aSEmmanuel Vadot        compatible = "mrvl,88w8897";
48*b2d2a78aSEmmanuel Vadot      };
49*b2d2a78aSEmmanuel Vadot    };
50