ARM: vexpress: Add missing SP804 interrupt in motherboard's DTS files
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / at91sam9m10g45ek.dts
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
12 / {
13         model = "Atmel AT91SAM9M10G45-EK";
14         compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9";
15
16         chosen {
17                 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
18         };
19
20         memory {
21                 reg = <0x70000000 0x4000000>;
22         };
23
24         clocks {
25                 #address-cells = <1>;
26                 #size-cells = <1>;
27                 ranges;
28
29                 main_clock: clock@0 {
30                         compatible = "atmel,osc", "fixed-clock";
31                         clock-frequency = <12000000>;
32                 };
33         };
34
35         ahb {
36                 apb {
37                         dbgu: serial@ffffee00 {
38                                 status = "okay";
39                         };
40
41                         usart1: serial@fff90000 {
42                                 status = "okay";
43                         };
44
45                         macb0: ethernet@fffbc000 {
46                                 phy-mode = "rmii";
47                                 status = "okay";
48                         };
49                 };
50
51                 nand0: nand@40000000 {
52                         nand-bus-width = <8>;
53                         nand-ecc-mode = "soft";
54                         nand-on-flash-bbt;
55                         status = "okay";
56
57                         boot@0 {
58                                 label = "bootstrap/uboot/kernel";
59                                 reg = <0x0 0x400000>;
60                         };
61
62                         rootfs@400000 {
63                                 label = "rootfs";
64                                 reg = <0x400000 0x3C00000>;
65                         };
66
67                         data@4000000 {
68                                 label = "data";
69                                 reg = <0x4000000 0xC000000>;
70                         };
71                 };
72
73                 usb0: ohci@00700000 {
74                         status = "okay";
75                         num-ports = <2>;
76                         atmel,vbus-gpio = <&pioD 1 1
77                                            &pioD 3 1>;
78                 };
79
80                 usb1: ehci@00800000 {
81                         status = "okay";
82                 };
83         };
84
85         leds {
86                 compatible = "gpio-leds";
87
88                 d8 {
89                         label = "d8";
90                         gpios = <&pioD 30 0>;
91                         linux,default-trigger = "heartbeat";
92                 };
93
94                 d6 {
95                         label = "d6";
96                         gpios = <&pioD 0 1>;
97                         linux,default-trigger = "nand-disk";
98                 };
99
100                 d7 {
101                         label = "d7";
102                         gpios = <&pioD 31 1>;
103                         linux,default-trigger = "mmc0";
104                 };
105         };
106
107         gpio_keys {
108                 compatible = "gpio-keys";
109                 #address-cells = <1>;
110                 #size-cells = <0>;
111
112                 left_click {
113                         label = "left_click";
114                         gpios = <&pioB 6 1>;
115                         linux,code = <272>;
116                         gpio-key,wakeup;
117                 };
118
119                 right_click {
120                         label = "right_click";
121                         gpios = <&pioB 7 1>;
122                         linux,code = <273>;
123                         gpio-key,wakeup;
124                 };
125
126                 left {
127                         label = "Joystick Left";
128                         gpios = <&pioB 14 1>;
129                         linux,code = <105>;
130                 };
131
132                 right {
133                         label = "Joystick Right";
134                         gpios = <&pioB 15 1>;
135                         linux,code = <106>;
136                 };
137
138                 up {
139                         label = "Joystick Up";
140                         gpios = <&pioB 16 1>;
141                         linux,code = <103>;
142                 };
143
144                 down {
145                         label = "Joystick Down";
146                         gpios = <&pioB 17 1>;
147                         linux,code = <108>;
148                 };
149
150                 enter {
151                         label = "Joystick Press";
152                         gpios = <&pioB 18 1>;
153                         linux,code = <28>;
154                 };
155         };
156 };