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