aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2014-12-22 15:26:06 -0600
committerFei Wang <w.f@huawei.com>2015-02-06 12:57:44 +0800
commit92648fc399833739300ef887bad90bde94ed4ddd (patch)
treedcd321f8ed52b678d2ad914ae767e052fa96817b
parentdbf2be25b23d1a9da5b238cb8ee59ffc6e235073 (diff)
dts: hikey: add description for TI bluetooth and set baudrate to 115200
Bluetooth uart1 cannot work at 3Mbps. That's an software issue which need to be fixed. As a temporary workaround, set it to 115200bps. Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
-rw-r--r--arch/arm64/boot/dts/hi6220-hikey.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hi6220-hikey.dts b/arch/arm64/boot/dts/hi6220-hikey.dts
index 39b34f308e3e..84f71f36f48e 100644
--- a/arch/arm64/boot/dts/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hi6220-hikey.dts
@@ -118,4 +118,27 @@
&SD_DATA3_pmx_idle
&SD_DATA3_cfg_idle>;
};
+
+ kim {
+ compatible = "kim";
+ pinctrl-names = "default";
+ pinctrl-0 = <>; /* FIXME: add BT PCM pinctrl here */
+ /*
+ * FIXME: The following is complete CRAP since
+ * the vendor driver doesn't follow the gpio
+ * binding. Passing in a magic Linux gpio number
+ * here until we fix the vendor driver.
+ */
+ /* BT_EN: BT_REG_ON_GPIO1_7 */
+ nshutdown_gpio = <503>;
+ dev_name = "/dev/ttyAMA1";
+ flow_cntrl = <1>;
+ /* baud_rate = <3000000>; */
+ baud_rate = <115200>;
+ };
+
+ btwilink {
+ compatible = "btwilink";
+ };
+
};