Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux...
[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      gc2035{
56             is_front = <0>;
57             rockchip,power = <&gpio2 GPIO_B2 GPIO_ACTIVE_HIGH>;
58             rockchip,powerdown = <&gpio3 GPIO_B3 GPIO_ACTIVE_HIGH>;
59             pwdn_active = <gc2035_PWRDN_ACTIVE>;
60             pwr_active = <PWR_ACTIVE_HIGH>;
61             mir = <0>;
62             flash_attach = <0>;
63             resolution = <gc2035_FULL_RESOLUTION>;
64             powerup_sequence = <gc2035_PWRSEQ>;
65             orientation = <180>;
66             i2c_add = <gc2035_I2C_ADDR>;
67             i2c_rata = <100000>;
68             i2c_chl = <2>;
69             cif_chl = <0>;
70             mclk_rate = <24>;
71         };
72      gc0308{
73                         is_front = <1>;
74                         rockchip,power = <&gpio2 GPIO_B2 GPIO_ACTIVE_HIGH>;
75                         rockchip,powerdown = <&gpio3 GPIO_D7 GPIO_ACTIVE_HIGH>;
76                         pwdn_active = <gc0308_PWRDN_ACTIVE>;
77                         pwr_active = <PWR_ACTIVE_HIGH>;
78                         mir = <0>;
79                         flash_attach = <0>;
80                         resolution = <gc0308_FULL_RESOLUTION>;
81                         powerup_sequence = <gc0308_PWRSEQ>;
82                         orientation = <180>;
83                         i2c_add = <gc0308_I2C_ADDR>;
84                         i2c_rata = <100000>;
85                         i2c_chl = <2>;
86                         cif_chl = <0>;
87                         mclk_rate = <24>;
88                 };
89
90         };
91 };
92