1 From d40edafe80569c5b4d8893c1cdd1060c54ef433c Mon Sep 17 00:00:00 2001
2 From: Tim Harvey <tharvey@gateworks.com>
3 Date: Tue, 12 May 2020 14:54:15 -0700
4 Subject: [PATCH 07/20] ARM: dts: imx6qdl-gw5910: add support for bcm4330-bt
6 The Sterling-LWB has a BCM4330 which has a UART based bluetooth
7 HCI. Add support for binding to the bcm_hci driver to take care
8 of handling the shutdown gpio and loading firmware.
10 Because the shutdown gpio is more of an enable than a regulator
11 go ahead and replace the regulator with a shutdown-gpio.
13 Signed-off-by: Tim Harvey <tharvey@gateworks.com>
14 Signed-off-by: Shawn Guo <shawnguo@kernel.org>
16 arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 32 ++++++++++++--------------------
17 1 file changed, 12 insertions(+), 20 deletions(-)
19 --- a/arch/arm/boot/dts/imx6qdl-gw5910.dtsi
20 +++ b/arch/arm/boot/dts/imx6qdl-gw5910.dtsi
22 regulator-max-microvolt = <3300000>;
26 - reg_bt: regulator-bt {
27 - pinctrl-names = "default";
28 - pinctrl-0 = <&pinctrl_reg_bt>;
29 - compatible = "regulator-fixed";
30 - regulator-name = "bt";
31 - gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
32 - startup-delay-us = <100>;
34 - regulator-min-microvolt = <3300000>;
35 - regulator-max-microvolt = <3300000>;
36 - regulator-always-on;
42 /* Sterling-LWB Bluetooth */
44 pinctrl-names = "default";
45 - pinctrl-0 = <&pinctrl_uart4>;
46 + pinctrl-0 = <&pinctrl_uart4>,<&pinctrl_bten>;
51 + compatible = "brcm,bcm4330-bt";
52 + shutdown-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
61 + pinctrl_bten: btengrp {
63 + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b1
67 pinctrl_ecspi3: escpi3grp {
69 MX6QDL_PAD_DISP0_DAT0__ECSPI3_SCLK 0x100b1
74 - pinctrl_reg_bt: regbtgrp {
76 - MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b1
80 pinctrl_reg_wl: regwlgrp {
82 MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x1b0b1