Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck...
[pandora-kernel.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                         };
99
100                         pioB: gpio@fffff400 {
101                                 compatible = "atmel,at91rm9200-gpio";
102                                 reg = <0xfffff400 0x100>;
103                                 interrupts = <3 4 1>;
104                                 #gpio-cells = <2>;
105                                 gpio-controller;
106                                 interrupt-controller;
107                         };
108
109                         pioC: gpio@fffff600 {
110                                 compatible = "atmel,at91rm9200-gpio";
111                                 reg = <0xfffff600 0x100>;
112                                 interrupts = <4 4 1>;
113                                 #gpio-cells = <2>;
114                                 gpio-controller;
115                                 interrupt-controller;
116                         };
117
118                         pioD: gpio@fffff800 {
119                                 compatible = "atmel,at91rm9200-gpio";
120                                 reg = <0xfffff800 0x100>;
121                                 interrupts = <4 4 1>;
122                                 #gpio-cells = <2>;
123                                 gpio-controller;
124                                 interrupt-controller;
125                         };
126
127                         pioE: gpio@fffffa00 {
128                                 compatible = "atmel,at91rm9200-gpio";
129                                 reg = <0xfffffa00 0x100>;
130                                 interrupts = <4 4 1>;
131                                 #gpio-cells = <2>;
132                                 gpio-controller;
133                                 interrupt-controller;
134                         };
135
136                         dbgu: serial@ffffee00 {
137                                 compatible = "atmel,at91sam9260-usart";
138                                 reg = <0xffffee00 0x200>;
139                                 interrupts = <1 4 7>;
140                                 status = "disabled";
141                         };
142
143                         usart0: serial@fff8c000 {
144                                 compatible = "atmel,at91sam9260-usart";
145                                 reg = <0xfff8c000 0x200>;
146                                 interrupts = <7 4 5>;
147                                 atmel,use-dma-rx;
148                                 atmel,use-dma-tx;
149                                 status = "disabled";
150                         };
151
152                         usart1: serial@fff90000 {
153                                 compatible = "atmel,at91sam9260-usart";
154                                 reg = <0xfff90000 0x200>;
155                                 interrupts = <8 4 5>;
156                                 atmel,use-dma-rx;
157                                 atmel,use-dma-tx;
158                                 status = "disabled";
159                         };
160
161                         usart2: serial@fff94000 {
162                                 compatible = "atmel,at91sam9260-usart";
163                                 reg = <0xfff94000 0x200>;
164                                 interrupts = <9 4 5>;
165                                 atmel,use-dma-rx;
166                                 atmel,use-dma-tx;
167                                 status = "disabled";
168                         };
169
170                         macb0: ethernet@fffbc000 {
171                                 compatible = "cdns,at32ap7000-macb", "cdns,macb";
172                                 reg = <0xfffbc000 0x100>;
173                                 interrupts = <21 4 3>;
174                                 status = "disabled";
175                         };
176
177                         usb1: gadget@fff78000 {
178                                 compatible = "atmel,at91rm9200-udc";
179                                 reg = <0xfff78000 0x4000>;
180                                 interrupts = <24 4 2>;
181                                 status = "disabled";
182                         };
183                 };
184
185                 nand0: nand@40000000 {
186                         compatible = "atmel,at91rm9200-nand";
187                         #address-cells = <1>;
188                         #size-cells = <1>;
189                         reg = <0x40000000 0x10000000
190                                0xffffe000 0x200
191                               >;
192                         atmel,nand-addr-offset = <21>;
193                         atmel,nand-cmd-offset = <22>;
194                         gpios = <&pioA 22 0
195                                  &pioD 15 0
196                                  0
197                                 >;
198                         status = "disabled";
199                 };
200
201                 usb0: ohci@00a00000 {
202                         compatible = "atmel,at91rm9200-ohci", "usb-ohci";
203                         reg = <0x00a00000 0x100000>;
204                         interrupts = <29 4 2>;
205                         status = "disabled";
206                 };
207         };
208
209         i2c@0 {
210                 compatible = "i2c-gpio";
211                 gpios = <&pioB 4 0 /* sda */
212                          &pioB 5 0 /* scl */
213                         >;
214                 i2c-gpio,sda-open-drain;
215                 i2c-gpio,scl-open-drain;
216                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
217                 #address-cells = <1>;
218                 #size-cells = <0>;
219                 status = "disabled";
220         };
221 };