diff options
author | Sandor Yu <R01008@freescale.com> | 2014-11-20 16:28:07 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 09:20:08 -0500 |
commit | 4fa5e519572408a73f81ec2600d347a366885944 (patch) | |
tree | 84ddbc08c08c6b687914addb8f608fd1e70e52a4 /arch/arm/boot/dts/imx6sl-evk.dts | |
parent | 2b0a2c278d1ab9cd93850a52c3dde556689eacb8 (diff) |
MLK-9779-04 dts: imx6sl: Add ov5640 camera to evk dts
- Add imx6sx-19x19-arm2-csi.dtb file
- Remove int-device v4l2 capture setting
- Add ov5640 camera endport setting
- Enable csi item.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sl-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sl-evk.dts | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index 5018eeec243f..6a94aef1f06f 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -90,11 +90,6 @@ default-brightness-level = <6>; }; - csi_v4l2_cap { - compatible = "fsl,imx6sl-csi-v4l2"; - status = "disabled"; - }; - pxp_v4l2_out { compatible = "fsl,imx6sl-pxp-v4l2"; status = "okay"; @@ -148,7 +143,11 @@ }; &csi { - status = "disabled"; + port { + csi_ep: endpoint { + remote-endpoint = <&ov564x_ep>; + }; + }; }; &cpu0 { @@ -403,6 +402,27 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3>; status = "disabled"; + + ov564x: ov564x@3c { + compatible = "ovti,ov564x"; + reg = <0x3c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_csi_0>; + clocks = <&clks IMX6SL_CLK_CSI>; + clock-names = "csi_mclk"; + AVDD-supply = <&vgen6_reg>; /* 2.8v */ + DVDD-supply = <&vgen2_reg>; /* 1.5v*/ + pwn-gpios = <&gpio1 25 1>; + rst-gpios = <&gpio1 26 0>; + csi_id = <0>; + mclk = <24000000>; + mclk_source = <0>; + port { + ov564x_ep: endpoint { + remote-endpoint = <&csi_ep>; + }; + }; + }; }; &iomuxc { |