]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/at91sam9263.dtsi
Merge tag 'upstream-3.7-rc1-fastmap' of git://git.infradead.org/linux-ubi
[karo-tx-linux.git] / arch / arm / boot / dts / at91sam9263.dtsi
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;
27         };
28         cpus {
29                 cpu@0 {
30                         compatible = "arm,arm926ejs";
31                 };
32         };
33
34         memory {
35                 reg = <0x20000000 0x08000000>;
36         };
37
38         ahb {
39                 compatible = "simple-bus";
40                 #address-cells = <1>;
41                 #size-cells = <1>;
42                 ranges;
43
44                 apb {
45                         compatible = "simple-bus";
46                         #address-cells = <1>;
47                         #size-cells = <1>;
48                         ranges;
49
50                         aic: interrupt-controller@fffff000 {
51                                 #interrupt-cells = <3>;
52                                 compatible = "atmel,at91rm9200-aic";
53                                 interrupt-controller;
54                                 reg = <0xfffff000 0x200>;
55                                 atmel,external-irqs = <30 31>;
56                         };
57
58                         pmc: pmc@fffffc00 {
59                                 compatible = "atmel,at91rm9200-pmc";
60                                 reg = <0xfffffc00 0x100>;
61                         };
62
63                         ramc: ramc@ffffe200 {
64                                 compatible = "atmel,at91sam9260-sdramc";
65                                 reg = <0xffffe200 0x200
66                                        0xffffe800 0x200>;
67                         };
68
69                         pit: timer@fffffd30 {
70                                 compatible = "atmel,at91sam9260-pit";
71                                 reg = <0xfffffd30 0xf>;
72                                 interrupts = <1 4 7>;
73                         };
74
75                         tcb0: timer@fff7c000 {
76                                 compatible = "atmel,at91rm9200-tcb";
77                                 reg = <0xfff7c000 0x100>;
78                                 interrupts = <19 4 0>;
79                         };
80
81                         rstc@fffffd00 {
82                                 compatible = "atmel,at91sam9260-rstc";
83                                 reg = <0xfffffd00 0x10>;
84                         };
85
86                         shdwc@fffffd10 {
87                                 compatible = "atmel,at91sam9260-shdwc";
88                                 reg = <0xfffffd10 0x10>;
89                         };
90
91                         pioA: gpio@fffff200 {
92                                 compatible = "atmel,at91rm9200-gpio";
93                                 reg = <0xfffff200 0x100>;
94                                 interrupts = <2 4 1>;
95                                 #gpio-cells = <2>;
96                                 gpio-controller;
97                                 interrupt-controller;
98                                 #interrupt-cells = <2>;
99                         };
100
101                         pioB: gpio@fffff400 {
102                                 compatible = "atmel,at91rm9200-gpio";
103                                 reg = <0xfffff400 0x100>;
104                                 interrupts = <3 4 1>;
105                                 #gpio-cells = <2>;
106                                 gpio-controller;
107                                 interrupt-controller;
108                                 #interrupt-cells = <2>;
109                         };
110
111                         pioC: gpio@fffff600 {
112                                 compatible = "atmel,at91rm9200-gpio";
113                                 reg = <0xfffff600 0x100>;
114                                 interrupts = <4 4 1>;
115                                 #gpio-cells = <2>;
116                                 gpio-controller;
117                                 interrupt-controller;
118                                 #interrupt-cells = <2>;
119                         };
120
121                         pioD: gpio@fffff800 {
122                                 compatible = "atmel,at91rm9200-gpio";
123                                 reg = <0xfffff800 0x100>;
124                                 interrupts = <4 4 1>;
125                                 #gpio-cells = <2>;
126                                 gpio-controller;
127                                 interrupt-controller;
128                                 #interrupt-cells = <2>;
129                         };
130
131                         pioE: gpio@fffffa00 {
132                                 compatible = "atmel,at91rm9200-gpio";
133                                 reg = <0xfffffa00 0x100>;
134                                 interrupts = <4 4 1>;
135                                 #gpio-cells = <2>;
136                                 gpio-controller;
137                                 interrupt-controller;
138                                 #interrupt-cells = <2>;
139                         };
140
141                         dbgu: serial@ffffee00 {
142                                 compatible = "atmel,at91sam9260-usart";
143                                 reg = <0xffffee00 0x200>;
144                                 interrupts = <1 4 7>;
145                                 status = "disabled";
146                         };
147
148                         usart0: serial@fff8c000 {
149                                 compatible = "atmel,at91sam9260-usart";
150                                 reg = <0xfff8c000 0x200>;
151                                 interrupts = <7 4 5>;
152                                 atmel,use-dma-rx;
153                                 atmel,use-dma-tx;
154                                 status = "disabled";
155                         };
156
157                         usart1: serial@fff90000 {
158                                 compatible = "atmel,at91sam9260-usart";
159                                 reg = <0xfff90000 0x200>;
160                                 interrupts = <8 4 5>;
161                                 atmel,use-dma-rx;
162                                 atmel,use-dma-tx;
163                                 status = "disabled";
164                         };
165
166                         usart2: serial@fff94000 {
167                                 compatible = "atmel,at91sam9260-usart";
168                                 reg = <0xfff94000 0x200>;
169                                 interrupts = <9 4 5>;
170                                 atmel,use-dma-rx;
171                                 atmel,use-dma-tx;
172                                 status = "disabled";
173                         };
174
175                         macb0: ethernet@fffbc000 {
176                                 compatible = "cdns,at32ap7000-macb", "cdns,macb";
177                                 reg = <0xfffbc000 0x100>;
178                                 interrupts = <21 4 3>;
179                                 status = "disabled";
180                         };
181
182                         usb1: gadget@fff78000 {
183                                 compatible = "atmel,at91rm9200-udc";
184                                 reg = <0xfff78000 0x4000>;
185                                 interrupts = <24 4 2>;
186                                 status = "disabled";
187                         };
188                 };
189
190                 nand0: nand@40000000 {
191                         compatible = "atmel,at91rm9200-nand";
192                         #address-cells = <1>;
193                         #size-cells = <1>;
194                         reg = <0x40000000 0x10000000
195                                0xffffe000 0x200
196                               >;
197                         atmel,nand-addr-offset = <21>;
198                         atmel,nand-cmd-offset = <22>;
199                         gpios = <&pioA 22 0
200                                  &pioD 15 0
201                                  0
202                                 >;
203                         status = "disabled";
204                 };
205
206                 usb0: ohci@00a00000 {
207                         compatible = "atmel,at91rm9200-ohci", "usb-ohci";
208                         reg = <0x00a00000 0x100000>;
209                         interrupts = <29 4 2>;
210                         status = "disabled";
211                 };
212         };
213
214         i2c@0 {
215                 compatible = "i2c-gpio";
216                 gpios = <&pioB 4 0 /* sda */
217                          &pioB 5 0 /* scl */
218                         >;
219                 i2c-gpio,sda-open-drain;
220                 i2c-gpio,scl-open-drain;
221                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
222                 #address-cells = <1>;
223                 #size-cells = <0>;
224                 status = "disabled";
225         };
226 };