Commit 3992516a authored by Jagan Teki's avatar Jagan Teki Committed by Shawn Guo

ARM: dts: imx6q-icore-mipi: Add OV5640 Camera sensor

OV5640 Camera sensor is connected in i.CoreM6 1.5 Quad/Dual MIPI
starter kit.

This patch also move MX6QDL_PAD_GPIO_0__CCM_CLKO1 pinctrl
from i2c3 to ov5640 pinctrl.
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent a8039f2d
......@@ -20,6 +20,14 @@ &hdmi {
status = "okay";
};
&mipi_csi {
status = "okay";
};
&ov5640 {
status = "okay";
};
&usdhc3 {
status = "okay";
};
......@@ -215,6 +215,29 @@ &i2c3 {
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";
ov5640: camera@3c {
compatible = "ovti,ov5640";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5640>;
reg = <0x3c>;
clocks = <&clks IMX6QDL_CLK_CKO>;
clock-names = "xclk";
DOVDD-supply = <&reg_1p8v>;
AVDD-supply = <&reg_3p3v>;
DVDD-supply = <&reg_3p3v>;
powerdown-gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio5 31 GPIO_ACTIVE_LOW>;
status = "disabled";
port {
ov5640_to_mipi_csi2: endpoint {
remote-endpoint = <&mipi_csi2_in>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
sgtl5000: codec@a {
#sound-dai-cells = <0>;
compatible = "fsl,sgtl5000";
......@@ -226,6 +249,20 @@ sgtl5000: codec@a {
};
};
&mipi_csi {
status = "disabled";
port@0 {
reg = <0>;
mipi_csi2_in: endpoint {
remote-endpoint = <&ov5640_to_mipi_csi2>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
&pwm3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm3>;
......@@ -353,7 +390,14 @@ pinctrl_i2c3: i2c3grp {
fsl,pins = <
MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
>;
};
pinctrl_ov5640: ov5640grp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT12__GPIO5_IO30 0x1b0b0
MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1b0b0
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
>;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment