blob: 3b721ee59b109500b688bebff12e098f0aaf05ce [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;
Bo Shen099343c2012-11-07 11:41:41 +080028 ssc0 = &ssc0;
29 ssc1 = &ssc1;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080030 };
31 cpus {
32 cpu@0 {
33 compatible = "arm,arm926ejs";
34 };
35 };
36
37 memory {
38 reg = <0x20000000 0x08000000>;
39 };
40
41 ahb {
42 compatible = "simple-bus";
43 #address-cells = <1>;
44 #size-cells = <1>;
45 ranges;
46
47 apb {
48 compatible = "simple-bus";
49 #address-cells = <1>;
50 #size-cells = <1>;
51 ranges;
52
53 aic: interrupt-controller@fffff000 {
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020054 #interrupt-cells = <3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080055 compatible = "atmel,at91rm9200-aic";
56 interrupt-controller;
57 reg = <0xfffff000 0x200>;
Jean-Christophe PLAGNIOL-VILLARDc6573942012-04-09 19:36:36 +080058 atmel,external-irqs = <30 31>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080059 };
60
61 pmc: pmc@fffffc00 {
62 compatible = "atmel,at91rm9200-pmc";
63 reg = <0xfffffc00 0x100>;
64 };
65
66 ramc: ramc@ffffe200 {
67 compatible = "atmel,at91sam9260-sdramc";
68 reg = <0xffffe200 0x200
69 0xffffe800 0x200>;
70 };
71
72 pit: timer@fffffd30 {
73 compatible = "atmel,at91sam9260-pit";
74 reg = <0xfffffd30 0xf>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020075 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080076 };
77
78 tcb0: timer@fff7c000 {
79 compatible = "atmel,at91rm9200-tcb";
80 reg = <0xfff7c000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020081 interrupts = <19 4 0>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080082 };
83
84 rstc@fffffd00 {
85 compatible = "atmel,at91sam9260-rstc";
86 reg = <0xfffffd00 0x10>;
87 };
88
89 shdwc@fffffd10 {
90 compatible = "atmel,at91sam9260-shdwc";
91 reg = <0xfffffd10 0x10>;
92 };
93
94 pioA: gpio@fffff200 {
95 compatible = "atmel,at91rm9200-gpio";
96 reg = <0xfffff200 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +020097 interrupts = <2 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +080098 #gpio-cells = <2>;
99 gpio-controller;
100 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200101 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800102 };
103
104 pioB: gpio@fffff400 {
105 compatible = "atmel,at91rm9200-gpio";
106 reg = <0xfffff400 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200107 interrupts = <3 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800108 #gpio-cells = <2>;
109 gpio-controller;
110 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200111 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800112 };
113
114 pioC: gpio@fffff600 {
115 compatible = "atmel,at91rm9200-gpio";
116 reg = <0xfffff600 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200117 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800118 #gpio-cells = <2>;
119 gpio-controller;
120 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200121 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800122 };
123
124 pioD: gpio@fffff800 {
125 compatible = "atmel,at91rm9200-gpio";
126 reg = <0xfffff800 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200127 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800128 #gpio-cells = <2>;
129 gpio-controller;
130 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200131 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800132 };
133
134 pioE: gpio@fffffa00 {
135 compatible = "atmel,at91rm9200-gpio";
136 reg = <0xfffffa00 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200137 interrupts = <4 4 1>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800138 #gpio-cells = <2>;
139 gpio-controller;
140 interrupt-controller;
Jean-Christophe PLAGNIOL-VILLARD51ac51a2012-09-13 12:40:26 +0200141 #interrupt-cells = <2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800142 };
143
144 dbgu: serial@ffffee00 {
145 compatible = "atmel,at91sam9260-usart";
146 reg = <0xffffee00 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200147 interrupts = <1 4 7>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800148 status = "disabled";
149 };
150
151 usart0: serial@fff8c000 {
152 compatible = "atmel,at91sam9260-usart";
153 reg = <0xfff8c000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200154 interrupts = <7 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800155 atmel,use-dma-rx;
156 atmel,use-dma-tx;
157 status = "disabled";
158 };
159
160 usart1: serial@fff90000 {
161 compatible = "atmel,at91sam9260-usart";
162 reg = <0xfff90000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200163 interrupts = <8 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800164 atmel,use-dma-rx;
165 atmel,use-dma-tx;
166 status = "disabled";
167 };
168
169 usart2: serial@fff94000 {
170 compatible = "atmel,at91sam9260-usart";
171 reg = <0xfff94000 0x200>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200172 interrupts = <9 4 5>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800173 atmel,use-dma-rx;
174 atmel,use-dma-tx;
175 status = "disabled";
176 };
177
Bo Shen099343c2012-11-07 11:41:41 +0800178 ssc0: ssc@fff98000 {
179 compatible = "atmel,at91rm9200-ssc";
180 reg = <0xfff98000 0x4000>;
181 interrupts = <16 4 5>;
182 status = "disable";
183 };
184
185 ssc1: ssc@fff9c000 {
186 compatible = "atmel,at91rm9200-ssc";
187 reg = <0xfff9c000 0x4000>;
188 interrupts = <17 4 5>;
189 status = "disable";
190 };
191
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800192 macb0: ethernet@fffbc000 {
193 compatible = "cdns,at32ap7000-macb", "cdns,macb";
194 reg = <0xfffbc000 0x100>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200195 interrupts = <21 4 3>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800196 status = "disabled";
197 };
198
199 usb1: gadget@fff78000 {
200 compatible = "atmel,at91rm9200-udc";
201 reg = <0xfff78000 0x4000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200202 interrupts = <24 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800203 status = "disabled";
204 };
Ludovic Desroches05dcd362012-09-12 08:42:16 +0200205
206 i2c0: i2c@fff88000 {
207 compatible = "atmel,at91sam9263-i2c";
208 reg = <0xfff88000 0x100>;
209 interrupts = <13 4 6>;
210 #address-cells = <1>;
211 #size-cells = <0>;
212 status = "disabled";
213 };
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800214 };
215
216 nand0: nand@40000000 {
217 compatible = "atmel,at91rm9200-nand";
218 #address-cells = <1>;
219 #size-cells = <1>;
220 reg = <0x40000000 0x10000000
221 0xffffe000 0x200
222 >;
223 atmel,nand-addr-offset = <21>;
224 atmel,nand-cmd-offset = <22>;
225 gpios = <&pioA 22 0
226 &pioD 15 0
227 0
228 >;
229 status = "disabled";
230 };
231
232 usb0: ohci@00a00000 {
233 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
234 reg = <0x00a00000 0x100000>;
Ludovic Desrochesf8a073e2012-06-20 16:13:30 +0200235 interrupts = <29 4 2>;
Jean-Christophe PLAGNIOL-VILLARD4abb3672012-02-26 19:12:43 +0800236 status = "disabled";
237 };
238 };
239
240 i2c@0 {
241 compatible = "i2c-gpio";
242 gpios = <&pioB 4 0 /* sda */
243 &pioB 5 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};