Skip to content
Snippets Groups Projects
Commit a22fe811 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[C12][DT][DTO] wilink: bluetooth: use hci_ll driver

For wilink bluetooth, the driver to use is BT_HCIUART_LL.
In the past, btwilink plus TI_ST (kim) was used instead, but that
combination is now deprecated.

REFERENCE:
https://lore.kernel.org/all/20191020205901.56bafijk7cu3rpaj@earth.universe/T/
parent 92f8a7ca
No related branches found
No related tags found
No related merge requests found
......@@ -12,25 +12,25 @@
* GNU General Public License for more details.
*/
/*
* Dts overlay for C12 Wifi+BT module
* Dts overlay for C12 Wifi+BT module
*/
/dts-v1/;
/plugin/;
/ {
compatible = "fsl,imx8mq-evk","fsl,seco-imx8mq-c12", "fsl,imx8mq";
compatible = "fsl,imx8mq-evk","fsl,seco-imx8mq-c12", "fsl,imx8mq";
/* __________________________________________________________________________
* | |
* | WiFi |
* | WiFi |
* |__________________________________________________________________________|
*/
fragment@0 {
target = <&usdhc2>;
__overlay__ {
fragment@0 {
target = <&usdhc2>;
__overlay__ {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>,<&pinctrl_wlan>;
/delete-property/ cd-gpios;
......@@ -41,6 +41,7 @@
status = "okay";
wlcore: wlcore@2 {
compatible = "ti,wl1831";
status = "okay";
};
};
......@@ -48,22 +49,19 @@
/* __________________________________________________________________________
* | |
* | BLUETOOTH |
* | BLUETOOTH |
* |__________________________________________________________________________|
*/
fragment@1 {
target-path = "/";
__overlay__ {
kim {
compatible = "kim";
nshutdown_gpio = "null";
dev_name = "/dev/ttymxc3";
flow_cntrl = <1>;
baud_rate = <1000000>;
fragment@1 {
target = <&uart4>;
__overlay__ {
bluetooth {
compatible = "ti,wl1831-st";
enable-gpios = <&gpio3 22 0>;
};
};
};
};
......@@ -166,14 +166,6 @@
};
};
modem_reset: modem-reset {
compatible = "gpio-reset";
reset-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
reset-post-delay-ms = <40>;
#reset-cells = <0>;
};
soundhdmi: sound-hdmi {
compatible = "fsl,seco-imx8mq-c12-cdnhdmi",
"fsl,imx8mq-evk-cdnhdmi",
......@@ -987,7 +979,6 @@
assigned-clocks = <&clk IMX8MQ_CLK_UART4>;
assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
fsl,uart-has-rtscts;
resets = <&modem_reset>;
status = "okay";
};
......@@ -1082,12 +1073,10 @@
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1831";
reg = <2>;
interrupt-parent = <&gpio3>;
interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment