Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3126-cif-sensor.dtsi
1 #include "rk312x.dtsi" 
2 #include "rk312x-pinctrl.dtsi"
3 #include "../../mach-rockchip/rk_camera_sensor_info.h"
4 /{
5         rk3126_cif_sensor: rk3126_cif_sensor{
6                         compatible = "rockchip,sensor";
7                         status = "disabled";
8                         CONFIG_SENSOR_POWER_IOCTL_USR           = <1>;
9                         CONFIG_SENSOR_RESET_IOCTL_USR           = <0>;
10                         CONFIG_SENSOR_POWERDOWN_IOCTL_USR       = <0>;
11                         CONFIG_SENSOR_FLASH_IOCTL_USR           = <0>;
12                         CONFIG_SENSOR_AF_IOCTL_USR                      = <0>;
13
14                 ov2659{
15                         is_front = <1>; 
16                         rockchip,powerdown = <&gpio3 GPIO_B3 GPIO_ACTIVE_HIGH>;
17                         pwdn_active = <ov2659_PWRDN_ACTIVE>;
18                         #rockchip,power = <>;
19                         #pwr_active = <>;
20                         #rockchip,reset = <>;
21                         #rst_active = <>;
22                         mir = <0>;
23                         flash_attach = <0>;
24                         resolution = <ov2659_FULL_RESOLUTION>;
25                         powerup_sequence = <ov2659_PWRSEQ>;             
26                         orientation = <0>;
27                         i2c_add = <ov2659_I2C_ADDR>;
28                         i2c_rata = <100000>;
29                         i2c_chl = <1>;
30                         cif_chl = <0>;
31                         mclk_rate = <24>;
32                 };
33                 gc0329{
34                         is_front = <1>; 
35                         rockchip,powerdown = <&gpio3 GPIO_B3 GPIO_ACTIVE_HIGH>;
36                         pwdn_active = <gc0329_PWRDN_ACTIVE>;
37                         #rockchip,power = <>;
38                         #pwr_active = <>;
39                         #rockchip,reset = <>;
40                         #rst_active = <>;
41                         mir = <0>;
42                         flash_attach = <0>;
43                         resolution = <gc0329_FULL_RESOLUTION>;
44                         powerup_sequence = <gc0329_PWRSEQ>;     
45                         orientation = <0>;
46                         i2c_add = <gc0329_I2C_ADDR>;
47                         i2c_rata = <100000>;
48                         i2c_chl = <1>;
49                         cif_chl = <0>;
50                         mclk_rate = <24>;
51                 };
52         };
53 };
54