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 / rk3288-cif-sensor.dtsi
1 #include "rk3288.dtsi" 
2 #include "rk3288-pinctrl.dtsi"
3 #include "../../mach-rockchip/rk_camera_sensor_info.h"
4 /{
5         rk3288_cif_sensor: rk3288_cif_sensor{
6                         compatible = "rockchip,sensor";
7                         status = "disabled";
8                         
9          gc0329{
10                 is_front = <0>;
11                 rockchip,power = <&gpio0 GPIO_C1 GPIO_ACTIVE_HIGH>;
12                 //rockchip,power_pmu_name1 = "rk818_ldo4";
13                 //rockchip,power_pmu_voltage1 = <2800000>;
14                 //rockchip,power_pmu_name2 = "rk818_ldo8";
15                 //rockchip,power_pmu_voltage2 = <1800000>;
16                 rockchip,powerdown = <&gpio2 GPIO_B4 GPIO_ACTIVE_HIGH>;
17                 //rockchip,powerdown_pmu = "";
18                 //rockchip,powerdown_pmu_voltage = <3000000>;
19                 pwdn_active = <gc0329_PWRDN_ACTIVE>;
20                 pwr_active = <PWR_ACTIVE_HIGH>;
21                 mir = <0>;
22                 flash_attach = <1>;
23                 //rockchip,flash = <>;
24                 flash_active = <1>;
25                 resolution = <gc0329_FULL_RESOLUTION>;
26                 powerup_sequence = <gc0329_PWRSEQ>;
27                 orientation = <0>;              
28                 i2c_add = <gc0329_I2C_ADDR>;
29                 i2c_rata = <100000>;
30                 i2c_chl = <3>;
31                 cif_chl = <0>;
32                 mclk_rate = <24>;
33                 };
34 /*       ov8858{
35                 is_front = <0>;
36                 rockchip,power = <&gpio0 GPIO_C1 GPIO_ACTIVE_HIGH>;
37                 //rockchip,power_pmu_name1 = "rk818_ldo4";
38                 //rockchip,power_pmu_voltage1 = <2800000>;
39                 //rockchip,power_pmu_name2 = "rk818_ldo8";
40                 //rockchip,power_pmu_voltage2 = <1800000>;
41                 rockchip,powerdown = <&gpio2 GPIO_B4 GPIO_ACTIVE_HIGH>;
42                 //rockchip,powerdown_pmu = "";
43                 //rockchip,powerdown_pmu_voltage = <3000000>;
44                 pwdn_active = <ov8858_PWRDN_ACTIVE>;
45                 pwr_active = <PWR_ACTIVE_HIGH>;
46                 mir = <0>;
47                 flash_attach = <1>;
48                 //rockchip,flash = <>;
49                 flash_active = <1>;
50                 resolution = <ov8858_FULL_RESOLUTION>;
51                 powerup_sequence = <ov8858_PWRSEQ>;
52                 orientation = <0>;              
53                 i2c_add = <ov8858_I2C_ADDR>;
54                 i2c_rata = <100000>;
55                 i2c_chl = <3>;
56                 cif_chl = <0>;
57                 mclk_rate = <24>;
58                 };
59 */
60         };
61 };
62
63
64
65
66
67