xref: /linux/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml (revision 870b7fdc660b38c4e1bd8bf48e62aa352ddf8f42)
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
8title: Amlogic Bluetooth chips
9
10description:
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
15maintainers:
16  - Yang Li <yang.li@amlogic.com>
17
18properties:
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
44required:
45  - compatible
46  - clocks
47  - enable-gpios
48  - vddio-supply
49  - firmware-name
50
51additionalProperties: false
52
53examples:
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
64