ARM: dts: qcom-msm8974*: Fix UART naming
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Fri, 15 Apr 2022 11:56:13 +0000 (13:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 19 Apr 2022 23:22:15 +0000 (18:22 -0500)
It's either uart10, or blsp2_uart4, not blsp2_uart10, as there aren't 10
UARTs on BLSP2. Fix the naming to align with what's done in arm64/qcom.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220415115633.575010-4-konrad.dybcio@somainline.org
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
arch/arm/boot/dts/qcom-msm8974-sony-xperia-shinano-castor.dts
arch/arm/boot/dts/qcom-msm8974.dtsi

index 5fbdba73c07fbec6767896fc512ee51974357b80..dd2d0647d4be6ebac128670a4be5360092d466fe 100644 (file)
@@ -12,7 +12,7 @@
 
        aliases {
                serial0 = &blsp1_uart1;
-               serial1 = &blsp2_uart10;
+               serial1 = &blsp2_uart4;
        };
 
        chosen {
                        };
                };
 
-               blsp2_uart10_pin_a: blsp2-uart10-pin-active {
+               blsp2_uart4_pin_a: blsp2-uart4-pin-active {
                        tx {
                                pins = "gpio53";
                                function = "blsp_uart10";
                status = "okay";
 
                pinctrl-names = "default";
-               pinctrl-0 = <&blsp2_uart10_pin_a>;
+               pinctrl-0 = <&blsp2_uart4_pin_a>;
 
                bluetooth {
                        compatible = "brcm,bcm43438-bt";
index 1f630120c01f3dfc3cf1671d8e3a2a34aa602e66..95ae30d065542401537f6d272e42728bd66e5069 100644 (file)
                status = "okay";
        };
 
-       /* blsp2_uart8 */
+       /* blsp2_uart2 */
        serial@f995e000 {
                status = "okay";
 
                pinctrl-names = "default", "sleep";
-               pinctrl-0 = <&blsp2_uart8_pins_active>;
-               pinctrl-1 = <&blsp2_uart8_pins_sleep>;
+               pinctrl-0 = <&blsp2_uart2_pins_active>;
+               pinctrl-1 = <&blsp2_uart2_pins_sleep>;
 
                bluetooth {
                        compatible = "brcm,bcm43540-bt";
        };
 
        pinctrl@fd510000 {
-               blsp2_uart8_pins_active: blsp2-uart8-pins-active {
+               blsp2_uart2_pins_active: blsp2-uart2-pins-active {
                        pins = "gpio45", "gpio46", "gpio47", "gpio48";
                        function = "blsp_uart8";
                        drive-strength = <8>;
                        bias-disable;
                };
 
-               blsp2_uart8_pins_sleep: blsp2-uart8-pins-sleep {
+               blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep {
                        pins = "gpio45", "gpio46", "gpio47", "gpio48";
                        function = "gpio";
                        drive-strength = <2>;
index 3c4a7d760ba96e70c23e1b1aff621e0ef1f48e00..e27b360951fda1276f6a9dc890ffd35fb8a36e10 100644 (file)
@@ -11,7 +11,7 @@
 
        aliases {
                serial0 = &blsp1_uart2;
-               serial1 = &blsp2_uart7;
+               serial1 = &blsp2_uart1;
        };
 
        chosen {
index 4c773b63e59a10b43b0f29a08f5b85d6780821bf..ccd2593dc8c43d52d7f35c2fe0fb2cd63539d043 100644 (file)
                        status = "disabled";
                };
 
-               blsp2_uart7: serial@f995d000 {
+               blsp2_uart1: serial@f995d000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0xf995d000 0x1000>;
                        interrupts = <GIC_SPI 113 IRQ_TYPE_NONE>;
                        status = "disabled";
                };
 
-               blsp2_uart8: serial@f995e000 {
+               blsp2_uart2: serial@f995e000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0xf995e000 0x1000>;
                        interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
 
-               blsp2_uart10: serial@f9960000 {
+               blsp2_uart4: serial@f9960000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0xf9960000 0x1000>;
                        interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;