]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: x1e80100: Add uart14
authorStephan Gerhold <stephan.gerhold@linaro.org>
Mon, 7 Oct 2024 18:22:26 +0000 (20:22 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Dec 2024 21:23:37 +0000 (15:23 -0600)
Add the uart14 instance for X1E80100 (typically used for Bluetooth).

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241007-x1e80100-pwrseq-qcp-v1-2-f7166510ab17@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi

index ba2938f438bf230a47000a4042cbceee0cf2b45f..1dc1ec0e39d84c6a5f659c3d0a32991890a3f89a 100644 (file)
                                status = "disabled";
                        };
 
+                       uart14: serial@a98000 {
+                               compatible = "qcom,geni-uart";
+                               reg = <0 0x00a98000 0 0x4000>;
+
+                               interrupts = <GIC_SPI 806 IRQ_TYPE_LEVEL_HIGH>;
+
+                               clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
+                               clock-names = "se";
+
+                               interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS
+                                                &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>,
+                                               <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
+                                                &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>;
+                               interconnect-names = "qup-core",
+                                                    "qup-config";
+
+                               power-domains = <&rpmhpd RPMHPD_CX>;
+                               operating-points-v2 = <&qup_opp_table_100mhz>;
+
+                               pinctrl-0 = <&qup_uart14_default>;
+                               pinctrl-names = "default";
+
+                               status = "disabled";
+                       };
+
                        i2c15: i2c@a9c000 {
                                compatible = "qcom,geni-i2c";
                                reg = <0 0x00a9c000 0 0x4000>;
                                };
                        };
 
+                       qup_uart14_default: qup-uart14-default-state {
+                               cts-pins {
+                                       pins = "gpio56";
+                                       function = "qup1_se6";
+                                       bias-bus-hold;
+                               };
+
+                               rts-pins {
+                                       pins = "gpio57";
+                                       function = "qup1_se6";
+                                       drive-strength = <2>;
+                                       bias-disable;
+                               };
+
+                               tx-pins {
+                                       pins = "gpio58";
+                                       function = "qup1_se6";
+                                       drive-strength = <2>;
+                                       bias-disable;
+                               };
+
+                               rx-pins {
+                                       pins = "gpio59";
+                                       function = "qup1_se6";
+                                       bias-pull-up;
+                               };
+                       };
+
                        qup_uart21_default: qup-uart21-default-state {
                                tx-pins {
                                        pins = "gpio86";