aboutsummaryrefslogtreecommitdiffstats
path: root/dts/upstream/Bindings/net/bluetooth/marvell,88w8897.yaml
blob: 2fc36874deb74bd2fde1ec96e9e9ce1efafc10c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/bluetooth/marvell,88w8897.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Bluetooth chips

description: |
  This documents the binding structure and common properties for serial
  attached Marvell Bluetooth devices.

maintainers:
  - Rob Herring <robh@kernel.org>

properties:
  compatible:
    enum:
      - mrvl,88w8897
      - mrvl,88w8997

  max-speed: true

required:
  - compatible

allOf:
  - $ref: /schemas/serial/serial-peripheral-props.yaml#
  - if:
      properties:
        compatible:
          contains:
            const: mrvl,88w8997
    then:
      properties:
        max-speed: true
    else:
      properties:
        max-speed: false

additionalProperties: false

examples:
  - |
    serial {
      bluetooth {
        compatible = "mrvl,88w8897";
      };
    };