blob: e7942c7e3f67583fe3221e65c96128e903a07a33 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +08001/*
2 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
3 *
4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2 only.
7 */
8
9/include/ "skeleton.dtsi"
10
11/ {
12 model = "Atmel AT91SAM9263 family SoC";
13 compatible = "atmel,at91sam9263";
14 interrupt-parent = <&aic>;
15
16 aliases {
17 serial0 = &dbgu;
18 serial1 = &usart0;
19 serial2 = &usart1;
20 serial3 = &usart2;
21 gpio0 = &pioA;
22 gpio1 = &pioB;
23 gpio2 = &pioC;
24 gpio3 = &pioD;
25 gpio4 = &pioE;
26 tcb0 = &tcb0;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020027 i2c0 = &i2c0;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080028 };
29 cpus {
30 cpu@0 {
31 compatible = "arm,arm926ejs";
32 };
33 };
34
35 memory {
36 reg = <0x20000000 0x08000000>;
37 };
38
39 ahb {
40 compatible = "simple-bus";
41 #address-cells = <1>;
42 #size-cells = <1>;
43 ranges;
44
45 apb {
46 compatible = "simple-bus";
47 #address-cells = <1>;
48 #size-cells = <1>;
49 ranges;
50
51 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020052 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080053 compatible = "atmel,at91rm9200-aic";
54 interrupt-controller;
55 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080056 atmel,external-irqs = <30 31>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080057 };
58
59 pmc: pmc@fffffc00 {
60 compatible = "atmel,at91rm9200-pmc";
61 reg = <0xfffffc00 0x100>;
62 };
63
64 ramc: ramc@ffffe200 {
65 compatible = "atmel,at91sam9260-sdramc";
66 reg = <0xffffe200 0x200
67 0xffffe800 0x200>;
68 };
69
70 pit: timer@fffffd30 {
71 compatible = "atmel,at91sam9260-pit";
72 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020073 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080074 };
75
76 tcb0: timer@fff7c000 {
77 compatible = "atmel,at91rm9200-tcb";
78 reg = <0xfff7c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020079 interrupts = <19 4 0>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080080 };
81
82 rstc@fffffd00 {
83 compatible = "atmel,at91sam9260-rstc";
84 reg = <0xfffffd00 0x10>;
85 };
86
87 shdwc@fffffd10 {
88 compatible = "atmel,at91sam9260-shdwc";
89 reg = <0xfffffd10 0x10>;
90 };
91
92 pioA: gpio@fffff200 {
93 compatible = "atmel,at91rm9200-gpio";
94 reg = <0xfffff200 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020095 interrupts = <2 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080096 #gpio-cells = <2>;
97 gpio-controller;
98 interrupt-controller;
99 };
100
101 pioB: gpio@fffff400 {
102 compatible = "atmel,at91rm9200-gpio";
103 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200104 interrupts = <3 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800105 #gpio-cells = <2>;
106 gpio-controller;
107 interrupt-controller;
108 };
109
110 pioC: gpio@fffff600 {
111 compatible = "atmel,at91rm9200-gpio";
112 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200113 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800114 #gpio-cells = <2>;
115 gpio-controller;
116 interrupt-controller;
117 };
118
119 pioD: gpio@fffff800 {
120 compatible = "atmel,at91rm9200-gpio";
121 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200122 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800123 #gpio-cells = <2>;
124 gpio-controller;
125 interrupt-controller;
126 };
127
128 pioE: gpio@fffffa00 {
129 compatible = "atmel,at91rm9200-gpio";
130 reg = <0xfffffa00 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200131 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800132 #gpio-cells = <2>;
133 gpio-controller;
134 interrupt-controller;
135 };
136
137 dbgu: serial@ffffee00 {
138 compatible = "atmel,at91sam9260-usart";
139 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200140 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800141 status = "disabled";
142 };
143
144 usart0: serial@fff8c000 {
145 compatible = "atmel,at91sam9260-usart";
146 reg = <0xfff8c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200147 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800148 atmel,use-dma-rx;
149 atmel,use-dma-tx;
150 status = "disabled";
151 };
152
153 usart1: serial@fff90000 {
154 compatible = "atmel,at91sam9260-usart";
155 reg = <0xfff90000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200156 interrupts = <8 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800157 atmel,use-dma-rx;
158 atmel,use-dma-tx;
159 status = "disabled";
160 };
161
162 usart2: serial@fff94000 {
163 compatible = "atmel,at91sam9260-usart";
164 reg = <0xfff94000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200165 interrupts = <9 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800166 atmel,use-dma-rx;
167 atmel,use-dma-tx;
168 status = "disabled";
169 };
170
171 macb0: ethernet@fffbc000 {
172 compatible = "cdns,at32ap7000-macb", "cdns,macb";
173 reg = <0xfffbc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200174 interrupts = <21 4 3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800175 status = "disabled";
176 };
177
178 usb1: gadget@fff78000 {
179 compatible = "atmel,at91rm9200-udc";
180 reg = <0xfff78000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200181 interrupts = <24 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800182 status = "disabled";
183 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200184
185 i2c0: i2c@fff88000 {
186 compatible = "atmel,at91sam9263-i2c";
187 reg = <0xfff88000 0x100>;
188 interrupts = <13 4 6>;
189 #address-cells = <1>;
190 #size-cells = <0>;
191 status = "disabled";
192 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800193 };
194
195 nand0: nand@40000000 {
196 compatible = "atmel,at91rm9200-nand";
197 #address-cells = <1>;
198 #size-cells = <1>;
199 reg = <0x40000000 0x10000000
200 0xffffe000 0x200
201 >;
202 atmel,nand-addr-offset = <21>;
203 atmel,nand-cmd-offset = <22>;
204 gpios = <&pioA 22 0
205 &pioD 15 0
206 0
207 >;
208 status = "disabled";
209 };
210
211 usb0: ohci@00a00000 {
212 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
213 reg = <0x00a00000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200214 interrupts = <29 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800215 status = "disabled";
216 };
217 };
218
219 i2c@0 {
220 compatible = "i2c-gpio";
221 gpios = <&pioB 4 0 /* sda */
222 &pioB 5 0 /* scl */
223 >;
224 i2c-gpio,sda-open-drain;
225 i2c-gpio,scl-open-drain;
226 i2c-gpio,delay-us = <2>; /* ~100 kHz */
227 #address-cells = <1>;
228 #size-cells = <0>;
229 status = "disabled";
230 };
231};