diff options
author | Vanessa Maegima <vanessa.maegima@nxp.com> | 2016-08-30 16:23:04 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-09-04 22:21:18 -0400 |
commit | 9fa7a2a4f9d90901e845fb4cafe815d08c2981c5 (patch) | |
tree | 5f53a5d9719c54151e8e4d3e15eb58a6b1c7033e | |
parent | d142a20700ca73430bcacfa6f8df3331142049d9 (diff) |
ARM: dts: imx7s-warp: Add Bluetooth support
WaRP7 has a BCM43430 Bluetooth chip.
Add support for it.
Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx7s-warp.dts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index df74f0c9f102..0345267f3390 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts | |||
@@ -79,6 +79,18 @@ | |||
79 | startup-delay-us = <200000>; | 79 | startup-delay-us = <200000>; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | reg_bt: regulator-bt { | ||
83 | compatible = "regulator-fixed"; | ||
84 | pinctrl-names = "default"; | ||
85 | pinctrl-0 = <&pinctrl_bt_reg>; | ||
86 | enable-active-high; | ||
87 | gpio = <&gpio5 17 GPIO_ACTIVE_HIGH>; | ||
88 | regulator-name = "bt_reg"; | ||
89 | regulator-min-microvolt = <3300000>; | ||
90 | regulator-max-microvolt = <3300000>; | ||
91 | regulator-always-on; | ||
92 | }; | ||
93 | |||
82 | sound { | 94 | sound { |
83 | compatible = "simple-audio-card"; | 95 | compatible = "simple-audio-card"; |
84 | simple-audio-card,name = "imx7-sgtl5000"; | 96 | simple-audio-card,name = "imx7-sgtl5000"; |
@@ -250,6 +262,15 @@ | |||
250 | status = "okay"; | 262 | status = "okay"; |
251 | }; | 263 | }; |
252 | 264 | ||
265 | &uart3 { | ||
266 | pinctrl-names = "default"; | ||
267 | pinctrl-0 = <&pinctrl_uart3>; | ||
268 | assigned-clocks = <&clks IMX7D_UART3_ROOT_SRC>; | ||
269 | assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>; | ||
270 | uart-has-rtscts; | ||
271 | status = "okay"; | ||
272 | }; | ||
273 | |||
253 | &usbotg1 { | 274 | &usbotg1 { |
254 | dr_mode = "peripheral"; | 275 | dr_mode = "peripheral"; |
255 | status = "okay"; | 276 | status = "okay"; |
@@ -293,6 +314,12 @@ | |||
293 | >; | 314 | >; |
294 | }; | 315 | }; |
295 | 316 | ||
317 | pinctrl_bt_reg: btreggrp { | ||
318 | fsl,pins = < | ||
319 | MX7D_PAD_SD2_DATA3__GPIO5_IO17 0x14 /* BT_REG_ON */ | ||
320 | >; | ||
321 | }; | ||
322 | |||
296 | pinctrl_gpio: gpiogrp { | 323 | pinctrl_gpio: gpiogrp { |
297 | fsl,pins = < | 324 | fsl,pins = < |
298 | MX7D_PAD_ENET1_RGMII_RD1__GPIO7_IO1 0x14 | 325 | MX7D_PAD_ENET1_RGMII_RD1__GPIO7_IO1 0x14 |
@@ -342,6 +369,15 @@ | |||
342 | >; | 369 | >; |
343 | }; | 370 | }; |
344 | 371 | ||
372 | pinctrl_uart3: uart3grp { | ||
373 | fsl,pins = < | ||
374 | MX7D_PAD_UART3_TX_DATA__UART3_DCE_TX 0x79 | ||
375 | MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x79 | ||
376 | MX7D_PAD_UART3_CTS_B__UART3_DCE_CTS 0x79 | ||
377 | MX7D_PAD_UART3_RTS_B__UART3_DCE_RTS 0x79 | ||
378 | >; | ||
379 | }; | ||
380 | |||
345 | pinctrl_usdhc1: usdhc1grp { | 381 | pinctrl_usdhc1: usdhc1grp { |
346 | fsl,pins = < | 382 | fsl,pins = < |
347 | MX7D_PAD_SD1_CMD__SD1_CMD 0x59 | 383 | MX7D_PAD_SD1_CMD__SD1_CMD 0x59 |