xref: /freebsd/sys/contrib/device-tree/Bindings/media/i2c/mt9p031.txt (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1* Aptina 1/2.5-Inch 5Mp CMOS Digital Image Sensor
2
3The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with
4an active array size of 2592H x 1944V. It is programmable through a simple
5two-wire serial interface.
6
7Required Properties:
8- compatible: value should be either one among the following
9	(a) "aptina,mt9p031" for mt9p031 sensor
10	(b) "aptina,mt9p031m" for mt9p031m sensor
11
12- input-clock-frequency: Input clock frequency.
13
14- pixel-clock-frequency: Pixel clock frequency.
15
16Optional Properties:
17- reset-gpios: Chip reset GPIO
18
19For further reading on port node refer to
20Documentation/devicetree/bindings/media/video-interfaces.txt.
21
22Example:
23
24	i2c0@1c22000 {
25		...
26		...
27		mt9p031@5d {
28			compatible = "aptina,mt9p031";
29			reg = <0x5d>;
30			reset-gpios = <&gpio3 30 0>;
31
32			port {
33				mt9p031_1: endpoint {
34					input-clock-frequency = <6000000>;
35					pixel-clock-frequency = <96000000>;
36				};
37			};
38		};
39		...
40	};
41