Commit 414dc3d3 authored by Benoit Parrot's avatar Benoit Parrot Committed by Tony Lindgren

arm: dts: dra72-evm-common: Add entries for the CSI2 cameras

Add device nodes for CSI2 camera board OV5640.
Add the CAL port nodes with the necessary linkage to the ov5640 nodes.
Signed-off-by: default avatarBenoit Parrot <bparrot@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 86a7e226
...@@ -187,6 +187,12 @@ vmmcwl_fixed: fixedregulator-mmcwl { ...@@ -187,6 +187,12 @@ vmmcwl_fixed: fixedregulator-mmcwl {
gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>; gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
clk_ov5640_fixed: clock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
}; };
&dra7_pmx_core { &dra7_pmx_core {
...@@ -269,6 +275,23 @@ p1 { ...@@ -269,6 +275,23 @@ p1 {
line-name = "vin6_sel_s0"; line-name = "vin6_sel_s0";
}; };
}; };
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>;
};
};
};
}; };
&uart1 { &uart1 {
...@@ -580,3 +603,11 @@ mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { ...@@ -580,3 +603,11 @@ mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
&pcie1_rc { &pcie1_rc {
status = "okay"; status = "okay";
}; };
&csi2_0 {
csi2_phy0: endpoint {
remote-endpoint = <&csi2_cam0>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
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