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

arm64: dts: qcom: msm8996-*: Clean up QUP and UART names

QUP and UART names start from 1. There are 6 QUPs and 2 UARTs
per BLSP. Let's not further confuse programmers by stating
otherwise.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210228130831.203765-2-konrad.dybcio@somainline.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 35a4a8b6
...@@ -41,14 +41,14 @@ ...@@ -41,14 +41,14 @@
/ { / {
aliases { aliases {
serial0 = &blsp2_uart1; serial0 = &blsp2_uart2;
serial1 = &blsp2_uart2; serial1 = &blsp2_uart3;
serial2 = &blsp1_uart1; serial2 = &blsp1_uart2;
i2c0 = &blsp1_i2c2; i2c0 = &blsp1_i2c3;
i2c1 = &blsp2_i2c1; i2c1 = &blsp2_i2c1;
i2c2 = &blsp2_i2c0; i2c2 = &blsp2_i2c1;
spi0 = &blsp1_spi0; spi0 = &blsp1_spi1;
spi1 = &blsp2_spi5; spi1 = &blsp2_spi6;
}; };
chosen { chosen {
...@@ -133,24 +133,24 @@ wlan_en: wlan-en-1-8v { ...@@ -133,24 +133,24 @@ wlan_en: wlan-en-1-8v {
}; };
}; };
&blsp1_i2c2 { &blsp1_i2c3 {
/* On Low speed expansion */ /* On Low speed expansion */
label = "LS-I2C0"; label = "LS-I2C0";
status = "okay"; status = "okay";
}; };
&blsp1_spi0 { &blsp1_spi1 {
/* On Low speed expansion */ /* On Low speed expansion */
label = "LS-SPI0"; label = "LS-SPI0";
status = "okay"; status = "okay";
}; };
&blsp1_uart1 { &blsp1_uart2 {
label = "BT-UART"; label = "BT-UART";
status = "okay"; status = "okay";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp1_uart1_default>; pinctrl-0 = <&blsp1_uart2_default>;
pinctrl-1 = <&blsp1_uart1_sleep>; pinctrl-1 = <&blsp1_uart2_sleep>;
bluetooth { bluetooth {
compatible = "qcom,qca6174-bt"; compatible = "qcom,qca6174-bt";
...@@ -166,7 +166,7 @@ &adsp_pil { ...@@ -166,7 +166,7 @@ &adsp_pil {
status = "okay"; status = "okay";
}; };
&blsp2_i2c0 { &blsp2_i2c1 {
/* On High speed expansion */ /* On High speed expansion */
label = "HS-I2C2"; label = "HS-I2C2";
status = "okay"; status = "okay";
...@@ -178,13 +178,13 @@ &blsp2_i2c1 { ...@@ -178,13 +178,13 @@ &blsp2_i2c1 {
status = "okay"; status = "okay";
}; };
&blsp2_spi5 { &blsp2_spi6 {
/* On High speed expansion */ /* On High speed expansion */
label = "HS-SPI1"; label = "HS-SPI1";
status = "okay"; status = "okay";
}; };
&blsp2_uart1 { &blsp2_uart2 {
label = "LS-UART1"; label = "LS-UART1";
status = "okay"; status = "okay";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
...@@ -192,7 +192,7 @@ &blsp2_uart1 { ...@@ -192,7 +192,7 @@ &blsp2_uart1 {
pinctrl-1 = <&blsp2_uart2_2pins_sleep>; pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
}; };
&blsp2_uart2 { &blsp2_uart3 {
label = "LS-UART0"; label = "LS-UART0";
status = "disabled"; status = "disabled";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
...@@ -428,7 +428,7 @@ config { ...@@ -428,7 +428,7 @@ config {
}; };
}; };
blsp1_uart1_default: blsp1_uart1_default { blsp1_uart2_default: blsp1_uart2_default {
mux { mux {
pins = "gpio41", "gpio42", "gpio43", "gpio44"; pins = "gpio41", "gpio42", "gpio43", "gpio44";
function = "blsp_uart2"; function = "blsp_uart2";
...@@ -441,7 +441,7 @@ config { ...@@ -441,7 +441,7 @@ config {
}; };
}; };
blsp1_uart1_sleep: blsp1_uart1_sleep { blsp1_uart2_sleep: blsp1_uart2_sleep {
mux { mux {
pins = "gpio41", "gpio42", "gpio43", "gpio44"; pins = "gpio41", "gpio42", "gpio43", "gpio44";
function = "gpio"; function = "gpio";
......
...@@ -17,7 +17,7 @@ / { ...@@ -17,7 +17,7 @@ / {
qcom,board-id = <0x00010018 0>; qcom,board-id = <0x00010018 0>;
aliases { aliases {
serial0 = &blsp2_uart1; serial0 = &blsp2_uart2;
}; };
chosen { chosen {
...@@ -81,7 +81,7 @@ vph_pwr: vph-pwr-regulator { ...@@ -81,7 +81,7 @@ vph_pwr: vph-pwr-regulator {
}; };
}; };
&blsp2_uart1 { &blsp2_uart2 {
status = "okay"; status = "okay";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_uart2_2pins_default>; pinctrl-0 = <&blsp2_uart2_2pins_default>;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
/ { / {
aliases { aliases {
serial0 = &blsp2_uart1; serial0 = &blsp2_uart2;
}; };
chosen { chosen {
......
...@@ -2326,7 +2326,7 @@ sdhc2: sdhci@74a4900 { ...@@ -2326,7 +2326,7 @@ sdhc2: sdhci@74a4900 {
bus-width = <4>; bus-width = <4>;
}; };
blsp1_uart1: serial@7570000 { blsp1_uart2: serial@7570000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0x07570000 0x1000>; reg = <0x07570000 0x1000>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2336,7 +2336,7 @@ blsp1_uart1: serial@7570000 { ...@@ -2336,7 +2336,7 @@ blsp1_uart1: serial@7570000 {
status = "disabled"; status = "disabled";
}; };
blsp1_spi0: spi@7575000 { blsp1_spi1: spi@7575000 {
compatible = "qcom,spi-qup-v2.2.1"; compatible = "qcom,spi-qup-v2.2.1";
reg = <0x07575000 0x600>; reg = <0x07575000 0x600>;
interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2351,7 +2351,7 @@ blsp1_spi0: spi@7575000 { ...@@ -2351,7 +2351,7 @@ blsp1_spi0: spi@7575000 {
status = "disabled"; status = "disabled";
}; };
blsp1_i2c2: i2c@7577000 { blsp1_i2c3: i2c@7577000 {
compatible = "qcom,i2c-qup-v2.2.1"; compatible = "qcom,i2c-qup-v2.2.1";
reg = <0x07577000 0x1000>; reg = <0x07577000 0x1000>;
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2366,7 +2366,7 @@ blsp1_i2c2: i2c@7577000 { ...@@ -2366,7 +2366,7 @@ blsp1_i2c2: i2c@7577000 {
status = "disabled"; status = "disabled";
}; };
blsp2_uart1: serial@75b0000 { blsp2_uart2: serial@75b0000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0x075b0000 0x1000>; reg = <0x075b0000 0x1000>;
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2376,7 +2376,7 @@ blsp2_uart1: serial@75b0000 { ...@@ -2376,7 +2376,7 @@ blsp2_uart1: serial@75b0000 {
status = "disabled"; status = "disabled";
}; };
blsp2_uart2: serial@75b1000 { blsp2_uart3: serial@75b1000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0x075b1000 0x1000>; reg = <0x075b1000 0x1000>;
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2386,7 +2386,7 @@ blsp2_uart2: serial@75b1000 { ...@@ -2386,7 +2386,7 @@ blsp2_uart2: serial@75b1000 {
status = "disabled"; status = "disabled";
}; };
blsp2_i2c0: i2c@75b5000 { blsp2_i2c1: i2c@75b5000 {
compatible = "qcom,i2c-qup-v2.2.1"; compatible = "qcom,i2c-qup-v2.2.1";
reg = <0x075b5000 0x1000>; reg = <0x075b5000 0x1000>;
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2401,7 +2401,7 @@ blsp2_i2c0: i2c@75b5000 { ...@@ -2401,7 +2401,7 @@ blsp2_i2c0: i2c@75b5000 {
status = "disabled"; status = "disabled";
}; };
blsp2_i2c1: i2c@75b6000 { blsp2_i2c2: i2c@75b6000 {
compatible = "qcom,i2c-qup-v2.2.1"; compatible = "qcom,i2c-qup-v2.2.1";
reg = <0x075b6000 0x1000>; reg = <0x075b6000 0x1000>;
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
...@@ -2416,7 +2416,7 @@ blsp2_i2c1: i2c@75b6000 { ...@@ -2416,7 +2416,7 @@ blsp2_i2c1: i2c@75b6000 {
status = "disabled"; status = "disabled";
}; };
blsp2_spi5: spi@75ba000{ blsp2_spi6: spi@75ba000{
compatible = "qcom,spi-qup-v2.2.1"; compatible = "qcom,spi-qup-v2.2.1";
reg = <0x075ba000 0x600>; reg = <0x075ba000 0x600>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 106 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