diff options
author | Robby Cai <R63905@freescale.com> | 2014-03-27 06:20:57 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:09 -0400 |
commit | d36e6365640d41b6c29f42ac944e210eb25cf0e3 (patch) | |
tree | dd9287d6c20d678316e65b2ef1fe196621328c95 /arch/arm/boot | |
parent | bf00bac888fe69d33b33a8716d8be0eca6594a9e (diff) |
ENGR00305598-2 ARM: dts: imx6sx: Add ov5640 camera support on imx6sx-19x19-arm2
Add ov5640 camera support on i.MX6SX 19x19 ARM2 board.
Add new pin group for CSI to reflect the change on this board.
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-19x19-arm2.dts | 16 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx.dtsi | 20 |
2 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts index 8a7cf57df8f3..abb4f3f11b38 100644 --- a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts +++ b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts | |||
@@ -217,6 +217,22 @@ | |||
217 | #gpio-cells = <2>; | 217 | #gpio-cells = <2>; |
218 | resets = <&max7322_reset>; | 218 | resets = <&max7322_reset>; |
219 | }; | 219 | }; |
220 | |||
221 | ov564x: ov564x@3c { | ||
222 | compatible = "ovti,ov564x"; | ||
223 | reg = <0x3c>; | ||
224 | pinctrl-names = "default"; | ||
225 | pinctrl-0 = <&pinctrl_csi_1>; | ||
226 | clocks = <&clks IMX6SX_CLK_CSI>; | ||
227 | clock-names = "csi_mclk"; | ||
228 | AVDD-supply = <&vgen3_reg>; /* 2.8v */ | ||
229 | DVDD-supply = <&vgen2_reg>; /* 1.5v*/ | ||
230 | pwn-gpios = <&gpio3 26 1>; | ||
231 | rst-gpios = <&gpio3 25 0>; | ||
232 | csi_id = <0>; | ||
233 | mclk = <24000000>; | ||
234 | mclk_source = <0>; | ||
235 | }; | ||
220 | }; | 236 | }; |
221 | 237 | ||
222 | &i2c3 { | 238 | &i2c3 { |
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 991e7478b53d..519e1ea5fa9b 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi | |||
@@ -1073,6 +1073,26 @@ | |||
1073 | MX6SX_PAD_LCD1_HSYNC__GPIO3_IO_26 0x80000000 | 1073 | MX6SX_PAD_LCD1_HSYNC__GPIO3_IO_26 0x80000000 |
1074 | >; | 1074 | >; |
1075 | }; | 1075 | }; |
1076 | |||
1077 | pinctrl_csi_1: csigrp-1 { | ||
1078 | fsl,pins = < | ||
1079 | MX6SX_PAD_CSI_MCLK__CSI1_MCLK 0x110b0 | ||
1080 | MX6SX_PAD_CSI_PIXCLK__CSI1_PIXCLK 0x110b0 | ||
1081 | MX6SX_PAD_CSI_VSYNC__CSI1_VSYNC 0x110b0 | ||
1082 | MX6SX_PAD_CSI_HSYNC__CSI1_HSYNC 0x110b0 | ||
1083 | MX6SX_PAD_CSI_DATA00__CSI1_DATA_2 0x110b0 | ||
1084 | MX6SX_PAD_CSI_DATA01__CSI1_DATA_3 0x110b0 | ||
1085 | MX6SX_PAD_CSI_DATA02__CSI1_DATA_4 0x110b0 | ||
1086 | MX6SX_PAD_CSI_DATA03__CSI1_DATA_5 0x110b0 | ||
1087 | MX6SX_PAD_CSI_DATA04__CSI1_DATA_6 0x110b0 | ||
1088 | MX6SX_PAD_CSI_DATA05__CSI1_DATA_7 0x110b0 | ||
1089 | MX6SX_PAD_CSI_DATA06__CSI1_DATA_8 0x110b0 | ||
1090 | MX6SX_PAD_CSI_DATA07__CSI1_DATA_9 0x110b0 | ||
1091 | |||
1092 | MX6SX_PAD_LCD1_ENABLE__GPIO3_IO_25 0x80000000 | ||
1093 | MX6SX_PAD_LCD1_HSYNC__GPIO3_IO_26 0x80000000 | ||
1094 | >; | ||
1095 | }; | ||
1076 | }; | 1096 | }; |
1077 | 1097 | ||
1078 | enet1 { | 1098 | enet1 { |