1 Atmel Image Sensor Interface (ISI) !! 1 Atmel Image Sensor Interface (ISI) SoC Camera Subsystem 2 ---------------------------------- !! 2 ---------------------------------------------- 3 3 4 Required properties for ISI: !! 4 Required properties: 5 - compatible: must be "atmel,at91sam9g45-isi" !! 5 - compatible: must be "atmel,at91sam9g45-isi" 6 - reg: physical base address and length of the !! 6 - reg: physical base address and length of the registers set for the device; 7 - interrupts: should contain IRQ line for the !! 7 - interrupts: should contain IRQ line for the ISI; 8 - clocks: list of clock specifiers, correspond !! 8 - clocks: list of clock specifiers, corresponding to entries in 9 property; please refer to clock-bindin !! 9 the clock-names property; 10 - clock-names: required elements: "isi_clk". !! 10 - clock-names: must contain "isi_clk", which is the isi peripherial clock. 11 - pinctrl-names, pinctrl-0: please refer to pi << 12 11 13 ISI supports a single port node with parallel !! 12 ISI supports a single port node with parallel bus. It should contain one 14 'port' child node with child 'endpoint' node. 13 'port' child node with child 'endpoint' node. Please refer to the bindings 15 defined in Documentation/devicetree/bindings/m 14 defined in Documentation/devicetree/bindings/media/video-interfaces.txt. 16 15 17 Endpoint node properties << 18 ------------------------ << 19 << 20 - bus-width: <8> or <10> (mandatory) << 21 - hsync-active (default: active high) << 22 - vsync-active (default: active high) << 23 - pclk-sample (default: sample on falling edge << 24 - remote-endpoint: A phandle to the bus receiv << 25 << 26 Example: 16 Example: >> 17 isi: isi@f0034000 { >> 18 compatible = "atmel,at91sam9g45-isi"; >> 19 reg = <0xf0034000 0x4000>; >> 20 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>; 27 21 28 isi: isi@f0034000 { !! 22 clocks = <&isi_clk>; 29 compatible = "atmel,at91sam9g45-isi"; !! 23 clock-names = "isi_clk"; 30 reg = <0xf0034000 0x4000>; << 31 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5 << 32 pinctrl-names = "default"; << 33 pinctrl-0 = <&pinctrl_isi_data_0_7>; << 34 clocks = <&isi_clk>; << 35 clock-names = "isi_clk"; << 36 port { << 37 isi_0: endpoint { << 38 remote-endpoint = <&ov << 39 bus-width = <8>; << 40 vsync-active = <1>; << 41 hsync-active = <1>; << 42 }; << 43 }; << 44 }; << 45 24 46 i2c1: i2c@f0018000 { << 47 ov2640: camera@30 { << 48 compatible = "ovti,ov2640"; << 49 reg = <0x30>; << 50 pinctrl-names = "default"; 25 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_pck0_as_ !! 26 pinctrl-0 = <&pinctrl_isi>; 52 resetb-gpios = <&pioE 11 GPIO_ << 53 pwdn-gpios = <&pioE 13 GPIO_AC << 54 clocks = <&pck0>; << 55 clock-names = "xvclk"; << 56 assigned-clocks = <&pck0>; << 57 assigned-clock-rates = <250000 << 58 27 59 port { 28 port { 60 ov2640_0: endpoint { !! 29 #address-cells = <1>; 61 remote-endpoin !! 30 #size-cells = <0>; >> 31 >> 32 isi_0: endpoint { >> 33 remote-endpoint = <&ov2640_0>; 62 bus-width = <8 34 bus-width = <8>; 63 }; 35 }; 64 }; 36 }; 65 }; 37 }; 66 }; !! 38 >> 39 i2c1: i2c@f0018000 { >> 40 ov2640: camera@0x30 { >> 41 compatible = "ovti,ov2640"; >> 42 reg = <0x30>; >> 43 >> 44 port { >> 45 ov2640_0: endpoint { >> 46 remote-endpoint = <&isi_0>; >> 47 bus-width = <8>; >> 48 }; >> 49 }; >> 50 }; >> 51 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.