new file mode 100644
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2015-2018 Texas Instruments Incorporated - http://www.ti.com/
+ */
+
+/dts-v1/;
+/plugin/;
+#include <dt-bindings/gpio/gpio.h>
+
+&i2c5 {
+ mt9t11x@3C {
+ compatible = "aptina,mt9t111";
+ bufen-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
+ camen-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
+ oscen-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
+ powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
+ reg = <0x3C>;
+ reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
+
+ port {
+ cam: endpoint {
+ hsync-active = <1>;
+ input-clock-freq = <32000000>;
+ pclk-sample = <0>;
+ pixel-clock-freq = <96000000>;
+ remote-endpoint = <&vin3a>;
+ vsync-active = <0>;
+ };
+ };
+ };
+};
+
+&vin3a {
+ status = "okay";
+
+ endpoint {
+ remote-endpoint = <&cam>;
+ slave-mode;
+ };
+};
+
+&vip2 {
+ status = "okay";
+};
new file mode 100644
@@ -0,0 +1,71 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2015-2018 Texas Instruments Incorporated - http://www.ti.com/
+ */
+
+/dts-v1/;
+/plugin/;
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+ fragment@101 {
+ target-path = "/";
+
+ __overlay__ {
+ clk_ov10635: clk_ov10635 {
+ compatible = "gpio-gate-clock";
+ #clock-cells = <0>;
+ clocks = <&clk_ov10635_fixed>;
+ enable-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
+ };
+
+ clk_ov10635_fixed: clk_ov10635_fixed {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <24000000>;
+ };
+ };
+ };
+};
+
+&i2c5 {
+ ov10635@30 {
+ compatible = "ovti,ov10635";
+ clock-names = "xvclk";
+ clocks = <&clk_ov10635>;
+ powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>;
+ reg = <0x30>;
+ reset-gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
+
+ port {
+ cam: endpoint {
+ hsync-active = <1>;
+ pclk-sample = <1>;
+ remote-endpoint = <&vin3a>;
+ vsync-active = <1>;
+ };
+ };
+ };
+};
+
+&vin3a {
+ status = "okay";
+
+ endpoint {
+ remote-endpoint = <&cam>;
+ slave-mode;
+ };
+};
+
+&vip2 {
+ status = "okay";
+};
+
+&gpio6 {
+ p11 {
+ gpio-hog;
+ gpios = <11 GPIO_ACTIVE_LOW>;
+ line-name = "cm-camen-gpio";
+ output-high;
+ };
+};