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