arm64: dts: qcom: sdm630: add UART pin functions
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 11 Oct 2022 19:02:28 +0000 (15:02 -0400)
committerBjorn Andersson <andersson@kernel.org>
Tue, 18 Oct 2022 03:01:46 +0000 (22:01 -0500)
Configure UART1 and UART2 pins to respective functions in default state,
otherwise the pins might stay as GPIOs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221011190231.76784-1-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sdm630.dtsi

index a6de40f06baca8643d0f1e34b31ea6171a8ee8b7..ef48eb12a38440ad59f72a06691b0a8ce8394792 100644 (file)
 
                        blsp1_uart1_default: blsp1-uart1-default {
                                pins = "gpio0", "gpio1", "gpio2", "gpio3";
+                               function = "blsp_uart1";
                                drive-strength = <2>;
                                bias-disable;
                        };
 
                        blsp1_uart2_default: blsp1-uart2-default {
                                pins = "gpio4", "gpio5";
+                               function = "blsp_uart2";
                                drive-strength = <2>;
                                bias-disable;
                        };