ARM: dts: dra76-evm: remove ov5640
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Fri, 23 Apr 2021 08:37:12 +0000 (11:37 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 21 May 2021 09:35:03 +0000 (12:35 +0300)
DRA76 EVM boards are not shipped with OV5640 sensor module, it is a
separate purchase. OV5640 module is also just one of the possible
sensors or capture boards you can connect.

However, for some reason, OV5640 has been added to the board dts file,
making it cumbersome to use other sensors.

Remove the OV5640 from the dts file so that it is easy to use other
sensors via DT overlays.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra76-evm.dts

index 9bd01ae..4508f7f 100644 (file)
                regulator-max-microvolt = <1800000>;
        };
 
-       clk_ov5640_fixed: clock {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <24000000>;
-       };
-
        hdmi0: connector {
                compatible = "hdmi-connector";
                label = "hdmi";
        };
 };
 
-&i2c5 {
-       status = "okay";
-       clock-frequency = <400000>;
-
-       ov5640@3c {
-               compatible = "ovti,ov5640";
-               reg = <0x3c>;
-
-               clocks = <&clk_ov5640_fixed>;
-               clock-names = "xclk";
-
-               port {
-                       csi2_cam0: endpoint {
-                               remote-endpoint = <&csi2_phy0>;
-                               clock-lanes = <0>;
-                               data-lanes = <1 2>;
-                       };
-               };
-       };
-};
-
 &cpu0 {
        vdd-supply = <&buck10_reg>;
 };
        };
 };
 
-&csi2_0 {
-       csi2_phy0: endpoint {
-               remote-endpoint = <&csi2_cam0>;
-               clock-lanes = <0>;
-               data-lanes = <1 2>;
-       };
-};
-
 &ipu2 {
        status = "okay";
        memory-region = <&ipu2_cma_pool>;