]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/at91sam9n12.dtsi
Merge remote-tracking branch 'tmem/linux-next'
[karo-tx-linux.git] / arch / arm / boot / dts / at91sam9n12.dtsi
1 /*
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;
29                 i2c0 = &i2c0;
30                 i2c1 = &i2c1;
31         };
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 {
55                                 #interrupt-cells = <3>;
56                                 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>;
79                                 interrupts = <1 4 7>;
80                         };
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>;
90                                 interrupts = <17 4 0>;
91                         };
92
93                         tcb1: timer@f800c000 {
94                                 compatible = "atmel,at91sam9x5-tcb";
95                                 reg = <0xf800c000 0x100>;
96                                 interrupts = <17 4 0>;
97                         };
98
99                         dma: dma-controller@ffffec00 {
100                                 compatible = "atmel,at91sam9g45-dma";
101                                 reg = <0xffffec00 0x200>;
102                                 interrupts = <20 4 0>;
103                         };
104
105                         pioA: gpio@fffff400 {
106                                 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
107                                 reg = <0xfffff400 0x100>;
108                                 interrupts = <2 4 1>;
109                                 #gpio-cells = <2>;
110                                 gpio-controller;
111                                 interrupt-controller;
112                                 #interrupt-cells = <2>;
113                         };
114
115                         pioB: gpio@fffff600 {
116                                 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
117                                 reg = <0xfffff600 0x100>;
118                                 interrupts = <2 4 1>;
119                                 #gpio-cells = <2>;
120                                 gpio-controller;
121                                 interrupt-controller;
122                                 #interrupt-cells = <2>;
123                         };
124
125                         pioC: gpio@fffff800 {
126                                 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
127                                 reg = <0xfffff800 0x100>;
128                                 interrupts = <3 4 1>;
129                                 #gpio-cells = <2>;
130                                 gpio-controller;
131                                 interrupt-controller;
132                                 #interrupt-cells = <2>;
133                         };
134
135                         pioD: gpio@fffffa00 {
136                                 compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
137                                 reg = <0xfffffa00 0x100>;
138                                 interrupts = <3 4 1>;
139                                 #gpio-cells = <2>;
140                                 gpio-controller;
141                                 interrupt-controller;
142                                 #interrupt-cells = <2>;
143                         };
144
145                         dbgu: serial@fffff200 {
146                                 compatible = "atmel,at91sam9260-usart";
147                                 reg = <0xfffff200 0x200>;
148                                 interrupts = <1 4 7>;
149                                 status = "disabled";
150                         };
151
152                         usart0: serial@f801c000 {
153                                 compatible = "atmel,at91sam9260-usart";
154                                 reg = <0xf801c000 0x4000>;
155                                 interrupts = <5 4 5>;
156                                 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>;
164                                 interrupts = <6 4 5>;
165                                 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>;
173                                 interrupts = <7 4 5>;
174                                 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>;
182                                 interrupts = <8 4 5>;
183                                 atmel,use-dma-rx;
184                                 atmel,use-dma-tx;
185                                 status = "disabled";
186                         };
187
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                         };
205                 };
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>;
228                         interrupts = <22 4 2>;
229                         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 };