64 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) 2024 Amlogic, Inc. All rights reserved3%YAML 1.24---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 chips9 10description:11 The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on12 the standard H4 protocol via a 4-wire UART interface, with baud rates13 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-bt24 - amlogic,w265p1-bt25 - const: amlogic,w155s2-bt26 - enum:27 - amlogic,w155s2-bt28 - amlogic,w265s2-bt29 30 clocks:31 maxItems: 132 description: clock provided to the controller (32.768KHz)33 34 enable-gpios:35 maxItems: 136 37 vddio-supply:38 description: VDD_IO supply regulator handle39 40 firmware-name:41 maxItems: 142 description: specify the path of firmware bin to load43 44required:45 - compatible46 - clocks47 - enable-gpios48 - vddio-supply49 - firmware-name50 51additionalProperties: false52 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