Skip to content

Commit d40edaf

Browse files
GateworksShawn Guo
authored andcommitted
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: Tim Harvey <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent c8756cb commit d40edaf

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

arch/arm/boot/dts/imx6qdl-gw5910.dtsi

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,6 @@
8383
regulator-max-microvolt = <3300000>;
8484
regulator-always-on;
8585
};
86-
87-
reg_bt: regulator-bt {
88-
pinctrl-names = "default";
89-
pinctrl-0 = <&pinctrl_reg_bt>;
90-
compatible = "regulator-fixed";
91-
regulator-name = "bt";
92-
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
93-
startup-delay-us = <100>;
94-
enable-active-high;
95-
regulator-min-microvolt = <3300000>;
96-
regulator-max-microvolt = <3300000>;
97-
regulator-always-on;
98-
};
9986
};
10087

10188

@@ -231,9 +218,14 @@
231218
/* Sterling-LWB Bluetooth */
232219
&uart4 {
233220
pinctrl-names = "default";
234-
pinctrl-0 = <&pinctrl_uart4>;
221+
pinctrl-0 = <&pinctrl_uart4>,<&pinctrl_bten>;
235222
uart-has-rtscts;
236223
status = "okay";
224+
225+
bluetooth {
226+
compatible = "brcm,bcm4330-bt";
227+
shutdown-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
228+
};
237229
};
238230

239231
/* GPS */
@@ -288,6 +280,12 @@
288280
>;
289281
};
290282

283+
pinctrl_bten: btengrp {
284+
fsl,pins = <
285+
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b1
286+
>;
287+
};
288+
291289
pinctrl_ecspi3: escpi3grp {
292290
fsl,pins = <
293291
MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1
@@ -393,12 +391,6 @@
393391
>;
394392
};
395393

396-
pinctrl_reg_bt: regbtgrp {
397-
fsl,pins = <
398-
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b1
399-
>;
400-
};
401-
402394
pinctrl_reg_wl: regwlgrp {
403395
fsl,pins = <
404396
MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b1

0 commit comments

Comments
 (0)