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        /* HW Flow control must be enabled for HCI H4 */
22        hw-flow-control;
23
24        bt-hci {
25          status = "okay";
26          compatible = "infineon,cyw43xxx-bt-hci";
27          bt-reg-on-gpios = <&gpio_prt3 4 (GPIO_ACTIVE_HIGH)>;
28
29          fw-download-speed = <3000000>;
30        };
31      };
32
33    NOTE1: The UART bus speed (current_speed) for zephyr_bt_uart should be the same
34           as the default baudrate defined in CYW43xx firmware (default 115200).
35
36    NOTE2: Use fw-download-speed and hci-operation-speed properties to configure UART
37           speeds for firmware download (fw-download-speed) and HCI operation
38           (hci-operation-speed).
39           If hci-operation-speed or fw-download-speed are not defined in bt-hci node,
40           cyw43xx driver will use bus/current-speed as default speed.
41
42    NOTE3: CYW43xxx requires fetch binary files of BT controller. To fetch binary blobs:
43           west blobs fetch hal_infineon
44
45compatible: "infineon,cyw43xxx-bt-hci"
46
47include: base.yaml
48
49properties:
50  bt-reg-on-gpios:
51    description: |
52      Power-up/down gpio to control the internal regulators used
53      by the Bluetooth section of CYW43xx device.
54    type: phandle-array
55
56  bt-dev-wake-gpios:
57    description: |
58      Bluetooth device wake-up gpio. Signal from the host to the
59      CYW43xx indicating that the host requires attention.
60    type: phandle-array
61
62  bt-host-wake-gpios:
63    description: |
64      Host wake-up gpio. Signal from the CYW43xx to the host
65      indicating that the CYW43xx requires attention.
66    type: phandle-array
67
68  hci-operation-speed:
69    type: int
70    description: |
71      HCI UART boudrate for feature operation. If not defined
72      bus/current-speed will be used as default.
73
74  fw-download-speed:
75    type: int
76    description: |
77      HCI UART boudrate for FW download operation. If not defined
78      bus/current-speed will be used as default.
79