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
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:23:16 +0800
commit015e3594d605066a0fca632e57379230fc3c896d (patch)
treeec7a8685d2f4741509e328703295eff5b17e1e93 /arch/arm/boot/dts/imx7d-sdb.dts
parenta4d07deac6dcce3e945efde9e45c4c613043c053 (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 3c51dbfaf6fc..9262bdad994f 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -246,6 +246,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";
};
@@ -299,6 +310,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";
@@ -438,6 +466,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 = <&extended_io 7 GPIO_ACTIVE_HIGH>;
+ mclk = <24000000>;
+ mclk_source = <0>;
+ port {
+ ov5647_mipi_ep: endpoint {
+ remote-endpoint = <&mipi_sensor_ep>;
+ };
+ };
+ };
};
&lcdif {