Commit 441f7282 authored by Peter Robinson's avatar Peter Robinson Committed by Shawn Guo
Browse files

ARM: dts: imx6sx-udoo-neo: add bluetooth config to uart3



This updates the WL1831 bluetooth to use the serial serdev driver
interface.

Signed-off-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b1368b58
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -20,3 +20,7 @@
&i2c4 { /* Onboard Motion sensors */
	status = "okay";
};

&uart3 { /* Bluetooth */
	status = "okay";
};
+4 −0
Original line number Diff line number Diff line
@@ -35,3 +35,7 @@
&i2c4 { /* Onboard Motion sensors */
	status = "okay";
};

&uart3 { /* Bluetooth */
	status = "okay";
};
+10 −14
Original line number Diff line number Diff line
@@ -70,18 +70,6 @@
		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;
	};
};

&fec1 {
@@ -343,11 +331,19 @@
	status = "disabled";
};

&uart3 { /* Bluetooth */
&uart3 { /* Bluetooth - only on Extended/Full versions */
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart3>;
	uart-has-rtscts;
	status = "okay";
	status = "disabled";

	bluetooth {
		compatible = "ti,wl1831-st";
		enable-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_bt_reg>;
		max-speed = <921600>;
	};
};

/* Arduino serial */