| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
# Copyright (C) 2024 Amlogic, Inc. All rights reserved |
| 3 |
%YAML 1.2 |
| 4 |
--- |
| 5 |
$id: http://devicetree.org/schemas/net/bluetooth/amlogic,w155s2-bt.yaml# |
| 6 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 |
|
| 8 |
title: Amlogic Bluetooth chips |
| 9 |
|
| 10 |
description: |
| 11 |
The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on |
| 12 |
the standard H4 protocol via a 4-wire UART interface, with baud rates |
| 13 |
up to 4 Mbps. |
| 14 |
|
| 15 |
maintainers: |
| 16 |
- Yang Li <[email protected]> |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
oneOf: |
| 21 |
- items: |
| 22 |
- enum: |
| 23 |
- amlogic,w265s1-bt |
| 24 |
- amlogic,w265p1-bt |
| 25 |
- const: amlogic,w155s2-bt |
| 26 |
- enum: |
| 27 |
- amlogic,w155s2-bt |
| 28 |
- amlogic,w265s2-bt |
| 29 |
|
| 30 |
clocks: |
| 31 |
maxItems: 1 |
| 32 |
description: clock provided to the controller (32.768KHz) |
| 33 |
|
| 34 |
enable-gpios: |
| 35 |
maxItems: 1 |
| 36 |
|
| 37 |
vddio-supply: |
| 38 |
description: VDD_IO supply regulator handle |
| 39 |
|
| 40 |
firmware-name: |
| 41 |
maxItems: 1 |
| 42 |
description: specify the path of firmware bin to load |
| 43 |
|
| 44 |
required: |
| 45 |
- compatible |
| 46 |
- clocks |
| 47 |
- enable-gpios |
| 48 |
- vddio-supply |
| 49 |
- firmware-name |
| 50 |
|
| 51 |
additionalProperties: false |
| 52 |
|
| 53 |
examples: |
| 54 |
- | |
| 55 |
#include <dt-bindings/gpio/gpio.h> |
| 56 |
bluetooth { |
| 57 |
compatible = "amlogic,w155s2-bt"; |
| 58 |
clocks = <&extclk>; |
| 59 |
enable-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; |
| 60 |
vddio-supply = <&wcn_3v3>; |
| 61 |
firmware-name = "amlogic/aml_w155s2_bt_uart.bin"; |
| 62 |
}; |
| 63 |
|