1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/marvell-bluetooth.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:
23    description: see Documentation/devicetree/bindings/serial/serial.yaml
24
25required:
26  - compatible
27
28allOf:
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