xref: /freebsd-src/sys/contrib/device-tree/Bindings/net/ti-bluetooth.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTexas Instruments Bluetooth Chips
2*c66ec88fSEmmanuel Vadot---------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThis documents the binding structure and common properties for serial
5*c66ec88fSEmmanuel Vadotattached TI Bluetooth devices. The following chips are included in this
6*c66ec88fSEmmanuel Vadotbinding:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot* TI CC256x Bluetooth devices
9*c66ec88fSEmmanuel Vadot* TI WiLink 7/8 (wl12xx/wl18xx) Shared Transport BT/FM/GPS devices
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotTI WiLink devices have a UART interface for providing Bluetooth, FM radio,
12*c66ec88fSEmmanuel Vadotand GPS over what's called "shared transport". The shared transport is
13*c66ec88fSEmmanuel Vadotstandard BT HCI protocol with additional channels for the other functions.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotTI WiLink devices also have a separate WiFi interface as described in
16*c66ec88fSEmmanuel Vadotwireless/ti,wlcore.txt.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotThis bindings follows the UART slave device binding in ../serial/serial.yaml.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotRequired properties:
21*c66ec88fSEmmanuel Vadot - compatible: should be one of the following:
22*c66ec88fSEmmanuel Vadot    "ti,cc2560"
23*c66ec88fSEmmanuel Vadot    "ti,wl1271-st"
24*c66ec88fSEmmanuel Vadot    "ti,wl1273-st"
25*c66ec88fSEmmanuel Vadot    "ti,wl1281-st"
26*c66ec88fSEmmanuel Vadot    "ti,wl1283-st"
27*c66ec88fSEmmanuel Vadot    "ti,wl1285-st"
28*c66ec88fSEmmanuel Vadot    "ti,wl1801-st"
29*c66ec88fSEmmanuel Vadot    "ti,wl1805-st"
30*c66ec88fSEmmanuel Vadot    "ti,wl1807-st"
31*c66ec88fSEmmanuel Vadot    "ti,wl1831-st"
32*c66ec88fSEmmanuel Vadot    "ti,wl1835-st"
33*c66ec88fSEmmanuel Vadot    "ti,wl1837-st"
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel VadotOptional properties:
36*c66ec88fSEmmanuel Vadot - enable-gpios : GPIO signal controlling enabling of BT. Active high.
37*c66ec88fSEmmanuel Vadot - vio-supply : Vio input supply (1.8V)
38*c66ec88fSEmmanuel Vadot - vbat-supply : Vbat input supply (2.9-4.8V)
39*c66ec88fSEmmanuel Vadot - clocks : Must contain an entry, for each entry in clock-names.
40*c66ec88fSEmmanuel Vadot   See ../clocks/clock-bindings.txt for details.
41*c66ec88fSEmmanuel Vadot - clock-names : Must include the following entry:
42*c66ec88fSEmmanuel Vadot   "ext_clock" (External clock provided to the TI combo chip).
43*c66ec88fSEmmanuel Vadot - nvmem-cells: phandle to nvmem data cell that contains a 6 byte BD address
44*c66ec88fSEmmanuel Vadot   with the most significant byte first (big-endian).
45*c66ec88fSEmmanuel Vadot - nvmem-cell-names: "bd-address" (required when nvmem-cells is specified)
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel VadotExample:
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot&serial0 {
50*c66ec88fSEmmanuel Vadot	compatible = "ns16550a";
51*c66ec88fSEmmanuel Vadot	...
52*c66ec88fSEmmanuel Vadot	bluetooth {
53*c66ec88fSEmmanuel Vadot		compatible = "ti,wl1835-st";
54*c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
55*c66ec88fSEmmanuel Vadot		clocks = <&clk32k_wl18xx>;
56*c66ec88fSEmmanuel Vadot		clock-names = "ext_clock";
57*c66ec88fSEmmanuel Vadot		nvmem-cells = <&bd_address>;
58*c66ec88fSEmmanuel Vadot		nvmem-cell-names = "bd-address";
59*c66ec88fSEmmanuel Vadot	};
60*c66ec88fSEmmanuel Vadot};
61