summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am3517-som.dtsi
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-06-08 14:27:36 +0300
committerTony Lindgren <tony@atomide.com>2018-07-03 10:20:04 +0300
commit8b75b3dcb18239b71b351f2b59ebbdb3faa5ce45 (patch)
treeb81c7bd5f70d1123459c801b3d3888c132978a29 /arch/arm/boot/dts/am3517-som.dtsi
parent6bf5e3410f190374371d89a5816d1a4aaae66776 (diff)
downloadlinux-8b75b3dcb18239b71b351f2b59ebbdb3faa5ce45.tar.xz
ARM: dts: am3517-som: Add builtin Bluetooth
This enables the Bluetooth on the wl1271 available in some models of the AM3517-SOM from Logic PD. Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am3517-som.dtsi')
-rw-r--r--arch/arm/boot/dts/am3517-som.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi
index a2914067d613..dae6e458e59f 100644
--- a/arch/arm/boot/dts/am3517-som.dtsi
+++ b/arch/arm/boot/dts/am3517-som.dtsi
@@ -169,6 +169,16 @@
};
};
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pins>;
+
+ bluetooth {
+ compatible = "ti,wl1271-st";
+ enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>; /* gpio 56 */
+ max-speed = <3000000>;
+ };
+};
&omap3_pmx_core {
@@ -205,6 +215,16 @@
OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT | MUX_MODE4) /* gpmc_wait3.gpio_65 */
>;
};
+
+ uart2_pins: pinmux_uart2_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts */
+ OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLUP | MUX_MODE0) /* uart2_rts */
+ OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
+ OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx */
+ OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT | MUX_MODE0) /* gpio_56 */
+ >;
+ };
};
&omap3_pmx_wkup {