ARM: dts: imx51: add capture-subsystem device
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 13 Mar 2020 10:57:39 +0000 (11:57 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 01:41:15 +0000 (09:41 +0800)
Add IPU CSI ports and capture-subsystem device so the capture subsystem
part of the IPUv3EX can be used with the staging imx-media driver.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51.dtsi

index 6f608d9..92fbb90 100644 (file)
                #phy-cells = <0>;
        };
 
+       capture-subsystem {
+               compatible = "fsl,imx-capture-subsystem";
+               ports = <&ipu_csi0>, <&ipu_csi1>;
+       };
+
        display-subsystem {
                compatible = "fsl,imx-display-subsystem";
                ports = <&ipu_di0>, <&ipu_di1>;
                        clock-names = "bus", "di0", "di1";
                        resets = <&src 2>;
 
+                       ipu_csi0: port@0 {
+                               reg = <0>;
+                       };
+
+                       ipu_csi1: port@1 {
+                               reg = <1>;
+                       };
+
                        ipu_di0: port@2 {
                                reg = <2>;