Skip to content

Commit 08a1ea3

Browse files
Bartosz Golaszewskiandersson
authored andcommitted
arm64: dts: qcom: sm6115: add debug UART pins
We should not rely on the bootloader to set up the pinmux of the debug UART port. Let's add pin definitions for uart4 to tlmm and bind them to the relevant device node. Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 56cf5ad commit 08a1ea3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/arm64/boot/dts/qcom/sm6115.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,13 @@
721721
bias-pull-up;
722722
};
723723

724+
qup_uart4_default: qup-uart4-default-state {
725+
pins = "gpio12", "gpio13";
726+
function = "qup4";
727+
drive-strength = <2>;
728+
bias-disable;
729+
};
730+
724731
sdc1_state_on: sdc1-on-state {
725732
clk-pins {
726733
pins = "sdc1_clk";
@@ -1565,6 +1572,8 @@
15651572
reg = <0x0 0x04a90000 0x0 0x4000>;
15661573
clock-names = "se";
15671574
clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1575+
pinctrl-names = "default";
1576+
pinctrl-0 = <&qup_uart4_default>;
15681577
interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
15691578
interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
15701579
&clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,

0 commit comments

Comments
 (0)