]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: qcom: msm8998: Add blsp1_uart3
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Thu, 17 Oct 2019 22:18:41 +0000 (15:18 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 18 Oct 2019 16:58:52 +0000 (09:58 -0700)
The blsp1_uart3 peripheral appears to be commonly used for interfacing with
other SoCs on a platform, such as a wcn3990 to provide bluetooth.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8998-pins.dtsi
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 6db70acd38eeb0cd6b22e360db953e43fc579571..e32d3ab395ea8d0b582ea6b09635e41ef7140fd8 100644 (file)
@@ -75,4 +75,17 @@ config {
                        drive-strength = <2>;   /* 2 mA */
                };
        };
+
+       blsp1_uart3_on: blsp1_uart3_on {
+               mux {
+                       pins = "gpio45", "gpio46", "gpio47", "gpio48";
+                       function = "blsp_uart3_a";
+               };
+
+               config {
+                       pins = "gpio45", "gpio46", "gpio47", "gpio48";
+                       drive-strength = <2>;
+                       bias-disable;
+               };
+       };
 };
index 5a524116cab4dabf33c6788e149466093cebb896..f999fdc30086fff6bc4028129ddfd6fc500cab2d 100644 (file)
@@ -1569,6 +1569,20 @@ blsp1_dma: dma@c144000 {
                        qcom,num-ees = <4>;
                };
 
+               blsp1_uart3: serial@c171000 {
+                       compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
+                       reg = <0x0c171000 0x1000>;
+                       interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
+                                <&gcc GCC_BLSP1_AHB_CLK>;
+                       clock-names = "core", "iface";
+                       dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
+                       dma-names = "tx", "rx";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&blsp1_uart3_on>;
+                       status = "disabled";
+               };
+
                blsp1_i2c1: i2c@c175000 {
                        compatible = "qcom,i2c-qup-v2.2.1";
                        reg = <0x0c175000 0x600>;