0001 Atmel Image Sensor Interface (ISI)
0002 ----------------------------------
0003
0004 Required properties for ISI:
0005 - compatible: must be "atmel,at91sam9g45-isi" or "microchip,sam9x60-isi".
0006 - reg: physical base address and length of the registers set for the device.
0007 - interrupts: should contain IRQ line for the ISI.
0008 - clocks: list of clock specifiers, corresponding to entries in the clock-names
0009 property; please refer to clock-bindings.txt.
0010 - clock-names: required elements: "isi_clk".
0011 - pinctrl-names, pinctrl-0: please refer to pinctrl-bindings.txt.
0012
0013 ISI supports a single port node with parallel bus. It shall contain one
0014 'port' child node with child 'endpoint' node. Please refer to the bindings
0015 defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
0016
0017 Endpoint node properties
0018 ------------------------
0019
0020 - bus-width: <8> or <10> (mandatory)
0021 - hsync-active (default: active high)
0022 - vsync-active (default: active high)
0023 - pclk-sample (default: sample on falling edge)
0024 - remote-endpoint: A phandle to the bus receiver's endpoint node (mandatory).
0025
0026 Example:
0027
0028 isi: isi@f0034000 {
0029 compatible = "atmel,at91sam9g45-isi";
0030 reg = <0xf0034000 0x4000>;
0031 interrupts = <37 IRQ_TYPE_LEVEL_HIGH 5>;
0032 pinctrl-names = "default";
0033 pinctrl-0 = <&pinctrl_isi_data_0_7>;
0034 clocks = <&isi_clk>;
0035 clock-names = "isi_clk";
0036 port {
0037 isi_0: endpoint {
0038 remote-endpoint = <&ov2640_0>;
0039 bus-width = <8>;
0040 vsync-active = <1>;
0041 hsync-active = <1>;
0042 };
0043 };
0044 };
0045
0046 i2c1: i2c@f0018000 {
0047 ov2640: camera@30 {
0048 compatible = "ovti,ov2640";
0049 reg = <0x30>;
0050 pinctrl-names = "default";
0051 pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
0052 resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>;
0053 pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
0054 clocks = <&pck0>;
0055 clock-names = "xvclk";
0056 assigned-clocks = <&pck0>;
0057 assigned-clock-rates = <25000000>;
0058
0059 port {
0060 ov2640_0: endpoint {
0061 remote-endpoint = <&isi_0>;
0062 bus-width = <8>;
0063 };
0064 };
0065 };
0066 };