| 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 |
|
| 7 |
title: Marvell Bluetooth chips |
| 8 |
|
| 9 |
description: | |
| 10 |
This documents the binding structure and common properties for serial |
| 11 |
attached Marvell Bluetooth devices. |
| 12 |
|
| 13 |
maintainers: |
| 14 |
- Rob Herring <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
enum: |
| 19 |
- mrvl,88w8897 |
| 20 |
- mrvl,88w8997 |
| 21 |
|
| 22 |
max-speed: true |
| 23 |
|
| 24 |
required: |
| 25 |
- compatible |
| 26 |
|
| 27 |
allOf: |
| 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 |
|
| 41 |
additionalProperties: false |
| 42 |
|
| 43 |
examples: |
| 44 |
- | |
| 45 |
serial { |
| 46 |
bluetooth { |
| 47 |
compatible = "mrvl,88w8897"; |
| 48 |
}; |
| 49 |
}; |