1# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
2# an affiliate of Cypress Semiconductor Corporation
3#
4# SPDX-License-Identifier: Apache-2.0
5
6description: |
7    CYW43xxx Connectivity that uses Zephyr's Bluetooth Host Controller Interface UART
8    driver.
9
10    Example of enabling CYW43xxx device:
11
12      &uart2 {
13        status = "okay";
14        current-speed = <115200>;
15
16        /* HCI-UART pins*/
17        pinctrl-0 = <&p3_1_scb2_uart_tx &p3_0_scb2_uart_rx
18                     &p3_2_scb2_uart_rts &p3_3_scb2_uart_cts>;
19        pinctrl-names = "default";
20
21        bt-hci {
22          status = "okay";
23          compatible = "infineon,cyw43xxx-bt-hci";
24          bt-reg-on-gpios = <&gpio_prt3 4 (GPIO_ACTIVE_HIGH)>;
25
26          fw-download-speed = <3000000>;
27        };
28      };
29
30    NOTE1: The UART bus speed (current_speed) for zephyr_bt_uart should be the same
31           as the default baudrate defined in CYW43xx firmware (default 115200).
32
33    NOTE2: Use fw-download-speed and hci-operation-speed properties to configure UART
34           speeds for firmware download (fw-download-speed) and HCI operation
35           (hci-operation-speed).
36           If hci-operation-speed or fw-download-speed are not defined in bt-hci node,
37           cyw43xx driver will use bus/current-speed as default speed.
38
39    NOTE3: CYW43xxx requires fetch binary files of BT controller. To fetch binary blobs:
40           west blobs fetch hal_infineon
41
42compatible: "infineon,cyw43xxx-bt-hci"
43
44include: base.yaml
45
46properties:
47  bt-reg-on-gpios:
48    description: |
49      Power-up/down gpio to control the internal regulators used
50      by the Bluetooth section of CYW43xx device.
51    type: phandle-array
52
53  bt-dev-wake-gpios:
54    description: |
55      Bluetooth device wake-up gpio. Signal from the host to the
56      CYW43xx indicating that the host requires attention.
57    type: phandle-array
58
59  bt-host-wake-gpios:
60    description: |
61      Host wake-up gpio. Signal from the CYW43xx to the host
62      indicating that the CYW43xx requires attention.
63    type: phandle-array
64
65  hci-operation-speed:
66    type: int
67    description: |
68      HCI UART boudrate for feature operation. If not defined
69      bus/current-speed wil be used as default.
70
71  fw-download-speed:
72    type: int
73    description: |
74      HCI UART boudrate for FW dowload operation. If not defined
75      bus/current-speed wil be used as default.
76