summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2015-06-26 15:20:03 +0800
committerSandor Yu <R01008@freescale.com>2015-06-30 11:20:38 +0800
commit4a059652bc3a89a34201856f62d7f1c34559f5be (patch)
tree7f70cd0d7e048b8aeaa3b94866209952e43c5ece
parent15c4c82a17fc033934122f1df2936d3572b6869d (diff)
MLK-11063-4: dtb: Add ov5647 mipi csi driver to imx7d SDB
Add ov5647 mipi csi driver to imx7d sdb file. Signed-off-by: Sandor Yu <R01008@freescale.com>
-rw-r--r--arch/arm/boot/dts/imx7d-sdb.dts45
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index 81520f6a8886..e0558bbb6f0d 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -190,6 +190,18 @@
status = "okay";
};
+&csi1 {
+ csi-mux-mipi = <&gpr 0x14 4>;
+ status = "okay";
+
+ port {
+ csi_ep: endpoint {
+ remote-endpoint = <&csi_mipi_ep>;
+ };
+ };
+};
+
+
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
@@ -246,6 +258,23 @@
nand-on-flash-bbt;
};
+&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";
@@ -468,6 +497,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>;
+ };
+ };
+ };
};
&lcdif {