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