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