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