Commit 2b96407b authored by Viken Dadhaniya's avatar Viken Dadhaniya Committed by Bjorn Andersson

arm64: dts: qcom: sc7280: Remove CTS/RTS configuration

For IDP variant, GPIO 20/21 is used by camera use case and camera
driver is not able acquire these GPIOs as it is acquired by UART5
driver as RTS/CTS pin.

UART5 is designed for debug UART for all the board variants of the
sc7280 chipset and RTS/CTS configuration is not required for debug
uart usecase.

Remove CTS/RTS configuration for UART5 instance and change compatible
string to debug UART.

Remove overwriting compatible property from individual target specific
file as it is not required.

Fixes: 38cd93f4 ("arm64: dts: qcom: sc7280: Update QUPv3 UART5 DT node")
Signed-off-by: default avatarViken Dadhaniya <quic_vdadhani@quicinc.com>
Link: https://lore.kernel.org/r/20240424075853.11445-1-quic_vdadhani@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent fbc7a70b
...@@ -864,7 +864,6 @@ sw_ctrl_default: sw-ctrl-default-state { ...@@ -864,7 +864,6 @@ sw_ctrl_default: sw-ctrl-default-state {
}; };
&uart5 { &uart5 {
compatible = "qcom,geni-debug-uart";
status = "okay"; status = "okay";
}; };
......
...@@ -658,7 +658,6 @@ &tlmm { ...@@ -658,7 +658,6 @@ &tlmm {
}; };
&uart5 { &uart5 {
compatible = "qcom,geni-debug-uart";
status = "okay"; status = "okay";
}; };
......
...@@ -648,7 +648,6 @@ &tlmm { ...@@ -648,7 +648,6 @@ &tlmm {
}; };
&uart5 { &uart5 {
compatible = "qcom,geni-debug-uart";
status = "okay"; status = "okay";
}; };
......
...@@ -495,7 +495,6 @@ wcd_tx: codec@0,3 { ...@@ -495,7 +495,6 @@ wcd_tx: codec@0,3 {
}; };
&uart5 { &uart5 {
compatible = "qcom,geni-debug-uart";
status = "okay"; status = "okay";
}; };
......
...@@ -427,7 +427,6 @@ wcd_tx: codec@0,3 { ...@@ -427,7 +427,6 @@ wcd_tx: codec@0,3 {
}; };
uart_dbg: &uart5 { uart_dbg: &uart5 {
compatible = "qcom,geni-debug-uart";
status = "okay"; status = "okay";
}; };
......
...@@ -1440,12 +1440,12 @@ spi5: spi@994000 { ...@@ -1440,12 +1440,12 @@ spi5: spi@994000 {
}; };
uart5: serial@994000 { uart5: serial@994000 {
compatible = "qcom,geni-uart"; compatible = "qcom,geni-debug-uart";
reg = <0 0x00994000 0 0x4000>; reg = <0 0x00994000 0 0x4000>;
clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
clock-names = "se"; clock-names = "se";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&qup_uart5_cts>, <&qup_uart5_rts>, <&qup_uart5_tx>, <&qup_uart5_rx>; pinctrl-0 = <&qup_uart5_tx>, <&qup_uart5_rx>;
interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&rpmhpd SC7280_CX>; power-domains = <&rpmhpd SC7280_CX>;
operating-points-v2 = <&qup_opp_table>; operating-points-v2 = <&qup_opp_table>;
...@@ -5407,16 +5407,6 @@ qup_uart4_rx: qup-uart4-rx-state { ...@@ -5407,16 +5407,6 @@ qup_uart4_rx: qup-uart4-rx-state {
function = "qup04"; function = "qup04";
}; };
qup_uart5_cts: qup-uart5-cts-state {
pins = "gpio20";
function = "qup05";
};
qup_uart5_rts: qup-uart5-rts-state {
pins = "gpio21";
function = "qup05";
};
qup_uart5_tx: qup-uart5-tx-state { qup_uart5_tx: qup-uart5-tx-state {
pins = "gpio22"; pins = "gpio22";
function = "qup05"; function = "qup05";
......
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