summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
diff options
context:
space:
mode:
authorCaleb Connolly <caleb@connolly.tech>2022-10-16 18:29:41 +0100
committerBjorn Andersson <andersson@kernel.org>2022-10-17 22:01:46 -0500
commit691dfbf54214c9c42444f357fc3a8103a10ad738 (patch)
treec83bd3a359a15c5a8bd49c03ebc7dfa95c78ab2e /arch/arm64/boot/dts/qcom/sdm845-db845c.dts
parent0cde1210f7b9f6f17f3af450bde598c0ad9d54cc (diff)
downloadlwn-691dfbf54214c9c42444f357fc3a8103a10ad738.tar.gz
lwn-691dfbf54214c9c42444f357fc3a8103a10ad738.zip
arm64: dts: qcom: sdm845: commonize bluetooth UART pinmux
The 4-pin configuration for UART6 is used for all or almost all SDM845 devices with built in Bluetooth. Move the pinmux configuration to sdm845.dtsi in preparation to be removed from individual devices in future patches. Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Caleb Connolly <caleb@connolly.tech> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221016172944.1892206-2-kc@postmarketos.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sdm845-db845c.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-db845c.dts25
1 files changed, 2 insertions, 23 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
index 72d26ceb4baf..741968ef6f31 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
@@ -986,6 +986,8 @@
&uart6 {
status = "okay";
+ pinctrl-0 = <&qup_uart6_4pin>;
+
bluetooth {
compatible = "qcom,wcn3990-bt";
@@ -1144,29 +1146,6 @@
};
};
-&qup_uart6_default {
- pinmux {
- pins = "gpio45", "gpio46", "gpio47", "gpio48";
- function = "qup6";
- };
-
- cts {
- pins = "gpio45";
- bias-disable;
- };
-
- rts-tx {
- pins = "gpio46", "gpio47";
- drive-strength = <2>;
- bias-disable;
- };
-
- rx {
- pins = "gpio48";
- bias-pull-up;
- };
-};
-
&qup_uart9_default {
pinconf-tx {
pins = "gpio4";