From mboxrd@z Thu Jan 1 00:00:00 1970 From: breno.lima@nxp.com (Breno Lima) Date: Thu, 19 Jan 2017 14:30:05 -0200 Subject: [PATCH v3 3/3] ARM: dts: udoo_neo: Add Bluetooth support In-Reply-To: <1484843405-14892-1-git-send-email-breno.lima@nxp.com> References: <1484843405-14892-1-git-send-email-breno.lima@nxp.com> Message-ID: <1484843405-14892-3-git-send-email-breno.lima@nxp.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Udoo Neo has a TI WL1831 Bluetooth chip connected to the UART3 port. Add support for it. Signed-off-by: Breno Lima --- Changes since v1: - Newly introduced in this series arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi index 6787a83..9cc7919 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +++ b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi @@ -107,6 +107,18 @@ startup-delay-us = <70000>; enable-active-high; }; + + reg_bt: regulator-bt { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_bt_reg>; + enable-active-high; + gpio = <&gpio2 17 GPIO_ACTIVE_HIGH>; + regulator-name = "bt_reg"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; }; &cpu0 { @@ -218,6 +230,11 @@ }; &iomuxc { + pinctrl_bt_reg: btreggrp { + fsl,pins = + ; + }; + pinctrl_enet1: enet1grp { fsl,pins = , @@ -255,6 +272,14 @@ ; }; + pinctrl_uart3: uart3grp { + fsl,pins = + , + , + , + ; + }; + pinctrl_uart5: uart5grp { fsl,pins = , @@ -333,6 +358,13 @@ status = "disabled"; }; +&uart3 { /* Bluetooth */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + uart-has-rtscts; + status = "okay"; +}; + /* Arduino serial */ &uart5 { pinctrl-names = "default"; -- 2.7.4