blob: 2c5075f8c3b9b15c1b67dd0f9c847051ab65a195 [file] [log] [blame]
Wenyou Yang25e88d42017-04-18 13:49:34 +08001/*
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 pmc: pmc@fffffc00 {
48 periphck {
49 isi_clk: isi_clk@25 {
50 #clock-cells = <0>;
51 reg = <25>;
52 };
53 };
54 };
55
56 isi: isi@f8048000 {
57 compatible = "atmel,at91sam9g45-isi";
58 reg = <0xf8048000 0x4000>;
59 interrupts = <25 IRQ_TYPE_LEVEL_HIGH 5>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_isi_data_0_7>;
62 clocks = <&isi_clk>;
63 clock-names = "isi_clk";
64 status = "disabled";
65 port {
66 #address-cells = <1>;
67 #size-cells = <0>;
68 };
69 };
70 };
71 };
72};