Commit | Line | Data |
---|---|---|
4abb3677 JCPV |
1 | /* |
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; | |
05dcd361 | 27 | i2c0 = &i2c0; |
4abb3677 JCPV |
28 | }; |
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 { | |
f8a073ee | 52 | #interrupt-cells = <3>; |
4abb3677 JCPV |
53 | compatible = "atmel,at91rm9200-aic"; |
54 | interrupt-controller; | |
55 | reg = <0xfffff000 0x200>; | |
c6573943 | 56 | atmel,external-irqs = <30 31>; |
4abb3677 JCPV |
57 | }; |
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>; | |
f8a073ee | 73 | interrupts = <1 4 7>; |
4abb3677 JCPV |
74 | }; |
75 | ||
76 | tcb0: timer@fff7c000 { | |
77 | compatible = "atmel,at91rm9200-tcb"; | |
78 | reg = <0xfff7c000 0x100>; | |
f8a073ee | 79 | interrupts = <19 4 0>; |
4abb3677 JCPV |
80 | }; |
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>; | |
f8a073ee | 95 | interrupts = <2 4 1>; |
4abb3677 JCPV |
96 | #gpio-cells = <2>; |
97 | gpio-controller; | |
98 | interrupt-controller; | |
51ac51a6 | 99 | #interrupt-cells = <2>; |
4abb3677 JCPV |
100 | }; |
101 | ||
102 | pioB: gpio@fffff400 { | |
103 | compatible = "atmel,at91rm9200-gpio"; | |
104 | reg = <0xfffff400 0x100>; | |
f8a073ee | 105 | interrupts = <3 4 1>; |
4abb3677 JCPV |
106 | #gpio-cells = <2>; |
107 | gpio-controller; | |
108 | interrupt-controller; | |
51ac51a6 | 109 | #interrupt-cells = <2>; |
4abb3677 JCPV |
110 | }; |
111 | ||
112 | pioC: gpio@fffff600 { | |
113 | compatible = "atmel,at91rm9200-gpio"; | |
114 | reg = <0xfffff600 0x100>; | |
f8a073ee | 115 | interrupts = <4 4 1>; |
4abb3677 JCPV |
116 | #gpio-cells = <2>; |
117 | gpio-controller; | |
118 | interrupt-controller; | |
51ac51a6 | 119 | #interrupt-cells = <2>; |
4abb3677 JCPV |
120 | }; |
121 | ||
122 | pioD: gpio@fffff800 { | |
123 | compatible = "atmel,at91rm9200-gpio"; | |
124 | reg = <0xfffff800 0x100>; | |
f8a073ee | 125 | interrupts = <4 4 1>; |
4abb3677 JCPV |
126 | #gpio-cells = <2>; |
127 | gpio-controller; | |
128 | interrupt-controller; | |
51ac51a6 | 129 | #interrupt-cells = <2>; |
4abb3677 JCPV |
130 | }; |
131 | ||
132 | pioE: gpio@fffffa00 { | |
133 | compatible = "atmel,at91rm9200-gpio"; | |
134 | reg = <0xfffffa00 0x100>; | |
f8a073ee | 135 | interrupts = <4 4 1>; |
4abb3677 JCPV |
136 | #gpio-cells = <2>; |
137 | gpio-controller; | |
138 | interrupt-controller; | |
51ac51a6 | 139 | #interrupt-cells = <2>; |
4abb3677 JCPV |
140 | }; |
141 | ||
142 | dbgu: serial@ffffee00 { | |
143 | compatible = "atmel,at91sam9260-usart"; | |
144 | reg = <0xffffee00 0x200>; | |
f8a073ee | 145 | interrupts = <1 4 7>; |
4abb3677 JCPV |
146 | status = "disabled"; |
147 | }; | |
148 | ||
149 | usart0: serial@fff8c000 { | |
150 | compatible = "atmel,at91sam9260-usart"; | |
151 | reg = <0xfff8c000 0x200>; | |
f8a073ee | 152 | interrupts = <7 4 5>; |
4abb3677 JCPV |
153 | atmel,use-dma-rx; |
154 | atmel,use-dma-tx; | |
155 | status = "disabled"; | |
156 | }; | |
157 | ||
158 | usart1: serial@fff90000 { | |
159 | compatible = "atmel,at91sam9260-usart"; | |
160 | reg = <0xfff90000 0x200>; | |
f8a073ee | 161 | interrupts = <8 4 5>; |
4abb3677 JCPV |
162 | atmel,use-dma-rx; |
163 | atmel,use-dma-tx; | |
164 | status = "disabled"; | |
165 | }; | |
166 | ||
167 | usart2: serial@fff94000 { | |
168 | compatible = "atmel,at91sam9260-usart"; | |
169 | reg = <0xfff94000 0x200>; | |
f8a073ee | 170 | interrupts = <9 4 5>; |
4abb3677 JCPV |
171 | atmel,use-dma-rx; |
172 | atmel,use-dma-tx; | |
173 | status = "disabled"; | |
174 | }; | |
175 | ||
176 | macb0: ethernet@fffbc000 { | |
177 | compatible = "cdns,at32ap7000-macb", "cdns,macb"; | |
178 | reg = <0xfffbc000 0x100>; | |
f8a073ee | 179 | interrupts = <21 4 3>; |
4abb3677 JCPV |
180 | status = "disabled"; |
181 | }; | |
182 | ||
183 | usb1: gadget@fff78000 { | |
184 | compatible = "atmel,at91rm9200-udc"; | |
185 | reg = <0xfff78000 0x4000>; | |
f8a073ee | 186 | interrupts = <24 4 2>; |
4abb3677 JCPV |
187 | status = "disabled"; |
188 | }; | |
05dcd361 LD |
189 | |
190 | i2c0: i2c@fff88000 { | |
191 | compatible = "atmel,at91sam9263-i2c"; | |
192 | reg = <0xfff88000 0x100>; | |
193 | interrupts = <13 4 6>; | |
194 | #address-cells = <1>; | |
195 | #size-cells = <0>; | |
196 | status = "disabled"; | |
197 | }; | |
4abb3677 JCPV |
198 | }; |
199 | ||
200 | nand0: nand@40000000 { | |
201 | compatible = "atmel,at91rm9200-nand"; | |
202 | #address-cells = <1>; | |
203 | #size-cells = <1>; | |
204 | reg = <0x40000000 0x10000000 | |
205 | 0xffffe000 0x200 | |
206 | >; | |
207 | atmel,nand-addr-offset = <21>; | |
208 | atmel,nand-cmd-offset = <22>; | |
209 | gpios = <&pioA 22 0 | |
210 | &pioD 15 0 | |
211 | 0 | |
212 | >; | |
213 | status = "disabled"; | |
214 | }; | |
215 | ||
216 | usb0: ohci@00a00000 { | |
217 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; | |
218 | reg = <0x00a00000 0x100000>; | |
f8a073ee | 219 | interrupts = <29 4 2>; |
4abb3677 JCPV |
220 | status = "disabled"; |
221 | }; | |
222 | }; | |
223 | ||
224 | i2c@0 { | |
225 | compatible = "i2c-gpio"; | |
226 | gpios = <&pioB 4 0 /* sda */ | |
227 | &pioB 5 0 /* scl */ | |
228 | >; | |
229 | i2c-gpio,sda-open-drain; | |
230 | i2c-gpio,scl-open-drain; | |
231 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ | |
232 | #address-cells = <1>; | |
233 | #size-cells = <0>; | |
234 | status = "disabled"; | |
235 | }; | |
236 | }; |