blob: b061c06260254d68aad36cf62f1f400fa09b8dd9 [file] [log] [blame]
Hong Xucce783c2012-04-17 14:26:29 +08001/*
2 * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC
3 *
4 * Copyright (C) 2012 Atmel,
5 * 2012 Hong Xu <hong.xu@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9
10/include/ "skeleton.dtsi"
11
12/ {
13 model = "Atmel AT91SAM9N12 SoC";
14 compatible = "atmel,at91sam9n12";
15 interrupt-parent = <&aic>;
16
17 aliases {
18 serial0 = &dbgu;
19 serial1 = &usart0;
20 serial2 = &usart1;
21 serial3 = &usart2;
22 serial4 = &usart3;
23 gpio0 = &pioA;
24 gpio1 = &pioB;
25 gpio2 = &pioC;
26 gpio3 = &pioD;
27 tcb0 = &tcb0;
28 tcb1 = &tcb1;
Ludovic Desroches05dcd362012-09-12 08:42:16 +020029 i2c0 = &i2c0;
30 i2c1 = &i2c1;
Hong Xucce783c2012-04-17 14:26:29 +080031 };
32 cpus {
33 cpu@0 {
34 compatible = "arm,arm926ejs";
35 };
36 };
37
38 memory {
39 reg = <0x20000000 0x10000000>;
40 };
41
42 ahb {
43 compatible = "simple-bus";
44 #address-cells = <1>;
45 #size-cells = <1>;
46 ranges;
47
48 apb {
49 compatible = "simple-bus";
50 #address-cells = <1>;
51 #size-cells = <1>;
52 ranges;
53
54 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020055 #interrupt-cells = <3>;
Hong Xucce783c2012-04-17 14:26:29 +080056 compatible = "atmel,at91rm9200-aic";
57 interrupt-controller;
58 reg = <0xfffff000 0x200>;
59 };
60
61 ramc0: ramc@ffffe800 {
62 compatible = "atmel,at91sam9g45-ddramc";
63 reg = <0xffffe800 0x200>;
64 };
65
66 pmc: pmc@fffffc00 {
67 compatible = "atmel,at91rm9200-pmc";
68 reg = <0xfffffc00 0x100>;
69 };
70
71 rstc@fffffe00 {
72 compatible = "atmel,at91sam9g45-rstc";
73 reg = <0xfffffe00 0x10>;
74 };
75
76 pit: timer@fffffe30 {
77 compatible = "atmel,at91sam9260-pit";
78 reg = <0xfffffe30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020079 interrupts = <1 4 7>;
Hong Xucce783c2012-04-17 14:26:29 +080080 };
81
82 shdwc@fffffe10 {
83 compatible = "atmel,at91sam9x5-shdwc";
84 reg = <0xfffffe10 0x10>;
85 };
86
87 tcb0: timer@f8008000 {
88 compatible = "atmel,at91sam9x5-tcb";
89 reg = <0xf8008000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020090 interrupts = <17 4 0>;
Hong Xucce783c2012-04-17 14:26:29 +080091 };
92
93 tcb1: timer@f800c000 {
94 compatible = "atmel,at91sam9x5-tcb";
95 reg = <0xf800c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020096 interrupts = <17 4 0>;
Hong Xucce783c2012-04-17 14:26:29 +080097 };
98
99 dma: dma-controller@ffffec00 {
100 compatible = "atmel,at91sam9g45-dma";
101 reg = <0xffffec00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200102 interrupts = <20 4 0>;
Hong Xucce783c2012-04-17 14:26:29 +0800103 };
104
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800105 pinctrl@fffff400 {
106 #address-cells = <1>;
107 #size-cells = <1>;
108 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
109 ranges = <0xfffff400 0xfffff400 0x800>;
Hong Xucce783c2012-04-17 14:26:29 +0800110
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800111 pioA: gpio@fffff400 {
112 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
113 reg = <0xfffff400 0x200>;
114 interrupts = <2 4 1>;
115 #gpio-cells = <2>;
116 gpio-controller;
117 interrupt-controller;
118 #interrupt-cells = <2>;
119 };
Hong Xucce783c2012-04-17 14:26:29 +0800120
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800121 pioB: gpio@fffff600 {
122 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
123 reg = <0xfffff600 0x200>;
124 interrupts = <2 4 1>;
125 #gpio-cells = <2>;
126 gpio-controller;
127 interrupt-controller;
128 #interrupt-cells = <2>;
129 };
Hong Xucce783c2012-04-17 14:26:29 +0800130
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800131 pioC: gpio@fffff800 {
132 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
133 reg = <0xfffff800 0x200>;
134 interrupts = <3 4 1>;
135 #gpio-cells = <2>;
136 gpio-controller;
137 interrupt-controller;
138 #interrupt-cells = <2>;
139 };
140
141 pioD: gpio@fffffa00 {
142 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
143 reg = <0xfffffa00 0x200>;
144 interrupts = <3 4 1>;
145 #gpio-cells = <2>;
146 gpio-controller;
147 interrupt-controller;
148 #interrupt-cells = <2>;
149 };
Hong Xucce783c2012-04-17 14:26:29 +0800150 };
151
152 dbgu: serial@fffff200 {
153 compatible = "atmel,at91sam9260-usart";
154 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200155 interrupts = <1 4 7>;
Hong Xucce783c2012-04-17 14:26:29 +0800156 status = "disabled";
157 };
158
159 usart0: serial@f801c000 {
160 compatible = "atmel,at91sam9260-usart";
161 reg = <0xf801c000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200162 interrupts = <5 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800163 atmel,use-dma-rx;
164 atmel,use-dma-tx;
165 status = "disabled";
166 };
167
168 usart1: serial@f8020000 {
169 compatible = "atmel,at91sam9260-usart";
170 reg = <0xf8020000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200171 interrupts = <6 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800172 atmel,use-dma-rx;
173 atmel,use-dma-tx;
174 status = "disabled";
175 };
176
177 usart2: serial@f8024000 {
178 compatible = "atmel,at91sam9260-usart";
179 reg = <0xf8024000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200180 interrupts = <7 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800181 atmel,use-dma-rx;
182 atmel,use-dma-tx;
183 status = "disabled";
184 };
185
186 usart3: serial@f8028000 {
187 compatible = "atmel,at91sam9260-usart";
188 reg = <0xf8028000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200189 interrupts = <8 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800190 atmel,use-dma-rx;
191 atmel,use-dma-tx;
192 status = "disabled";
193 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200194
195 i2c0: i2c@f8010000 {
196 compatible = "atmel,at91sam9x5-i2c";
197 reg = <0xf8010000 0x100>;
198 interrupts = <9 4 6>;
199 #address-cells = <1>;
200 #size-cells = <0>;
201 status = "disabled";
202 };
203
204 i2c1: i2c@f8014000 {
205 compatible = "atmel,at91sam9x5-i2c";
206 reg = <0xf8014000 0x100>;
207 interrupts = <10 4 6>;
208 #address-cells = <1>;
209 #size-cells = <0>;
210 status = "disabled";
211 };
Hong Xucce783c2012-04-17 14:26:29 +0800212 };
213
214 nand0: nand@40000000 {
215 compatible = "atmel,at91rm9200-nand";
216 #address-cells = <1>;
217 #size-cells = <1>;
218 reg = < 0x40000000 0x10000000
219 0xffffe000 0x00000600
220 0xffffe600 0x00000200
221 0x00100000 0x00100000
222 >;
223 atmel,nand-addr-offset = <21>;
224 atmel,nand-cmd-offset = <22>;
225 gpios = <&pioD 5 0
226 &pioD 4 0
227 0
228 >;
229 status = "disabled";
230 };
231
232 usb0: ohci@00500000 {
233 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
234 reg = <0x00500000 0x00100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200235 interrupts = <22 4 2>;
Hong Xucce783c2012-04-17 14:26:29 +0800236 status = "disabled";
237 };
238 };
239
240 i2c@0 {
241 compatible = "i2c-gpio";
242 gpios = <&pioA 30 0 /* sda */
243 &pioA 31 0 /* scl */
244 >;
245 i2c-gpio,sda-open-drain;
246 i2c-gpio,scl-open-drain;
247 i2c-gpio,delay-us = <2>; /* ~100 kHz */
248 #address-cells = <1>;
249 #size-cells = <0>;
250 status = "disabled";
251 };
252};