x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / at91sam9m10g45ek.dts
blob2400c99134f7f516e97af8234d89b8d3098196bd
1 /*
2  * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
3  *
4  *  Copyright (C) 2011 Atmel,
5  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
6  *
7  * Licensed under GPLv2 or later.
8  */
9 /dts-v1/;
10 #include "at91sam9g45.dtsi"
11 #include <dt-bindings/pwm/pwm.h>
13 / {
14         model = "Atmel AT91SAM9M10G45-EK";
15         compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
17         chosen {
18                 bootargs = "mem=64M root=/dev/mtdblock1 rw rootfstype=jffs2";
19                 stdout-path = "serial0:115200n8";
20         };
22         memory {
23                 reg = <0x70000000 0x4000000>;
24         };
26         clocks {
27                 slow_xtal {
28                       clock-frequency = <32768>;
29                 };
31                 main_xtal {
32                       clock-frequency = <12000000>;
33                 };
34         };
36         ahb {
37                 apb {
38                         dbgu: serial@ffffee00 {
39                                 status = "okay";
40                         };
42                         usart1: serial@fff90000 {
43                                 pinctrl-0 =
44                                         <&pinctrl_usart1
45                                          &pinctrl_usart1_rts
46                                          &pinctrl_usart1_cts>;
47                                 status = "okay";
48                         };
50                         macb0: ethernet@fffbc000 {
51                                 phy-mode = "rmii";
52                                 status = "okay";
53                         };
55                         i2c0: i2c@fff84000 {
56                                 status = "okay";
57                                 ov2640: camera@30 {
58                                         compatible = "ovti,ov2640";
59                                         reg = <0x30>;
60                                         pinctrl-names = "default";
61                                         pinctrl-0 = <&pinctrl_pck1_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
62                                         resetb-gpios = <&pioD 12 GPIO_ACTIVE_LOW>;
63                                         pwdn-gpios = <&pioD 13 GPIO_ACTIVE_HIGH>;
64                                         clocks = <&pck1>;
65                                         clock-names = "xvclk";
66                                         assigned-clocks = <&pck1>;
67                                         assigned-clock-rates = <25000000>;
69                                         port {
70                                                 ov2640_0: endpoint {
71                                                         remote-endpoint = <&isi_0>;
72                                                         bus-width = <8>;
73                                                 };
74                                         };
75                                 };
76                         };
78                         i2c1: i2c@fff88000 {
79                                 status = "okay";
80                         };
82                         watchdog@fffffd40 {
83                                 status = "okay";
84                         };
86                         mmc0: mmc@fff80000 {
87                                 pinctrl-0 = <
88                                         &pinctrl_board_mmc0
89                                         &pinctrl_mmc0_slot0_clk_cmd_dat0
90                                         &pinctrl_mmc0_slot0_dat1_3>;
91                                 status = "okay";
92                                 slot@0 {
93                                         reg = <0>;
94                                         bus-width = <4>;
95                                         cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
96                                 };
97                         };
99                         mmc1: mmc@fffd0000 {
100                                 pinctrl-0 = <
101                                         &pinctrl_board_mmc1
102                                         &pinctrl_mmc1_slot0_clk_cmd_dat0
103                                         &pinctrl_mmc1_slot0_dat1_3>;
104                                 status = "okay";
105                                 slot@0 {
106                                         reg = <0>;
107                                         bus-width = <4>;
108                                         cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
109                                         wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
110                                 };
111                         };
113                         pinctrl@fffff200 {
114                                 camera_sensor {
115                                         pinctrl_pck1_as_isi_mck: pck1_as_isi_mck-0 {
116                                                 atmel,pins =
117                                                         <AT91_PIOB 31 AT91_PERIPH_B AT91_PINCTRL_NONE>;
118                                         };
120                                         pinctrl_sensor_reset: sensor_reset-0 {
121                                                 atmel,pins =
122                                                         <AT91_PIOD 12 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
123                                         };
125                                         pinctrl_sensor_power: sensor_power-0 {
126                                                 atmel,pins =
127                                                         <AT91_PIOD 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
128                                         };
129                                 };
130                                 mmc0 {
131                                         pinctrl_board_mmc0: mmc0-board {
132                                                 atmel,pins =
133                                                         <AT91_PIOD 10 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;  /* PD10 gpio CD pin pull up and deglitch */
134                                         };
135                                 };
137                                 mmc1 {
138                                         pinctrl_board_mmc1: mmc1-board {
139                                                 atmel,pins =
140                                                         <AT91_PIOD 11 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH    /* PD11 gpio CD pin pull up and deglitch */
141                                                          AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;   /* PD29 gpio WP pin pull up */
142                                         };
143                                 };
145                                 pwm0 {
146                                         pinctrl_pwm_leds: pwm-led {
147                                                 atmel,pins =
148                                                         <AT91_PIOD 0  AT91_PERIPH_B AT91_PINCTRL_PULL_UP        /* PD0 periph B */
149                                                          AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;      /* PD31 periph B */
150                                         };
151                                 };
152                         };
154                         spi0: spi@fffa4000{
155                                 status = "okay";
156                                 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
157                                 mtd_dataflash@0 {
158                                         compatible = "atmel,at45", "atmel,dataflash";
159                                         spi-max-frequency = <13000000>;
160                                         reg = <0>;
161                                 };
162                         };
164                         usb2: gadget@fff78000 {
165                                 atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
166                                 status = "okay";
167                         };
169                         adc0: adc@fffb0000 {
170                                 pinctrl-names = "default";
171                                 pinctrl-0 = <
172                                         &pinctrl_adc0_ad0
173                                         &pinctrl_adc0_ad1
174                                         &pinctrl_adc0_ad2
175                                         &pinctrl_adc0_ad3
176                                         &pinctrl_adc0_ad4
177                                         &pinctrl_adc0_ad5
178                                         &pinctrl_adc0_ad6
179                                         &pinctrl_adc0_ad7>;
180                                 atmel,adc-ts-wires = <4>;
181                                 status = "okay";
182                         };
184                         isi@fffb4000 {
185                                 pinctrl-names = "default";
186                                 pinctrl-0 = <&pinctrl_isi_data_0_7>;
187                                 status = "okay";
188                                 port {
189                                         isi_0: endpoint {
190                                                 remote-endpoint = <&ov2640_0>;
191                                                 bus-width = <8>;
192                                                 vsync-active = <1>;
193                                                 hsync-active = <1>;
194                                         };
195                                 };
196                         };
198                         pwm0: pwm@fffb8000 {
199                                 status = "okay";
201                                 pinctrl-names = "default";
202                                 pinctrl-0 = <&pinctrl_pwm_leds>;
203                         };
205                         rtc@fffffd20 {
206                                 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
207                                 status = "okay";
208                         };
210                         gpbr: syscon@fffffd60 {
211                                 status = "okay";
212                         };
214                         rtc@fffffdb0 {
215                                 status = "okay";
216                         };
217                 };
219                 fb0: fb@0x00500000 {
220                         display = <&display0>;
221                         status = "okay";
223                         display0: display {
224                                 bits-per-pixel = <32>;
225                                 atmel,lcdcon-backlight;
226                                 atmel,dmacon = <0x1>;
227                                 atmel,lcdcon2 = <0x80008002>;
228                                 atmel,guard-time = <9>;
229                                 atmel,lcd-wiring-mode = "RGB";
231                                 display-timings {
232                                         native-mode = <&timing0>;
233                                         timing0: timing0 {
234                                                 clock-frequency = <9000000>;
235                                                 hactive = <480>;
236                                                 vactive = <272>;
237                                                 hback-porch = <1>;
238                                                 hfront-porch = <1>;
239                                                 vback-porch = <40>;
240                                                 vfront-porch = <1>;
241                                                 hsync-len = <45>;
242                                                 vsync-len = <1>;
243                                         };
244                                 };
245                         };
246                 };
248                 nand0: nand@40000000 {
249                         nand-bus-width = <8>;
250                         nand-ecc-mode = "soft";
251                         nand-on-flash-bbt;
252                         status = "okay";
254                         boot@0 {
255                                 label = "bootstrap/uboot/kernel";
256                                 reg = <0x0 0x400000>;
257                         };
259                         rootfs@400000 {
260                                 label = "rootfs";
261                                 reg = <0x400000 0x3C00000>;
262                         };
264                         data@4000000 {
265                                 label = "data";
266                                 reg = <0x4000000 0xC000000>;
267                         };
268                 };
270                 usb0: ohci@00700000 {
271                         status = "okay";
272                         num-ports = <2>;
273                         atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
274                                            &pioD 3 GPIO_ACTIVE_LOW>;
275                 };
277                 usb1: ehci@00800000 {
278                         status = "okay";
279                 };
280         };
282         leds {
283                 compatible = "gpio-leds";
285                 d8 {
286                         label = "d8";
287                         gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
288                         linux,default-trigger = "heartbeat";
289                 };
290         };
292         pwmleds {
293                 compatible = "pwm-leds";
295                 d6 {
296                         label = "d6";
297                         pwms = <&pwm0 3 5000 PWM_POLARITY_INVERTED>;
298                         max-brightness = <255>;
299                         linux,default-trigger = "nand-disk";
300                 };
302                 d7 {
303                         label = "d7";
304                         pwms = <&pwm0 1 5000 PWM_POLARITY_INVERTED>;
305                         max-brightness = <255>;
306                         linux,default-trigger = "mmc0";
307                 };
308         };
310         gpio_keys {
311                 compatible = "gpio-keys";
313                 left_click {
314                         label = "left_click";
315                         gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
316                         linux,code = <272>;
317                         wakeup-source;
318                 };
320                 right_click {
321                         label = "right_click";
322                         gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
323                         linux,code = <273>;
324                         wakeup-source;
325                 };
327                 left {
328                         label = "Joystick Left";
329                         gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
330                         linux,code = <105>;
331                 };
333                 right {
334                         label = "Joystick Right";
335                         gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
336                         linux,code = <106>;
337                 };
339                 up {
340                         label = "Joystick Up";
341                         gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
342                         linux,code = <103>;
343                 };
345                 down {
346                         label = "Joystick Down";
347                         gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
348                         linux,code = <108>;
349                 };
351                 enter {
352                         label = "Joystick Press";
353                         gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
354                         linux,code = <28>;
355                 };
356         };