]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: qcom: msm8960: add gsbi8 and its serial configuration
authorAntony Kurniawan Soemardi <linux@smankusors.com>
Sun, 22 Jun 2025 18:26:41 +0000 (18:26 +0000)
committerBjorn Andersson <andersson@kernel.org>
Mon, 11 Aug 2025 16:46:27 +0000 (11:46 -0500)
The LTE variant of the MSM8960 SoC has a gsbi8 node used for the
serial console.

That's if the downstream kernel is to be believed, as Xperia SP has
a serial console on gsbi8 even on the non-LTE variant.

Signed-off-by: Antony Kurniawan Soemardi <linux@smankusors.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250623-msm8960-sdcard-v2-2-340a5e8f7df0@smankusors.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8960.dtsi

index 203f0b69b353aedff812f5fc54e6f495fab68682..cf0b1da230f130aff46aee79a6bb870edf3378d6 100644 (file)
                        };
                };
 
+               gsbi8: gsbi@1a000000  {
+                       compatible = "qcom,gsbi-v1.0.0";
+                       cell-index = <8>;
+                       reg = <0x1a000000 0x100>;
+                       clocks = <&gcc GSBI8_H_CLK>;
+                       clock-names = "iface";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges;
+
+                       syscon-tcsr = <&tcsr>;
+
+                       status = "disabled";
+
+                       gsbi8_serial: serial@1a040000 {
+                               compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+                               reg = <0x1a040000 0x1000>,
+                                     <0x1a000000 0x1000>;
+                               interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gcc GSBI8_UART_CLK>,
+                                        <&gcc GSBI8_H_CLK>;
+                               clock-names = "core",
+                                             "iface";
+
+                               status = "disabled";
+                       };
+               };
+
                ssbi: ssbi@500000 {
                        compatible = "qcom,ssbi";
                        reg = <0x500000 0x1000>;