diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-03-04 23:08:23 -0800 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2019-03-27 23:34:08 -0500 |
commit | 60f77ae7d1c1ffbc5af34c5b1a7f3f7ecc52637c (patch) | |
tree | f1268649e62fec29f289b6076d903a202bd7be78 /arch/arm64/boot/dts | |
parent | 8faea8edbb35c09d1c3b23d7e8f1459cea40ab6b (diff) | |
download | linux-stable-60f77ae7d1c1ffbc5af34c5b1a7f3f7ecc52637c.tar.gz linux-stable-60f77ae7d1c1ffbc5af34c5b1a7f3f7ecc52637c.tar.bz2 linux-stable-60f77ae7d1c1ffbc5af34c5b1a7f3f7ecc52637c.zip |
arm64: dts: qcom: qcs404-evb: Enable uart3 and add Bluetooth
Enable blsp1_uart3, define its pinconf and add the bluetooth node.
It seems provisioning is lacking a valid BD address, preventing the
interface from initializing, so provide a dummy for now.
Tested-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 62c47ca31c9d..2c3127167e3c 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -7,6 +7,7 @@ / { aliases { serial0 = &blsp1_uart2; + serial1 = &blsp1_uart3; }; chosen { @@ -19,6 +20,32 @@ regulator-always-on; regulator-boot-on; }; + + vdd_ch0_3p3: + vdd_esmps3_3p3: vdd-esmps3-3p3-regulator { + compatible = "regulator-fixed"; + regulator-name = "eSMPS3_3P3"; + + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; +}; + +&blsp1_uart3 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn3990-bt"; + vddio-supply = <&vreg_l6_1p8>; + vddxo-supply = <&vreg_l5_1p8>; + vddrf-supply = <&vreg_l1_1p3>; + vddch0-supply = <&vdd_ch0_3p3>; + + local-bd-address = [ 02 00 00 00 5a ad ]; + + max-speed = <3200000>; + }; }; &blsp1_dma { @@ -225,3 +252,21 @@ bias-disable; }; }; + +&blsp1_uart3_default { + cts { + pins = "gpio84"; + bias-disable; + }; + + rts-tx { + pins = "gpio85", "gpio82"; + drive-strength = <2>; + bias-disable; + }; + + rx { + pins = "gpio83"; + bias-pull-up; + }; +}; |