xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/gc2093.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* galaxycore,gc2093 MIPI sensor
2
3Required Properties:
4- compatible: should be "galaxycore,gc2093"
5- clocks: reference to the 24M xvclk input clock.
6- clock-names: should be "xvclk".
7- dovdd-supply: Digital I/O voltage supply, 1.8 volts
8- avdd-supply: Analog voltage supply, 2.8 volts
9- dvdd-supply: Digital core voltage supply, 1.2 volts
10- reset-gpios: Low active reset gpio
11- pwdn-gpios: High active power-down gpio
12
13Attention:
14GC2093 device address 0x37(7bit)
15
16Example:
17&i2c1 {
18	status = "okay";
19	gc2093: gc2093@37 {
20		compatible = "galaxycore,gc2093";
21		reg = <0x37>;
22		clocks = <&cru CLK_MIPICSI_OUT>;
23		clock-names = "xvclk";
24		power-domains = <&power RV1126_PD_VI>;
25		pinctrl-names = "default";
26		pinctrl-0 = <&mipicsi_clk0>;
27		pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
28		reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
29		avdd-supply = <&vcc_avdd>;
30		dovdd-supply = <&vcc_dovdd>;
31		dvdd-supply = <&vcc_dvdd>;
32		rockchip,camera-module-index = <0>;
33		rockchip,camera-module-facing = "front";
34		rockchip,camera-module-name = "YT-RV1109-2-V1";
35		rockchip,camera-module-lens-name = "40IR-2MP-F20";
36		port {
37			ucam_out0: endpoint {
38				remote-endpoint = <&mipi_in_ucam0>;
39				data-lanes = <1 2>;
40			};
41		};
42	};
43};
44