ARM: at91: dt: at91sam9260: split rts and cts pinctrl not
[linux-2.6.git] / arch / arm / boot / dts / at91sam9g20ek_common.dtsi
blob59244d9d3273ab601694c28b71463283dfdbe1ac
1 /*
2  * at91sam9g20ek_common.dtsi - Device Tree file for Atmel at91sam9g20ek board
3  *
4  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5  *
6  * Licensed under GPLv2.
7  */
8 /include/ "at91sam9g20.dtsi"
10 / {
12         chosen {
13                 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
14         };
16         memory {
17                 reg = <0x20000000 0x4000000>;
18         };
20         clocks {
21                 #address-cells = <1>;
22                 #size-cells = <1>;
23                 ranges;
25                 main_clock: clock@0 {
26                         compatible = "atmel,osc", "fixed-clock";
27                         clock-frequency = <18432000>;
28                 };
29         };
31         ahb {
32                 apb {
33                         dbgu: serial@fffff200 {
34                                 status = "okay";
35                         };
37                         usart0: serial@fffb0000 {
38                                 pinctrl-0 =
39                                         <&pinctrl_usart0
40                                          &pinctrl_usart0_rts
41                                          &pinctrl_usart0_cts
42                                          &pinctrl_usart0_dtr_dsr
43                                          &pinctrl_usart0_dcd
44                                          &pinctrl_usart0_ri>;
45                                 status = "okay";
46                         };
48                         usart1: serial@fffb4000 {
49                                 status = "okay";
50                         };
52                         macb0: ethernet@fffc4000 {
53                                 phy-mode = "rmii";
54                                 status = "okay";
55                         };
57                         usb1: gadget@fffa4000 {
58                                 atmel,vbus-gpio = <&pioC 5 0>;
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                         at91bootstrap@0 {
70                                 label = "at91bootstrap";
71                                 reg = <0x0 0x20000>;
72                         };
74                         barebox@20000 {
75                                 label = "barebox";
76                                 reg = <0x20000 0x40000>;
77                         };
79                         bareboxenv@60000 {
80                                 label = "bareboxenv";
81                                 reg = <0x60000 0x20000>;
82                         };
84                         bareboxenv2@80000 {
85                                 label = "bareboxenv2";
86                                 reg = <0x80000 0x20000>;
87                         };
89                         oftree@80000 {
90                                 label = "oftree";
91                                 reg = <0xa0000 0x20000>;
92                         };
94                         kernel@a0000 {
95                                 label = "kernel";
96                                 reg = <0xc0000 0x400000>;
97                         };
99                         rootfs@4a0000 {
100                                 label = "rootfs";
101                                 reg = <0x4c0000 0x7800000>;
102                         };
104                         data@7ca0000 {
105                                 label = "data";
106                                 reg = <0x7cc0000 0x8340000>;
107                         };
108                 };
110                 usb0: ohci@00500000 {
111                         num-ports = <2>;
112                         status = "okay";
113                 };
114         };
116         i2c@0 {
117                 status = "okay";
119                 24c512@50 {
120                         compatible = "24c512";
121                         reg = <0x50>;
122                 };
124                 wm8731@1b {
125                         compatible = "wm8731";
126                         reg = <0x1b>;
127                 };
128         };
130         gpio_keys {
131                 compatible = "gpio-keys";
132                 #address-cells = <1>;
133                 #size-cells = <0>;
135                 btn3 {
136                         label = "Buttin 3";
137                         gpios = <&pioA 30 1>;
138                         linux,code = <0x103>;
139                         gpio-key,wakeup;
140                 };
142                 btn4 {
143                         label = "Buttin 4";
144                         gpios = <&pioA 31 1>;
145                         linux,code = <0x104>;
146                         gpio-key,wakeup;
147                 };
148         };