summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7d-sdb.dts
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2015-09-21 17:34:34 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:01:36 -0600
commitc15d2cd300e1ef5e5be369f7308090112fbfc367 (patch)
treeaf31cecc032c32a29ea76c77105e090712c92508 /arch/arm/boot/dts/imx7d-sdb.dts
parent9bd019f58541793e9e291bd464eb5e9b673f41de (diff)
MLK-11508-5: dts: Add imx v4l2 capture driver
Add imx v4l2 capture driver. Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-sdb.dts')
-rw-r--r--arch/arm/boot/dts/imx7d-sdb.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index aeebef50ce8e..61401eed1034 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -130,6 +130,17 @@
assigned-clock-rates = <884736000>;
};
+&csi1 {
+ csi-mux-mipi = <&gpr 0x14 4>;
+ status = "okay";
+
+ port {
+ csi_ep: endpoint {
+ remote-endpoint = <&csi_mipi_ep>;
+ };
+ };
+};
+
&epxp {
status = "okay";
};
@@ -176,6 +187,23 @@
status = "okay";
};
+&mipi_csi {
+ clock-frequency = <240000000>;
+ status = "okay";
+ port {
+ mipi_sensor_ep: endpoint1 {
+ remote-endpoint = <&ov5647_mipi_ep>;
+ data-lanes = <2>;
+ csis-hs-settle = <13>;
+ csis-wclk;
+ };
+
+ csi_mipi_ep: endpoint2 {
+ remote-endpoint = <&csi_ep>;
+ };
+ };
+};
+
&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
@@ -316,6 +344,22 @@
clock-names = "mclk";
wlf,shared-lrclk;
};
+
+ ov5647_mipi: ov5647_mipi@36 {
+ compatible = "ovti,ov5647_mipi";
+ reg = <0x36>;
+ clocks = <&clks IMX7D_CLK_DUMMY>;
+ clock-names = "csi_mclk";
+ csi_id = <0>;
+ pwn-gpios = <&gpio_spi 7 GPIO_ACTIVE_HIGH>;
+ mclk = <24000000>;
+ mclk_source = <0>;
+ port {
+ ov5647_mipi_ep: endpoint {
+ remote-endpoint = <&mipi_sensor_ep>;
+ };
+ };
+ };
};
&gpmi {