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