mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / arm / boot / dts / at91sam9263ek.dts
blob10a0925da10e16db6b5668f09ae62f52f6f593d2
1 /*
2  * at91sam9263ek.dts - Device Tree file for Atmel at91sam9263 reference board
3  *
4  *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5  *
6  * Licensed under GPLv2 only
7  */
8 /dts-v1/;
9 #include "at91sam9263.dtsi"
11 / {
12         model = "Atmel at91sam9263ek";
13         compatible = "atmel,at91sam9263ek", "atmel,at91sam9263", "atmel,at91sam9";
15         chosen {
16                 bootargs = "mem=64M root=/dev/mtdblock5 rw rootfstype=ubifs";
17                 stdout-path = "serial0:115200n8";
18         };
20         memory {
21                 reg = <0x20000000 0x4000000>;
22         };
24         clocks {
25                 slow_xtal {
26                         clock-frequency = <32768>;
27                 };
29                 main_xtal {
30                         clock-frequency = <16367660>;
31                 };
32         };
34         ahb {
35                 apb {
36                         dbgu: serial@ffffee00 {
37                                 status = "okay";
38                         };
40                         usart0: serial@fff8c000 {
41                                 pinctrl-0 = <
42                                         &pinctrl_usart0
43                                         &pinctrl_usart0_rts
44                                         &pinctrl_usart0_cts>;
45                                 status = "okay";
46                         };
48                         macb0: ethernet@fffbc000 {
49                                 phy-mode = "rmii";
50                                 status = "okay";
51                         };
53                         usb1: gadget@fff78000 {
54                                 atmel,vbus-gpio = <&pioA 25 GPIO_ACTIVE_HIGH>;
55                                 status = "okay";
56                         };
58                         mmc0: mmc@fff80000 {
59                                 pinctrl-0 = <
60                                         &pinctrl_board_mmc0
61                                         &pinctrl_mmc0_clk
62                                         &pinctrl_mmc0_slot0_cmd_dat0
63                                         &pinctrl_mmc0_slot0_dat1_3>;
64                                 status = "okay";
65                                 slot@0 {
66                                         reg = <0>;
67                                         bus-width = <4>;
68                                         cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>;
69                                         wp-gpios = <&pioE 19 GPIO_ACTIVE_HIGH>;
70                                 };
71                         };
73                         pinctrl@fffff200 {
74                                 mmc0 {
75                                         pinctrl_board_mmc0: mmc0-board {
76                                                 atmel,pins =
77                                                         <AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH    /* PE18 gpio CD pin pull up and deglitch */
78                                                          AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;   /* PE19 gpio WP pin pull up */
79                                         };
80                                 };
81                         };
83                         spi0: spi@fffa4000 {
84                                 status = "okay";
85                                 cs-gpios = <&pioA 5 0>, <0>, <0>, <0>;
86                                 mtd_dataflash@0 {
87                                         compatible = "atmel,at45", "atmel,dataflash";
88                                         spi-max-frequency = <50000000>;
89                                         reg = <0>;
90                                 };
91                         };
93                         watchdog@fffffd40 {
94                                 status = "okay";
95                         };
96                 };
98                 fb0: fb@0x00700000 {
99                         display = <&display0>;
100                         status = "okay";
102                         display0: display {
103                                 bits-per-pixel = <16>;
104                                 atmel,lcdcon-backlight;
105                                 atmel,dmacon = <0x1>;
106                                 atmel,lcdcon2 = <0x80008002>;
107                                 atmel,guard-time = <1>;
109                                 display-timings {
110                                         native-mode = <&timing0>;
111                                         timing0: timing0 {
112                                                 clock-frequency = <4965000>;
113                                                 hactive = <240>;
114                                                 vactive = <320>;
115                                                 hback-porch = <1>;
116                                                 hfront-porch = <33>;
117                                                 vback-porch = <1>;
118                                                 vfront-porch = <0>;
119                                                 hsync-len = <5>;
120                                                 vsync-len = <1>;
121                                                 hsync-active = <1>;
122                                                 vsync-active = <1>;
123                                         };
124                                 };
125                         };
126                 };
128                 ebi0: ebi@10000000 {
129                         status = "okay";
131                         nand_controller: nand-controller {
132                                 status = "okay";
133                                 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
134                                 pinctrl-names = "default";
136                                 nand@3 {
137                                         reg = <0x3 0x0 0x800000>;
138                                         rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
139                                         cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
140                                         nand-bus-width = <8>;
141                                         nand-ecc-mode = "soft";
142                                         nand-on-flash-bbt;
143                                         label = "atmel_nand";
145                                         partitions {
146                                                 compatible = "fixed-partitions";
147                                                 #address-cells = <1>;
148                                                 #size-cells = <1>;
150                                                 at91bootstrap@0 {
151                                                         label = "at91bootstrap";
152                                                         reg = <0x0 0x20000>;
153                                                 };
155                                                 barebox@20000 {
156                                                         label = "barebox";
157                                                         reg = <0x20000 0x40000>;
158                                                 };
160                                                 bareboxenv@60000 {
161                                                         label = "bareboxenv";
162                                                         reg = <0x60000 0x20000>;
163                                                 };
165                                                 bareboxenv2@80000 {
166                                                         label = "bareboxenv2";
167                                                         reg = <0x80000 0x20000>;
168                                                 };
170                                                 oftree@80000 {
171                                                         label = "oftree";
172                                                         reg = <0xa0000 0x20000>;
173                                                 };
175                                                 kernel@a0000 {
176                                                         label = "kernel";
177                                                         reg = <0xc0000 0x400000>;
178                                                 };
180                                                 rootfs@4a0000 {
181                                                         label = "rootfs";
182                                                         reg = <0x4c0000 0x7800000>;
183                                                 };
185                                                 data@7ca0000 {
186                                                         label = "data";
187                                                         reg = <0x7cc0000 0x8340000>;
188                                                 };
189                                         };
190                                 };
191                         };
192                 };
194                 usb0: ohci@00a00000 {
195                         num-ports = <2>;
196                         status = "okay";
197                         atmel,vbus-gpio = <&pioA 24 GPIO_ACTIVE_HIGH
198                                            &pioA 21 GPIO_ACTIVE_HIGH
199                                           >;
200                 };
201         };
203         leds {
204                 compatible = "gpio-leds";
206                 d3 {
207                         label = "d3";
208                         gpios = <&pioB 7 GPIO_ACTIVE_HIGH>;
209                         linux,default-trigger = "heartbeat";
210                 };
212                 d2 {
213                         label = "d2";
214                         gpios = <&pioC 29 GPIO_ACTIVE_LOW>;
215                         linux,default-trigger = "nand-disk";
216                 };
217         };
219         gpio_keys {
220                 compatible = "gpio-keys";
222                 left_click {
223                         label = "left_click";
224                         gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
225                         linux,code = <272>;
226                         wakeup-source;
227                 };
229                 right_click {
230                         label = "right_click";
231                         gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
232                         linux,code = <273>;
233                         wakeup-source;
234                 };
235         };
237         i2c-gpio-0 {
238                 status = "okay";
240                 24c512@50 {
241                         compatible = "24c512";
242                         reg = <0x50>;
243                         pagesize = <128>;
244                 };
245         };