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 Trats board

Add a node for the BCM4334 Bluetooth chip on the serial bus #0 on
the Exynos4210-based Trats boards.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20201027142330.5121-1-m.szyprowski@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Marek Szyprowski and committed by
Krzysztof Kozlowski
132e900a a23beead

+31
+31
arch/arm/boot/dts/exynos4210-trats.dts
··· 462 462 }; 463 463 }; 464 464 465 + &pinctrl_1 { 466 + bt_shutdown: bt-shutdown { 467 + samsung,pins = "gpl1-0"; 468 + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 469 + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 470 + }; 471 + 472 + bt_host_wakeup: bt-host-wakeup { 473 + samsung,pins = "gpx2-6"; 474 + samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 475 + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 476 + }; 477 + 478 + bt_device_wakeup: bt-device-wakeup { 479 + samsung,pins = "gpx3-1"; 480 + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 481 + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 482 + }; 483 + }; 484 + 465 485 &rtc { 466 486 status = "okay"; 467 487 clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; ··· 532 512 533 513 &serial_0 { 534 514 status = "okay"; 515 + pinctrl-0 = <&uart0_data &uart0_fctl>; 516 + pinctrl-names = "default"; 517 + 518 + bluetooth { 519 + compatible = "brcm,bcm4330-bt"; 520 + pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>; 521 + pinctrl-names = "default"; 522 + shutdown-gpios = <&gpl1 0 GPIO_ACTIVE_HIGH>; 523 + device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; 524 + host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; 525 + }; 535 526 }; 536 527 537 528 &serial_1 {