xref: /freebsd/sys/contrib/device-tree/Bindings/media/ti-am437x-vpfe.txt (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
1Texas Instruments AM437x CAMERA (VPFE)
2--------------------------------------
3
4The Video Processing Front End (VPFE) is a key component for image capture
5applications. The capture module provides the system interface and the
6processing capability to connect RAW image-sensor modules and video decoders
7to the AM437x device.
8
9Required properties:
10- compatible: must be "ti,am437x-vpfe"
11- reg: physical base address and length of the registers set for the device;
12- interrupts: should contain IRQ line for the VPFE;
13- ti,am437x-vpfe-interface: can be one of the following,
14	0 - Raw Bayer Interface.
15	1 - 8 Bit BT656 Interface.
16	2 - 10 Bit BT656 Interface.
17	3 - YCbCr 8 Bit Interface.
18	4 - YCbCr 16 Bit Interface.
19
20VPFE supports a single port node with parallel bus. It should contain one
21'port' child node with child 'endpoint' node. Please refer to the bindings
22defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
23
24Example:
25	vpfe: vpfe@f0034000 {
26		compatible = "ti,am437x-vpfe";
27		reg = <0x48328000 0x2000>;
28		interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
29
30		pinctrl-names = "default", "sleep";
31		pinctrl-0 = <&vpfe_pins_default>;
32		pinctrl-1 = <&vpfe_pins_sleep>;
33
34		port {
35			#address-cells = <1>;
36			#size-cells = <0>;
37
38			vpfe0_ep: endpoint {
39				remote-endpoint = <&ov2659_1>;
40				ti,am437x-vpfe-interface = <0>;
41				bus-width = <8>;
42				hsync-active = <0>;
43				vsync-active = <0>;
44			};
45		};
46	};
47
48	i2c1: i2c@4802a000 {
49
50		ov2659@30 {
51			compatible = "ti,ov2659";
52			reg = <0x30>;
53
54			port {
55				ov2659_1: endpoint {
56					remote-endpoint = <&vpfe0_ep>;
57					bus-width = <8>;
58					mclk-frequency = <12000000>;
59				};
60			};
61	};
62