diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2022-02-16 22:24:32 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-02-24 05:13:02 +0100 |
commit | e8880a10f970d86d1b3fdd8bc36400e0e01ba4a9 (patch) | |
tree | 847cb02f4d25e146e675d16ec691fc6ef217f6ce /arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | |
parent | ARM: dts: qcom: apq8026-lg-lenok: Add Wifi (diff) | |
download | linux-e8880a10f970d86d1b3fdd8bc36400e0e01ba4a9.tar.xz linux-e8880a10f970d86d1b3fdd8bc36400e0e01ba4a9.zip |
ARM: dts: qcom: apq8026-lg-lenok: Add Bluetooth
The device contains BCM43430A0 for bluetooth. Add a node for it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220216212433.1373903-6-luca@z3ntu.xyz
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts index 333fae435913..42467f705b26 100644 --- a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts +++ b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts @@ -16,6 +16,7 @@ aliases { serial0 = &blsp1_uart3; + serial1 = &blsp1_uart4; }; chosen { @@ -80,6 +81,26 @@ status = "okay"; }; +&blsp1_uart4 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&blsp1_uart4_default_state>; + + bluetooth { + compatible = "brcm,bcm43430a0-bt"; + + max-speed = <3000000>; + + pinctrl-names = "default"; + pinctrl-0 = <&bluetooth_default_state>; + + host-wakeup-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>; + }; +}; + &rpm_requests { pm8226-regulators { compatible = "qcom,rpm-pm8226-regulators"; @@ -254,6 +275,21 @@ }; &tlmm { + blsp1_uart4_default_state: blsp1-uart4-default-state { + pins = "gpio12", "gpio13", "gpio14", "gpio15"; + function = "blsp_uart4"; + drive-strength = <8>; + bias-disable; + }; + + bluetooth_default_state: bluetooth-default-state { + pins = "gpio47", "gpio48"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + input-enable; + }; + touch_pins: touch { irq { pins = "gpio17"; |