Merge tag 'lsk-v3.10-android-15.01'
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3128-cif-sensor.dtsi
1 #include "../../mach-rockchip/rk_camera_sensor_info.h"
2 /{
3         rk3128_cif_sensor: rk3128_cif_sensor{
4                         compatible = "rockchip,sensor";
5                         status = "disabled";
6                         CONFIG_SENSOR_POWER_IOCTL_USR           = <1>;
7                         CONFIG_SENSOR_RESET_IOCTL_USR           = <0>;
8                         CONFIG_SENSOR_POWERDOWN_IOCTL_USR       = <0>;
9                         CONFIG_SENSOR_FLASH_IOCTL_USR           = <0>;
10                         CONFIG_SENSOR_AF_IOCTL_USR                      = <0>;
11
12                 ov2659{
13                         is_front = <1>; 
14                         rockchip,powerdown = <&gpio3 GPIO_D7 GPIO_ACTIVE_HIGH>;
15                         pwdn_active = <ov2659_PWRDN_ACTIVE>;
16                         #rockchip,power = <>;
17                         pwr_active = <PWR_ACTIVE_HIGH>;
18                         #rockchip,reset = <>;
19                         #rst_active = <>;
20                         #rockchip,flash = <>;
21                         #rockchip,af = <>;
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 = <0>;
30                         cif_chl = <0>;
31                         mclk_rate = <24>;
32                 };
33                 gc0329{
34                         is_front = <1>; 
35                         rockchip,powerdown = <&gpio3 GPIO_D7 GPIO_ACTIVE_HIGH>;
36                         pwdn_active = <gc0329_PWRDN_ACTIVE>;
37                         #rockchip,power = <>;
38                         pwr_active = <PWR_ACTIVE_HIGH>;
39                         #rockchip,reset = <>;
40                         #rst_active = <>;
41                         #rockchip,flash = <>;
42                         #rockchip,af = <>;
43                         mir = <0>;
44                         flash_attach = <0>;
45                         resolution = <gc0329_FULL_RESOLUTION>;
46                         powerup_sequence = <gc0329_PWRSEQ>;     
47                         orientation = <0>;
48                         i2c_add = <gc0329_I2C_ADDR>;
49                         i2c_rata = <100000>;
50                         i2c_chl = <0>;
51                         cif_chl = <0>;
52                         mclk_rate = <24>;
53                 };
54         };
55 };
56