1* Omnivision 1/4-Inch 5Mp CMOS Digital Image Sensor
2
3The Omnivision OV5645 is a 1/4-Inch CMOS active pixel digital image sensor with
4an active array size of 2592H x 1944V. It is programmable through a serial I2C
5interface.
6
7Required Properties:
8- compatible: Value should be "ovti,ov5645".
9- clocks: Reference to the xclk clock.
10- clock-names: Should be "xclk".
11- clock-frequency: Frequency of the xclk clock.
12- enable-gpios: Chip enable GPIO. Polarity is GPIO_ACTIVE_HIGH. This corresponds
13  to the hardware pin PWDNB which is physically active low.
14- reset-gpios: Chip reset GPIO. Polarity is GPIO_ACTIVE_LOW. This corresponds to
15  the hardware pin RESETB.
16- vdddo-supply: Chip digital IO regulator.
17- vdda-supply: Chip analog regulator.
18- vddd-supply: Chip digital core regulator.
19
20The device node must contain one 'port' child node for its digital output
21video port, in accordance with the video interface bindings defined in
22Documentation/devicetree/bindings/media/video-interfaces.txt.
23
24Example:
25
26	&i2c1 {
27		...
28
29		ov5645: ov5645@3c {
30			compatible = "ovti,ov5645";
31			reg = <0x3c>;
32
33			enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
34			reset-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
35			pinctrl-names = "default";
36			pinctrl-0 = <&camera_rear_default>;
37
38			clocks = <&clks 200>;
39			clock-names = "xclk";
40			clock-frequency = <24000000>;
41
42			vdddo-supply = <&camera_dovdd_1v8>;
43			vdda-supply = <&camera_avdd_2v8>;
44			vddd-supply = <&camera_dvdd_1v2>;
45
46			port {
47				ov5645_ep: endpoint {
48					clock-lanes = <1>;
49					data-lanes = <0 2>;
50					remote-endpoint = <&csi0_ep>;
51				};
52			};
53		};
54	};
55