xref: /freebsd/sys/contrib/device-tree/Bindings/net/marvell-bluetooth.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/net/marvell-bluetooth.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: Marvell Bluetooth chips
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotdescription: |
108cc087a1SEmmanuel Vadot  This documents the binding structure and common properties for serial
118cc087a1SEmmanuel Vadot  attached Marvell Bluetooth devices.
128cc087a1SEmmanuel Vadot
138cc087a1SEmmanuel Vadotmaintainers:
148cc087a1SEmmanuel Vadot  - Rob Herring <robh@kernel.org>
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadotproperties:
178cc087a1SEmmanuel Vadot  compatible:
18*fac71e4eSEmmanuel Vadot    enum:
19*fac71e4eSEmmanuel Vadot      - mrvl,88w8897
20*fac71e4eSEmmanuel Vadot      - mrvl,88w8997
21*fac71e4eSEmmanuel Vadot
22*fac71e4eSEmmanuel Vadot  max-speed:
23*fac71e4eSEmmanuel Vadot    description: see Documentation/devicetree/bindings/serial/serial.yaml
248cc087a1SEmmanuel Vadot
258cc087a1SEmmanuel Vadotrequired:
268cc087a1SEmmanuel Vadot  - compatible
278cc087a1SEmmanuel Vadot
28*fac71e4eSEmmanuel VadotallOf:
29*fac71e4eSEmmanuel Vadot  - if:
30*fac71e4eSEmmanuel Vadot      properties:
31*fac71e4eSEmmanuel Vadot        compatible:
32*fac71e4eSEmmanuel Vadot          contains:
33*fac71e4eSEmmanuel Vadot            const: mrvl,88w8997
34*fac71e4eSEmmanuel Vadot    then:
35*fac71e4eSEmmanuel Vadot      properties:
36*fac71e4eSEmmanuel Vadot        max-speed: true
37*fac71e4eSEmmanuel Vadot    else:
38*fac71e4eSEmmanuel Vadot      properties:
39*fac71e4eSEmmanuel Vadot        max-speed: false
40*fac71e4eSEmmanuel Vadot
418cc087a1SEmmanuel VadotadditionalProperties: false
428cc087a1SEmmanuel Vadot
438cc087a1SEmmanuel Vadotexamples:
448cc087a1SEmmanuel Vadot  - |
458cc087a1SEmmanuel Vadot    serial {
468cc087a1SEmmanuel Vadot      bluetooth {
478cc087a1SEmmanuel Vadot        compatible = "mrvl,88w8897";
488cc087a1SEmmanuel Vadot      };
498cc087a1SEmmanuel Vadot    };
50