Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 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 <robh@kernel.org> |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - mrvl,88w8897 |
| 20 | - mrvl,88w8997 |
| 21 | |
| 22 | max-speed: |
| 23 | description: see Documentation/devicetree/bindings/serial/serial.yaml |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | |
| 28 | allOf: |
| 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 | }; |