浏览代码

arm: dts: dra76-evm: Add VIP and OV10633 dts nodes

Add the OV10633 camera and clock nodes, also describe the video
interface via endpoint properties.
Specify the board muxes to route the camera signals to video port.
Also enable vin2a port and add one endpoint linking to the camera.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Benoit Parrot 8 年之前
父节点
当前提交
9f615a7993
共有 1 个文件被更改,包括 27 次插入0 次删除
  1. 27 0
      arch/arm/boot/dts/dra76-evm.dts

+ 27 - 0
arch/arm/boot/dts/dra76-evm.dts

@@ -324,6 +324,25 @@
 	status = "okay";
 	clock-frequency = <400000>;
 
+	ov10633@37 {
+		compatible = "ovti,ov10633";
+		reg = <0x37>;
+
+		clocks = <&clk_ov10633_fixed>;
+		clock-names = "xvclk";
+
+		mux-gpios = <&pcf_hdmi 2	GPIO_ACTIVE_HIGH>, /* VIN2_S0 */
+			    <&pcf_hdmi 6	GPIO_ACTIVE_LOW>; /* VIN2_S2 */
+		port {
+			onboardLI: endpoint {
+				remote-endpoint = <&vin2a>;
+				hsync-active = <1>;
+				vsync-active = <1>;
+				pclk-sample = <0>;
+			};
+		};
+	};
+
 	gpio_csi2_adap: tca6416@20 {
 		status = "okay";
 		compatible = "ti,tca6416";
@@ -496,3 +515,11 @@
 	};
 };
 
+&vin2a {
+	status = "okay";
+	endpoint@0 {
+		slave-mode;
+		remote-endpoint = <&onboardLI>;
+	};
+};
+