blob: 5b619c9255bd4b251332e1e8ef76c1755fad2edf [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
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +080092 pinctrl@fffff200 {
93 #address-cells = <1>;
94 #size-cells = <1>;
95 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
96 ranges = <0xfffff200 0xfffff200 0xa00>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080097
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +080098 pioA: gpio@fffff200 {
99 compatible = "atmel,at91rm9200-gpio";
100 reg = <0xfffff200 0x200>;
101 interrupts = <2 4 1>;
102 #gpio-cells = <2>;
103 gpio-controller;
104 interrupt-controller;
105 #interrupt-cells = <2>;
106 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800107
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800108 pioB: gpio@fffff400 {
109 compatible = "atmel,at91rm9200-gpio";
110 reg = <0xfffff400 0x200>;
111 interrupts = <3 4 1>;
112 #gpio-cells = <2>;
113 gpio-controller;
114 interrupt-controller;
115 #interrupt-cells = <2>;
116 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800117
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800118 pioC: gpio@fffff600 {
119 compatible = "atmel,at91rm9200-gpio";
120 reg = <0xfffff600 0x200>;
121 interrupts = <4 4 1>;
122 #gpio-cells = <2>;
123 gpio-controller;
124 interrupt-controller;
125 #interrupt-cells = <2>;
126 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800127
Jean-Christophe PLAGNIOL-VILLARDe4541ff2012-07-04 17:20:46 +0800128 pioD: gpio@fffff800 {
129 compatible = "atmel,at91rm9200-gpio";
130 reg = <0xfffff800 0x200>;
131 interrupts = <4 4 1>;
132 #gpio-cells = <2>;
133 gpio-controller;
134 interrupt-controller;
135 #interrupt-cells = <2>;
136 };
137
138 pioE: gpio@fffffa00 {
139 compatible = "atmel,at91rm9200-gpio";
140 reg = <0xfffffa00 0x200>;
141 interrupts = <4 4 1>;
142 #gpio-cells = <2>;
143 gpio-controller;
144 interrupt-controller;
145 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800146 };
147
148 dbgu: serial@ffffee00 {
149 compatible = "atmel,at91sam9260-usart";
150 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200151 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800152 status = "disabled";
153 };
154
155 usart0: serial@fff8c000 {
156 compatible = "atmel,at91sam9260-usart";
157 reg = <0xfff8c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200158 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800159 atmel,use-dma-rx;
160 atmel,use-dma-tx;
161 status = "disabled";
162 };
163
164 usart1: serial@fff90000 {
165 compatible = "atmel,at91sam9260-usart";
166 reg = <0xfff90000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200167 interrupts = <8 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800168 atmel,use-dma-rx;
169 atmel,use-dma-tx;
170 status = "disabled";
171 };
172
173 usart2: serial@fff94000 {
174 compatible = "atmel,at91sam9260-usart";
175 reg = <0xfff94000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200176 interrupts = <9 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800177 atmel,use-dma-rx;
178 atmel,use-dma-tx;
179 status = "disabled";
180 };
181
182 macb0: ethernet@fffbc000 {
183 compatible = "cdns,at32ap7000-macb", "cdns,macb";
184 reg = <0xfffbc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200185 interrupts = <21 4 3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800186 status = "disabled";
187 };
188
189 usb1: gadget@fff78000 {
190 compatible = "atmel,at91rm9200-udc";
191 reg = <0xfff78000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200192 interrupts = <24 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800193 status = "disabled";
194 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200195
196 i2c0: i2c@fff88000 {
197 compatible = "atmel,at91sam9263-i2c";
198 reg = <0xfff88000 0x100>;
199 interrupts = <13 4 6>;
200 #address-cells = <1>;
201 #size-cells = <0>;
202 status = "disabled";
203 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800204 };
205
206 nand0: nand@40000000 {
207 compatible = "atmel,at91rm9200-nand";
208 #address-cells = <1>;
209 #size-cells = <1>;
210 reg = <0x40000000 0x10000000
211 0xffffe000 0x200
212 >;
213 atmel,nand-addr-offset = <21>;
214 atmel,nand-cmd-offset = <22>;
215 gpios = <&pioA 22 0
216 &pioD 15 0
217 0
218 >;
219 status = "disabled";
220 };
221
222 usb0: ohci@00a00000 {
223 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
224 reg = <0x00a00000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200225 interrupts = <29 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800226 status = "disabled";
227 };
228 };
229
230 i2c@0 {
231 compatible = "i2c-gpio";
232 gpios = <&pioB 4 0 /* sda */
233 &pioB 5 0 /* scl */
234 >;
235 i2c-gpio,sda-open-drain;
236 i2c-gpio,scl-open-drain;
237 i2c-gpio,delay-us = <2>; /* ~100 kHz */
238 #address-cells = <1>;
239 #size-cells = <0>;
240 status = "disabled";
241 };
242};