Skip to content

Commit b7bc69b

Browse files
kaecheleandersson
authored andcommitted
arm64: dts: qcom: msm8953: Add uart_5
Add the node and pinctrl for uart_5 found on the MSM8953 SoC. Signed-off-by: Felix Kaechele <[email protected]> [luca: Prepare patch for upstream submission] Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 5e170ce commit b7bc69b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,20 @@
768768
bias-disable;
769769
};
770770

771+
uart_5_default: uart-5-default-state {
772+
pins = "gpio16", "gpio17", "gpio18", "gpio19";
773+
function = "blsp_uart5";
774+
drive-strength = <16>;
775+
bias-disable;
776+
};
777+
778+
uart_5_sleep: uart-5-sleep-state {
779+
pins = "gpio16", "gpio17", "gpio18", "gpio19";
780+
function = "gpio";
781+
drive-strength = <2>;
782+
bias-disable;
783+
};
784+
771785
wcnss_pin_a: wcnss-active-state {
772786

773787
wcss-wlan2-pins {
@@ -1593,6 +1607,24 @@
15931607
qcom,controlled-remotely;
15941608
};
15951609

1610+
uart_5: serial@7aef000 {
1611+
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
1612+
reg = <0x07aef000 0x200>;
1613+
interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
1614+
clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>,
1615+
<&gcc GCC_BLSP2_AHB_CLK>;
1616+
clock-names = "core",
1617+
"iface";
1618+
dmas = <&blsp2_dma 0>, <&blsp2_dma 1>;
1619+
dma-names = "tx", "rx";
1620+
1621+
pinctrl-0 = <&uart_5_default>;
1622+
pinctrl-1 = <&uart_5_sleep>;
1623+
pinctrl-names = "default", "sleep";
1624+
1625+
status = "disabled";
1626+
};
1627+
15961628
i2c_5: i2c@7af5000 {
15971629
compatible = "qcom,i2c-qup-v2.2.1";
15981630
reg = <0x07af5000 0x600>;

0 commit comments

Comments
 (0)