blob: 82508d68aa7edb0cdc98c5245d7872d47720dfd9 [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
105 pioA: gpio@fffff400 {
106 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
107 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200108 interrupts = <2 4 1>;
Hong Xucce783c2012-04-17 14:26:29 +0800109 #gpio-cells = <2>;
110 gpio-controller;
111 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200112 #interrupt-cells = <2>;
Hong Xucce783c2012-04-17 14:26:29 +0800113 };
114
115 pioB: gpio@fffff600 {
116 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
117 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200118 interrupts = <2 4 1>;
Hong Xucce783c2012-04-17 14:26:29 +0800119 #gpio-cells = <2>;
120 gpio-controller;
121 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200122 #interrupt-cells = <2>;
Hong Xucce783c2012-04-17 14:26:29 +0800123 };
124
125 pioC: gpio@fffff800 {
126 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
127 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200128 interrupts = <3 4 1>;
Hong Xucce783c2012-04-17 14:26:29 +0800129 #gpio-cells = <2>;
130 gpio-controller;
131 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200132 #interrupt-cells = <2>;
Hong Xucce783c2012-04-17 14:26:29 +0800133 };
134
135 pioD: gpio@fffffa00 {
136 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
137 reg = <0xfffffa00 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200138 interrupts = <3 4 1>;
Hong Xucce783c2012-04-17 14:26:29 +0800139 #gpio-cells = <2>;
140 gpio-controller;
141 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200142 #interrupt-cells = <2>;
Hong Xucce783c2012-04-17 14:26:29 +0800143 };
144
145 dbgu: serial@fffff200 {
146 compatible = "atmel,at91sam9260-usart";
147 reg = <0xfffff200 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200148 interrupts = <1 4 7>;
Hong Xucce783c2012-04-17 14:26:29 +0800149 status = "disabled";
150 };
151
152 usart0: serial@f801c000 {
153 compatible = "atmel,at91sam9260-usart";
154 reg = <0xf801c000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200155 interrupts = <5 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800156 atmel,use-dma-rx;
157 atmel,use-dma-tx;
158 status = "disabled";
159 };
160
161 usart1: serial@f8020000 {
162 compatible = "atmel,at91sam9260-usart";
163 reg = <0xf8020000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200164 interrupts = <6 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800165 atmel,use-dma-rx;
166 atmel,use-dma-tx;
167 status = "disabled";
168 };
169
170 usart2: serial@f8024000 {
171 compatible = "atmel,at91sam9260-usart";
172 reg = <0xf8024000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200173 interrupts = <7 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800174 atmel,use-dma-rx;
175 atmel,use-dma-tx;
176 status = "disabled";
177 };
178
179 usart3: serial@f8028000 {
180 compatible = "atmel,at91sam9260-usart";
181 reg = <0xf8028000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200182 interrupts = <8 4 5>;
Hong Xucce783c2012-04-17 14:26:29 +0800183 atmel,use-dma-rx;
184 atmel,use-dma-tx;
185 status = "disabled";
186 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200187
188 i2c0: i2c@f8010000 {
189 compatible = "atmel,at91sam9x5-i2c";
190 reg = <0xf8010000 0x100>;
191 interrupts = <9 4 6>;
192 #address-cells = <1>;
193 #size-cells = <0>;
194 status = "disabled";
195 };
196
197 i2c1: i2c@f8014000 {
198 compatible = "atmel,at91sam9x5-i2c";
199 reg = <0xf8014000 0x100>;
200 interrupts = <10 4 6>;
201 #address-cells = <1>;
202 #size-cells = <0>;
203 status = "disabled";
204 };
Hong Xucce783c2012-04-17 14:26:29 +0800205 };
206
207 nand0: nand@40000000 {
208 compatible = "atmel,at91rm9200-nand";
209 #address-cells = <1>;
210 #size-cells = <1>;
211 reg = < 0x40000000 0x10000000
212 0xffffe000 0x00000600
213 0xffffe600 0x00000200
214 0x00100000 0x00100000
215 >;
216 atmel,nand-addr-offset = <21>;
217 atmel,nand-cmd-offset = <22>;
218 gpios = <&pioD 5 0
219 &pioD 4 0
220 0
221 >;
222 status = "disabled";
223 };
224
225 usb0: ohci@00500000 {
226 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
227 reg = <0x00500000 0x00100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200228 interrupts = <22 4 2>;
Hong Xucce783c2012-04-17 14:26:29 +0800229 status = "disabled";
230 };
231 };
232
233 i2c@0 {
234 compatible = "i2c-gpio";
235 gpios = <&pioA 30 0 /* sda */
236 &pioA 31 0 /* scl */
237 >;
238 i2c-gpio,sda-open-drain;
239 i2c-gpio,scl-open-drain;
240 i2c-gpio,delay-us = <2>; /* ~100 kHz */
241 #address-cells = <1>;
242 #size-cells = <0>;
243 status = "disabled";
244 };
245};