xref: /freebsd/sys/contrib/device-tree/Bindings/media/pxa-camera.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Marvell PXA camera host interface
2
3Required properties:
4 - compatible: Should be "marvell,pxa270-qci"
5 - reg: register base and size
6 - interrupts: the interrupt number
7 - any required generic properties defined in video-interfaces.txt
8
9Optional properties:
10 - clocks: input clock (see clock-bindings.txt)
11 - clock-output-names: should contain the name of the clock driving the
12                       sensor master clock MCLK
13 - clock-frequency: host interface is driving MCLK, and MCLK rate is this rate
14
15Example:
16
17	pxa_camera: pxa_camera@50000000 {
18		compatible = "marvell,pxa270-qci";
19		reg = <0x50000000 0x1000>;
20		interrupts = <33>;
21
22		clocks = <&pxa2xx_clks 24>;
23		clock-names = "ciclk";
24		clock-frequency = <50000000>;
25		clock-output-names = "qci_mclk";
26
27
28		port {
29			#address-cells = <1>;
30			#size-cells = <0>;
31
32			/* Parallel bus endpoint */
33			qci: endpoint@0 {
34				reg = <0>;		/* Local endpoint # */
35				remote-endpoint = <&mt9m111_1>;
36				bus-width = <8>;	/* Used data lines */
37				hsync-active = <0>;	/* Active low */
38				vsync-active = <0>;	/* Active low */
39				pclk-sample = <1>;	/* Rising */
40			};
41		};
42	};
43