Commit b905c34a authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

ARM: dts: qcom-msm8974*: Fix UART naming

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: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220415115633.575010-4-konrad.dybcio@somainline.org
parent eba5e620
...@@ -12,7 +12,7 @@ / { ...@@ -12,7 +12,7 @@ / {
aliases { aliases {
serial0 = &blsp1_uart1; serial0 = &blsp1_uart1;
serial1 = &blsp2_uart10; serial1 = &blsp2_uart4;
}; };
chosen { chosen {
...@@ -395,7 +395,7 @@ shutdown { ...@@ -395,7 +395,7 @@ shutdown {
}; };
}; };
blsp2_uart10_pin_a: blsp2-uart10-pin-active { blsp2_uart4_pin_a: blsp2-uart4-pin-active {
tx { tx {
pins = "gpio53"; pins = "gpio53";
function = "blsp_uart10"; function = "blsp_uart10";
...@@ -473,7 +473,7 @@ serial@f9960000 { ...@@ -473,7 +473,7 @@ serial@f9960000 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&blsp2_uart10_pin_a>; pinctrl-0 = <&blsp2_uart4_pin_a>;
bluetooth { bluetooth {
compatible = "brcm,bcm43438-bt"; compatible = "brcm,bcm43438-bt";
......
...@@ -358,13 +358,13 @@ serial@f991e000 { ...@@ -358,13 +358,13 @@ serial@f991e000 {
status = "okay"; status = "okay";
}; };
/* blsp2_uart8 */ /* blsp2_uart2 */
serial@f995e000 { serial@f995e000 {
status = "okay"; status = "okay";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_uart8_pins_active>; pinctrl-0 = <&blsp2_uart2_pins_active>;
pinctrl-1 = <&blsp2_uart8_pins_sleep>; pinctrl-1 = <&blsp2_uart2_pins_sleep>;
bluetooth { bluetooth {
compatible = "brcm,bcm43540-bt"; compatible = "brcm,bcm43540-bt";
...@@ -380,14 +380,14 @@ bluetooth { ...@@ -380,14 +380,14 @@ bluetooth {
}; };
pinctrl@fd510000 { pinctrl@fd510000 {
blsp2_uart8_pins_active: blsp2-uart8-pins-active { blsp2_uart2_pins_active: blsp2-uart2-pins-active {
pins = "gpio45", "gpio46", "gpio47", "gpio48"; pins = "gpio45", "gpio46", "gpio47", "gpio48";
function = "blsp_uart8"; function = "blsp_uart8";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
blsp2_uart8_pins_sleep: blsp2-uart8-pins-sleep { blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep {
pins = "gpio45", "gpio46", "gpio47", "gpio48"; pins = "gpio45", "gpio46", "gpio47", "gpio48";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
......
...@@ -11,7 +11,7 @@ / { ...@@ -11,7 +11,7 @@ / {
aliases { aliases {
serial0 = &blsp1_uart2; serial0 = &blsp1_uart2;
serial1 = &blsp2_uart7; serial1 = &blsp2_uart1;
}; };
chosen { chosen {
......
...@@ -713,7 +713,7 @@ blsp1_uart2: serial@f991e000 { ...@@ -713,7 +713,7 @@ blsp1_uart2: serial@f991e000 {
status = "disabled"; status = "disabled";
}; };
blsp2_uart7: serial@f995d000 { blsp2_uart1: serial@f995d000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0xf995d000 0x1000>; reg = <0xf995d000 0x1000>;
interrupts = <GIC_SPI 113 IRQ_TYPE_NONE>; interrupts = <GIC_SPI 113 IRQ_TYPE_NONE>;
...@@ -722,7 +722,7 @@ blsp2_uart7: serial@f995d000 { ...@@ -722,7 +722,7 @@ blsp2_uart7: serial@f995d000 {
status = "disabled"; status = "disabled";
}; };
blsp2_uart8: serial@f995e000 { blsp2_uart2: serial@f995e000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0xf995e000 0x1000>; reg = <0xf995e000 0x1000>;
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
...@@ -731,7 +731,7 @@ blsp2_uart8: serial@f995e000 { ...@@ -731,7 +731,7 @@ blsp2_uart8: serial@f995e000 {
status = "disabled"; status = "disabled";
}; };
blsp2_uart10: serial@f9960000 { blsp2_uart4: serial@f9960000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0xf9960000 0x1000>; reg = <0xf9960000 0x1000>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment