arm64: dts: imx8mp-venice-gw74xx-imx219.dtso: fix dt warning
authorTim Harvey <tharvey@gateworks.com>
Tue, 5 Mar 2024 20:20:45 +0000 (12:20 -0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 30 Mar 2024 13:28:11 +0000 (21:28 +0800)
Fix the following warning from a 'make dtbs W=1':
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso:65.10-70.5:
Warning (unit_address_vs_reg): /fragment@3/__overlay__/ports/port@0:
node has a unit name, but no reg or ranges property

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso

index 270a9114da97f80cd942cbbc5b85c87759dfe9b5..edf22ff549a476e441c8764356d4c4267a2a39c1 100644 (file)
        status = "okay";
 
        ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                port@0 {
+                       reg = <0>;
+
                        mipi_csi_0_in: endpoint {
                                remote-endpoint = <&imx219_to_mipi_csi2>;
                                data-lanes = <1 2>;
                        };
                };
+
+               port@1 {
+                       reg = <1>;
+
+                       mipi_csi_0_out: endpoint {
+                               remote-endpoint = <&isi_in_0>;
+                       };
+               };
        };
 };