Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: Enable Bluetooth support for Artik5 board

Add a node for the BCM4354 Bluetooth chip on the serial bus #0 on
the Exynos3250-based Artik5 boards.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Marek Szyprowski and committed by
Krzysztof Kozlowski
3fb7fa49 d644853f

+41
+41
arch/arm/boot/dts/exynos3250-artik5.dtsi
··· 352 352 }; 353 353 354 354 &pinctrl_1 { 355 + bten: bten { 356 + samsung,pins ="gpx1-7"; 357 + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 358 + samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 359 + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; 360 + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>; 361 + }; 362 + 355 363 wlanen: wlanen { 356 364 samsung,pins = "gpx2-3"; 357 365 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; ··· 372 364 samsung,pins = "gpx3-5"; 373 365 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 374 366 }; 367 + 368 + bthostwake: bthostwake { 369 + samsung,pins = "gpx3-6"; 370 + samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 371 + samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 372 + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>; 373 + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 374 + }; 375 + 376 + btwake: btwake { 377 + samsung,pins = "gpx3-7"; 378 + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 379 + samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 380 + samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>; 381 + samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_DOWN>; 382 + }; 375 383 }; 376 384 377 385 &rtc { 378 386 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; 379 387 clock-names = "rtc", "rtc_src"; 380 388 status = "okay"; 389 + }; 390 + 391 + &serial_0 { 392 + assigned-clocks = <&cmu CLK_SCLK_UART0>; 393 + assigned-clock-rates = <100000000>; 394 + status = "okay"; 395 + 396 + bluetooth { 397 + compatible = "brcm,bcm4330-bt"; 398 + pinctrl-names = "default"; 399 + pinctrl-0 = <&bten &btwake &bthostwake>; 400 + max-speed = <3000000>; 401 + shutdown-gpios = <&gpx1 7 GPIO_ACTIVE_HIGH>; 402 + device-wakeup-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; 403 + host-wakeup-gpios = <&gpx3 6 GPIO_ACTIVE_HIGH>; 404 + clocks = <&s2mps14_osc S2MPS11_CLK_BT>; 405 + }; 381 406 }; 382 407 383 408 &tmu {