xref: /freebsd/sys/contrib/device-tree/Bindings/net/ti,bluetooth.yaml (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8cc087a1SEmmanuel Vadot%YAML 1.2
3*8cc087a1SEmmanuel Vadot---
4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/net/ti,bluetooth.yaml#
5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8cc087a1SEmmanuel Vadot
7*8cc087a1SEmmanuel Vadottitle: Texas Instruments Bluetooth Chips
8*8cc087a1SEmmanuel Vadot
9*8cc087a1SEmmanuel Vadotmaintainers:
10*8cc087a1SEmmanuel Vadot  - David Lechner <david@lechnology.com>
11*8cc087a1SEmmanuel Vadot
12*8cc087a1SEmmanuel Vadotdescription: |
13*8cc087a1SEmmanuel Vadot  This documents the binding structure and common properties for serial
14*8cc087a1SEmmanuel Vadot  attached TI Bluetooth devices. The following chips are included in this
15*8cc087a1SEmmanuel Vadot  binding:
16*8cc087a1SEmmanuel Vadot
17*8cc087a1SEmmanuel Vadot  * TI CC256x Bluetooth devices
18*8cc087a1SEmmanuel Vadot  * TI WiLink 7/8 (wl12xx/wl18xx) Shared Transport BT/FM/GPS devices
19*8cc087a1SEmmanuel Vadot
20*8cc087a1SEmmanuel Vadot  TI WiLink devices have a UART interface for providing Bluetooth, FM radio,
21*8cc087a1SEmmanuel Vadot  and GPS over what's called "shared transport". The shared transport is
22*8cc087a1SEmmanuel Vadot  standard BT HCI protocol with additional channels for the other functions.
23*8cc087a1SEmmanuel Vadot
24*8cc087a1SEmmanuel Vadot  TI WiLink devices also have a separate WiFi interface as described in
25*8cc087a1SEmmanuel Vadot  wireless/ti,wlcore.yaml.
26*8cc087a1SEmmanuel Vadot
27*8cc087a1SEmmanuel Vadot  This bindings follows the UART slave device binding in ../serial/serial.yaml.
28*8cc087a1SEmmanuel Vadot
29*8cc087a1SEmmanuel Vadotproperties:
30*8cc087a1SEmmanuel Vadot  compatible:
31*8cc087a1SEmmanuel Vadot    enum:
32*8cc087a1SEmmanuel Vadot      - ti,cc2560
33*8cc087a1SEmmanuel Vadot      - ti,wl1271-st
34*8cc087a1SEmmanuel Vadot      - ti,wl1273-st
35*8cc087a1SEmmanuel Vadot      - ti,wl1281-st
36*8cc087a1SEmmanuel Vadot      - ti,wl1283-st
37*8cc087a1SEmmanuel Vadot      - ti,wl1285-st
38*8cc087a1SEmmanuel Vadot      - ti,wl1801-st
39*8cc087a1SEmmanuel Vadot      - ti,wl1805-st
40*8cc087a1SEmmanuel Vadot      - ti,wl1807-st
41*8cc087a1SEmmanuel Vadot      - ti,wl1831-st
42*8cc087a1SEmmanuel Vadot      - ti,wl1835-st
43*8cc087a1SEmmanuel Vadot      - ti,wl1837-st
44*8cc087a1SEmmanuel Vadot
45*8cc087a1SEmmanuel Vadot  enable-gpios:
46*8cc087a1SEmmanuel Vadot    maxItems: 1
47*8cc087a1SEmmanuel Vadot
48*8cc087a1SEmmanuel Vadot  vio-supply:
49*8cc087a1SEmmanuel Vadot    description: Vio input supply (1.8V)
50*8cc087a1SEmmanuel Vadot
51*8cc087a1SEmmanuel Vadot  vbat-supply:
52*8cc087a1SEmmanuel Vadot    description: Vbat input supply (2.9-4.8V)
53*8cc087a1SEmmanuel Vadot
54*8cc087a1SEmmanuel Vadot  clocks:
55*8cc087a1SEmmanuel Vadot    maxItems: 1
56*8cc087a1SEmmanuel Vadot
57*8cc087a1SEmmanuel Vadot  clock-names:
58*8cc087a1SEmmanuel Vadot    items:
59*8cc087a1SEmmanuel Vadot      - const: ext_clock
60*8cc087a1SEmmanuel Vadot
61*8cc087a1SEmmanuel Vadot  max-speed:
62*8cc087a1SEmmanuel Vadot    default: 3000000
63*8cc087a1SEmmanuel Vadot
64*8cc087a1SEmmanuel Vadot  nvmem-cells:
65*8cc087a1SEmmanuel Vadot    maxItems: 1
66*8cc087a1SEmmanuel Vadot    description:
67*8cc087a1SEmmanuel Vadot      Nvmem data cell that contains a 6 byte BD address with the most
68*8cc087a1SEmmanuel Vadot      significant byte first (big-endian).
69*8cc087a1SEmmanuel Vadot
70*8cc087a1SEmmanuel Vadot  nvmem-cell-names:
71*8cc087a1SEmmanuel Vadot    items:
72*8cc087a1SEmmanuel Vadot      - const: bd-address
73*8cc087a1SEmmanuel Vadot
74*8cc087a1SEmmanuel Vadotrequired:
75*8cc087a1SEmmanuel Vadot  - compatible
76*8cc087a1SEmmanuel Vadot
77*8cc087a1SEmmanuel VadotadditionalProperties: false
78*8cc087a1SEmmanuel Vadot
79*8cc087a1SEmmanuel Vadotexamples:
80*8cc087a1SEmmanuel Vadot  - |
81*8cc087a1SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
82*8cc087a1SEmmanuel Vadot
83*8cc087a1SEmmanuel Vadot    serial {
84*8cc087a1SEmmanuel Vadot            bluetooth {
85*8cc087a1SEmmanuel Vadot                    compatible = "ti,wl1835-st";
86*8cc087a1SEmmanuel Vadot                    enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
87*8cc087a1SEmmanuel Vadot                    clocks = <&clk32k_wl18xx>;
88*8cc087a1SEmmanuel Vadot                    clock-names = "ext_clock";
89*8cc087a1SEmmanuel Vadot                    nvmem-cells = <&bd_address>;
90*8cc087a1SEmmanuel Vadot                    nvmem-cell-names = "bd-address";
91*8cc087a1SEmmanuel Vadot            };
92*8cc087a1SEmmanuel Vadot    };
93