Commit d40edafe authored by Tim Harvey's avatar Tim Harvey Committed by Shawn Guo

ARM: dts: imx6qdl-gw5910: add support for bcm4330-bt

The Sterling-LWB has a BCM4330 which has a UART based bluetooth
HCI. Add support for binding to the bcm_hci driver to take care
of handling the shutdown gpio and loading firmware.

Because the shutdown gpio is more of an enable than a regulator
go ahead and replace the regulator with a shutdown-gpio.
Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c8756cba
...@@ -83,19 +83,6 @@ reg_wl: regulator-wl { ...@@ -83,19 +83,6 @@ reg_wl: regulator-wl {
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;
}; };
reg_bt: regulator-bt {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reg_bt>;
compatible = "regulator-fixed";
regulator-name = "bt";
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
startup-delay-us = <100>;
enable-active-high;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
}; };
...@@ -231,9 +218,14 @@ &uart3 { ...@@ -231,9 +218,14 @@ &uart3 {
/* Sterling-LWB Bluetooth */ /* Sterling-LWB Bluetooth */
&uart4 { &uart4 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart4>; pinctrl-0 = <&pinctrl_uart4>,<&pinctrl_bten>;
uart-has-rtscts; uart-has-rtscts;
status = "okay"; status = "okay";
bluetooth {
compatible = "brcm,bcm4330-bt";
shutdown-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
};
}; };
/* GPS */ /* GPS */
...@@ -288,6 +280,12 @@ MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b1 ...@@ -288,6 +280,12 @@ MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b1
>; >;
}; };
pinctrl_bten: btengrp {
fsl,pins = <
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b1
>;
};
pinctrl_ecspi3: escpi3grp { pinctrl_ecspi3: escpi3grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1 MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1
...@@ -393,12 +391,6 @@ MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1 ...@@ -393,12 +391,6 @@ MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1
>; >;
}; };
pinctrl_reg_bt: regbtgrp {
fsl,pins = <
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b1
>;
};
pinctrl_reg_wl: regwlgrp { pinctrl_reg_wl: regwlgrp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b1 MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment