xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/rk3126-m88-cif-sensor.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#include "../../../../drivers/soc/rockchip/rk_camera_sensor_info.h"
2/{
3	cif_sensor: cif_sensor {
4		compatible = "rockchip,sensor";
5		status = "disabled";
6
7		gc2035_b {
8			is_front = <0>;
9			powerdown-gpios = <&rk816 0 GPIO_ACTIVE_HIGH>;
10			pwdn_active = <gc2035_PWRDN_ACTIVE>;
11			pwr_active = <PWR_ACTIVE_HIGH>;
12			mir = <0>;
13			flash_attach = <0>;
14			resolution = <gc2035_FULL_RESOLUTION>;
15			powerup_sequence = <gc2035_PWRSEQ>;
16			orientation = <0>;
17			i2c_add = <gc2035_I2C_ADDR>;
18			i2c_chl = <0>;
19			cif_chl = <0>;
20			mclk_rate = <24>;
21		};
22
23		gc0312_f {
24			is_front = <1>;
25			powerdown-gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
26			pwdn_active = <gc0312_PWRDN_ACTIVE>;
27			pwr_active = <PWR_ACTIVE_HIGH>;
28			mir = <0>;
29			flash_attach = <0>;
30			resolution = <gc0312_FULL_RESOLUTION>;
31			powerup_sequence = <gc0312_PWRSEQ>;
32			orientation = <0>;
33			i2c_add = <gc0312_I2C_ADDR>;
34			i2c_rata = <200000>;
35			i2c_chl = <0>;
36			cif_chl = <0>;
37			mclk_rate = <24>;
38		};
39	};
40};
41
42