xref: /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/rk3326-863-cif-sensor.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1/*
2 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 */
6
7#include "../../../../../drivers/soc/rockchip/rk_camera_sensor_info.h"
8/{
9	cif_sensor: cif_sensor {
10		compatible = "rockchip,sensor";
11		status = "disabled";
12
13		gc2145_b {
14			is_front = <0>;
15			powerdown-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
16			pwdn_active = <gc2145_PWRDN_ACTIVE>;
17			pwr_active = <PWR_ACTIVE_HIGH>;
18			rockchip,power_pmu_name1 = "vcc2v8_dvp";
19			rockchip,power_pmu_voltage1 = <2800000>;
20			rockchip,power_pmu_name2 = "vcc1v8_dvp";
21			rockchip,power_pmu_voltage2 = <1800000>;
22			mir = <0>;
23			flash_attach = <0>;
24			resolution = <gc2145_FULL_RESOLUTION>;
25			powerup_sequence = <gc2145_PWRSEQ>;
26			orientation = <90>;
27			i2c_add = <gc2145_I2C_ADDR>;
28			i2c_chl = <2>;
29			cif_chl = <0>;
30			mclk_rate = <24>;
31		};
32
33		gc0312_f {
34			is_front = <1>;
35			powerdown-gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
36			pwdn_active = <gc0312_PWRDN_ACTIVE>;
37			pwr_active = <PWR_ACTIVE_HIGH>;
38			rockchip,power_pmu_name1 = "vcc2v8_dvp";
39			rockchip,power_pmu_voltage1 = <2800000>;
40			rockchip,power_pmu_name2 = "vcc1v8_dvp";
41			rockchip,power_pmu_voltage2 = <1800000>;
42			mir = <0>;
43			flash_attach = <0>;
44			resolution = <gc0312_FULL_RESOLUTION>;
45			powerup_sequence = <gc0312_PWRSEQ>;
46			orientation = <270>;
47			i2c_add = <gc0312_I2C_ADDR>;
48			i2c_chl = <2>;
49			cif_chl = <0>;
50			mclk_rate = <24>;
51		};
52	};
53};
54
55