xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/gc2053.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* galaxycore,gc2053 MIPI sensor
2
3Required Properties:
4- compatible: should be "galaxycore,gc2053"
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: Low active power-down gpio
12
13Attention:
14GC2053 device address 0x37(7bit)
15
16Example:
17&i2c1 {
18	status = "okay";
19	gc2053: gc2053@37 {
20		compatible = "galaxycore,gc2053";
21		reg = <0x37>;
22		clocks = <&cru CLK_MIPICSI_OUT>;
23		clock-names = "xvclk";
24		power-domains = <&power RV1126_PD_VI>;
25		pinctrl-names = "rockchip,camera_default";
26		pinctrl-0 = <&mipicsi_clk0>;
27		power-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
28		pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_LOW>;
29		reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
30		avdd-supply = <&vcc_avdd>;
31		dovdd-supply = <&vcc_dovdd>;
32		dvdd-supply = <&vcc_dvdd>;
33		rockchip,camera-module-index = <0>;
34		rockchip,camera-module-facing = "front";
35		rockchip,camera-module-name = "YT-RV1109-2-V1";
36		rockchip,camera-module-lens-name = "40IR-2MP-F20";
37		port {
38			ucam_out0: endpoint {
39				remote-endpoint = <&mipi_in_ucam0>;
40				data-lanes = <1 2>;
41			};
42		};
43	};
44};
45