Amlogic Bluetooth chips
Schema identifier ($id): "http://devicetree.org/schemas/net/bluetooth/amlogic,w155s2-bt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on the standard H4 protocol via a 4-wire UART interface, with baud rates up to 4 Mbps.
Maintainers (maintainers): "Yang Li <yang.li@amlogic.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,w265s1-bt","amlogic,w265p1-bt"Item 2
Exact value (
const):"amlogic,w155s2-bt"
Rule 2
Allowed values (
enum):"amlogic,w155s2-bt","amlogic,w265s2-bt"
clocks — required here #
Maximum number of items (maxItems): 1
clock provided to the controller (32.768KHz)
enable-gpios — required here #
Maximum number of items (maxItems): 1
vddio-supply — required here #
VDD_IO supply regulator handle
firmware-name — required here #
Maximum number of items (maxItems): 1
specify the path of firmware bin to load
Required in this object (required): "compatible", "clocks", "enable-gpios", "vddio-supply", "firmware-name"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
bluetooth {
compatible = "amlogic,w155s2-bt";
clocks = <&extclk>;
enable-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
vddio-supply = <&wcn_3v3>;
firmware-name = "amlogic/aml_w155s2_bt_uart.bin";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2024 Amlogic, Inc. All rights reserved