Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / at91sam9x5_isi.dtsi
1 /*
2  * at91sam9x5_isi.dtsi - Device Tree Include file for AT91SAM9x5 SoC with an
3  * Image Sensor Interface.
4  *
5  * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
6  *
7  * Licensed under GPLv2.
8  */
9
10 #include <dt-bindings/pinctrl/at91.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12
13 / {
14         ahb {
15                 apb {
16                         pinctrl@fffff400 {
17                                 isi {
18                                         pinctrl_isi_data_0_7: isi-0-data-0-7 {
19                                                 atmel,pins =
20                                                         <AT91_PIOC 0 AT91_PERIPH_B AT91_PINCTRL_NONE    /* ISI_D0, conflicts with LCDDAT0 */
21                                                         AT91_PIOC 1 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D1, conflicts with LCDDAT1 */
22                                                         AT91_PIOC 2 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D2, conflicts with LCDDAT2 */
23                                                         AT91_PIOC 3 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D3, conflicts with LCDDAT3 */
24                                                         AT91_PIOC 4 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D4, conflicts with LCDDAT4 */
25                                                         AT91_PIOC 5 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D5, conflicts with LCDDAT5 */
26                                                         AT91_PIOC 6 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D6, conflicts with LCDDAT6 */
27                                                         AT91_PIOC 7 AT91_PERIPH_B AT91_PINCTRL_NONE     /* ISI_D7, conflicts with LCDDAT7 */
28                                                         AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE    /* ISI_PCK, conflicts with LCDDAT12 */
29                                                         AT91_PIOC 14 AT91_PERIPH_B AT91_PINCTRL_NONE    /* ISI_HSYNC, conflicts with LCDDAT14 */
30                                                         AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* ISI_VSYNC, conflicts with LCDDAT13 */
31                                         };
32
33                                         pinctrl_isi_data_8_9: isi-0-data-8-9 {
34                                                 atmel,pins =
35                                                         <AT91_PIOC 8 AT91_PERIPH_B AT91_PINCTRL_NONE    /* ISI_D8, conflicts with LCDDAT8 */
36                                                         AT91_PIOC 9 AT91_PERIPH_B AT91_PINCTRL_NONE>;   /* ISI_D9, conflicts with LCDDAT9 */
37                                         };
38
39                                         pinctrl_isi_data_10_11: isi-0-data-10-11 {
40                                                 atmel,pins =
41                                                         <AT91_PIOC 10 AT91_PERIPH_B AT91_PINCTRL_NONE   /* ISI_D10, conflicts with LCDDAT10 */
42                                                         AT91_PIOC 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;  /* ISI_D11, conflicts with LCDDAT11 */
43                                         };
44                                 };
45                         };
46
47                         isi: isi@f8048000 {
48                                 compatible = "atmel,at91sam9g45-isi";
49                                 reg = <0xf8048000 0x4000>;
50                                 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 5>;
51                                 pinctrl-names = "default";
52                                 pinctrl-0 = <&pinctrl_isi_data_0_7>;
53                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 25>;
54                                 clock-names = "isi_clk";
55                                 status = "disabled";
56                                 port {
57                                         #address-cells = <1>;
58                                         #size-cells = <0>;
59                                 };
60                         };
61                 };
62         };
63 };