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