[PATCH v1 1/2] arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers

From: Martin Kepplinger
Date: Fri Jan 21 2022 - 04:34:46 EST


The port numbers for the imx8mq mipi csi controller are wrong and
the mipi driver can't find any media devices as port@1 is connected
to the CSI bridge, not port@0. And port@0 is connected to the
source - the sensor. Fix this.

Fixes: bcadd5f66c2a ("arm64: dts: imx8mq: add mipi csi phy and csi bridge descriptions")
Signed-off-by: Martin Kepplinger <martin.kepplinger@xxxxxxx>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 2df2510d0118..bb68c94c2fc9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -1151,8 +1151,8 @@ ports {
#address-cells = <1>;
#size-cells = <0>;

- port@0 {
- reg = <0>;
+ port@1 {
+ reg = <1>;

csi1_mipi_ep: endpoint {
remote-endpoint = <&csi1_ep>;
@@ -1203,8 +1203,8 @@ ports {
#address-cells = <1>;
#size-cells = <0>;

- port@0 {
- reg = <0>;
+ port@1 {
+ reg = <1>;

csi2_mipi_ep: endpoint {
remote-endpoint = <&csi2_ep>;
--
2.30.2