arm: at91: dt: sam9263ek: use rts/cts pinctrl group for uart0
[linux-2.6.git] / arch / arm / boot / dts / at91sam9263ek.dts
blob7cfe9d521f1262d8e7c6d13873e792c594f88858
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 console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
17         };
19         memory {
20                 reg = <0x20000000 0x4000000>;
21         };
23         clocks {
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26                 ranges;
28                 main_clock: clock@0 {
29                         compatible = "atmel,osc", "fixed-clock";
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 = <&pinctrl_uart0 &pinctrl_uart0_rts_cts>;
42                                 status = "okay";
43                         };
45                         macb0: ethernet@fffbc000 {
46                                 phy-mode = "rmii";
47                                 status = "okay";
48                         };
50                         usb1: gadget@fff78000 {
51                                 atmel,vbus-gpio = <&pioA 25 0>;
52                                 status = "okay";
53                         };
54                 };
56                 nand0: nand@40000000 {
57                         nand-bus-width = <8>;
58                         nand-ecc-mode = "soft";
59                         nand-on-flash-bbt = <1>;
60                         status = "okay";
62                         at91bootstrap@0 {
63                                 label = "at91bootstrap";
64                                 reg = <0x0 0x20000>;
65                         };
67                         barebox@20000 {
68                                 label = "barebox";
69                                 reg = <0x20000 0x40000>;
70                         };
72                         bareboxenv@60000 {
73                                 label = "bareboxenv";
74                                 reg = <0x60000 0x20000>;
75                         };
77                         bareboxenv2@80000 {
78                                 label = "bareboxenv2";
79                                 reg = <0x80000 0x20000>;
80                         };
82                         oftree@80000 {
83                                 label = "oftree";
84                                 reg = <0xa0000 0x20000>;
85                         };
87                         kernel@a0000 {
88                                 label = "kernel";
89                                 reg = <0xc0000 0x400000>;
90                         };
92                         rootfs@4a0000 {
93                                 label = "rootfs";
94                                 reg = <0x4c0000 0x7800000>;
95                         };
97                         data@7ca0000 {
98                                 label = "data";
99                                 reg = <0x7cc0000 0x8340000>;
100                         };
101                 };
103                 usb0: ohci@00a00000 {
104                         num-ports = <2>;
105                         status = "okay";
106                         atmel,vbus-gpio = <&pioA 24 0
107                                            &pioA 21 0
108                                           >;
109                 };
110         };
112         leds {
113                 compatible = "gpio-leds";
115                 d3 {
116                         label = "d3";
117                         gpios = <&pioB 7 0>;
118                         linux,default-trigger = "heartbeat";
119                 };
121                 d2 {
122                         label = "d2";
123                         gpios = <&pioC 29 1>;
124                         linux,default-trigger = "nand-disk";
125                 };
126         };
128         gpio_keys {
129                 compatible = "gpio-keys";
130                 #address-cells = <1>;
131                 #size-cells = <0>;
133                 left_click {
134                         label = "left_click";
135                         gpios = <&pioC 5 1>;
136                         linux,code = <272>;
137                         gpio-key,wakeup;
138                 };
140                 right_click {
141                         label = "right_click";
142                         gpios = <&pioC 4 1>;
143                         linux,code = <273>;
144                         gpio-key,wakeup;
145                 };
146         };
148         i2c@0 {
149                 status = "okay";
151                 24c512@50 {
152                         compatible = "24c512";
153                         reg = <0x50>;
154                         pagesize = <128>;
155                 };
156         };