xref: /linux/Documentation/devicetree/bindings/media/atmel-isi.txt (revision 8ff19bc437f8d42d8a03dafe2bb28c5b3fc1bff1)
1*8ff19bc4SJosh WuAtmel Image Sensor Interface (ISI) SoC Camera Subsystem
2*8ff19bc4SJosh Wu----------------------------------------------
3*8ff19bc4SJosh Wu
4*8ff19bc4SJosh WuRequired properties:
5*8ff19bc4SJosh Wu- compatible: must be "atmel,at91sam9g45-isi"
6*8ff19bc4SJosh Wu- reg: physical base address and length of the registers set for the device;
7*8ff19bc4SJosh Wu- interrupts: should contain IRQ line for the ISI;
8*8ff19bc4SJosh Wu- clocks: list of clock specifiers, corresponding to entries in
9*8ff19bc4SJosh Wu          the clock-names property;
10*8ff19bc4SJosh Wu- clock-names: must contain "isi_clk", which is the isi peripherial clock.
11*8ff19bc4SJosh Wu
12*8ff19bc4SJosh WuISI supports a single port node with parallel bus. It should contain one
13*8ff19bc4SJosh Wu'port' child node with child 'endpoint' node. Please refer to the bindings
14*8ff19bc4SJosh Wudefined in Documentation/devicetree/bindings/media/video-interfaces.txt.
15*8ff19bc4SJosh Wu
16*8ff19bc4SJosh WuExample:
17*8ff19bc4SJosh Wu	isi: isi@f0034000 {
18*8ff19bc4SJosh Wu		compatible = "atmel,at91sam9g45-isi";
19*8ff19bc4SJosh Wu		reg = <0xf0034000 0x4000>;
20*8ff19bc4SJosh Wu		interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>;
21*8ff19bc4SJosh Wu
22*8ff19bc4SJosh Wu		clocks = <&isi_clk>;
23*8ff19bc4SJosh Wu		clock-names = "isi_clk";
24*8ff19bc4SJosh Wu
25*8ff19bc4SJosh Wu		pinctrl-names = "default";
26*8ff19bc4SJosh Wu		pinctrl-0 = <&pinctrl_isi>;
27*8ff19bc4SJosh Wu
28*8ff19bc4SJosh Wu		port {
29*8ff19bc4SJosh Wu			#address-cells = <1>;
30*8ff19bc4SJosh Wu			#size-cells = <0>;
31*8ff19bc4SJosh Wu
32*8ff19bc4SJosh Wu			isi_0: endpoint {
33*8ff19bc4SJosh Wu				remote-endpoint = <&ov2640_0>;
34*8ff19bc4SJosh Wu				bus-width = <8>;
35*8ff19bc4SJosh Wu			};
36*8ff19bc4SJosh Wu		};
37*8ff19bc4SJosh Wu	};
38*8ff19bc4SJosh Wu
39*8ff19bc4SJosh Wu	i2c1: i2c@f0018000 {
40*8ff19bc4SJosh Wu		ov2640: camera@0x30 {
41*8ff19bc4SJosh Wu			compatible = "omnivision,ov2640";
42*8ff19bc4SJosh Wu			reg = <0x30>;
43*8ff19bc4SJosh Wu
44*8ff19bc4SJosh Wu			port {
45*8ff19bc4SJosh Wu				ov2640_0: endpoint {
46*8ff19bc4SJosh Wu					remote-endpoint = <&isi_0>;
47*8ff19bc4SJosh Wu					bus-width = <8>;
48*8ff19bc4SJosh Wu				};
49*8ff19bc4SJosh Wu			};
50*8ff19bc4SJosh Wu		};
51*8ff19bc4SJosh Wu	};
52