ARM: at91: dt: at91sam9260: split rts and cts pinctrl not
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / at91sam9263ek.dts
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"
10
11 / {
12         model = "Atmel at91sam9263ek";
13         compatible = "atmel,at91sam9263ek", "atmel,at91sam9263", "atmel,at91sam9";
14
15         chosen {
16                 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
17         };
18
19         memory {
20                 reg = <0x20000000 0x4000000>;
21         };
22
23         clocks {
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26                 ranges;
27
28                 main_clock: clock@0 {
29                         compatible = "atmel,osc", "fixed-clock";
30                         clock-frequency = <16367660>;
31                 };
32         };
33
34         ahb {
35                 apb {
36                         dbgu: serial@ffffee00 {
37                                 status = "okay";
38                         };
39
40                         usart0: serial@fff8c000 {
41                                 pinctrl-0 = <
42                                         &pinctrl_usart0
43                                         &pinctrl_usart0_rts
44                                         &pinctrl_usart0_cts>;
45                                 status = "okay";
46                         };
47
48                         macb0: ethernet@fffbc000 {
49                                 phy-mode = "rmii";
50                                 status = "okay";
51                         };
52
53                         usb1: gadget@fff78000 {
54                                 atmel,vbus-gpio = <&pioA 25 0>;
55                                 status = "okay";
56                         };
57                 };
58
59                 nand0: nand@40000000 {
60                         nand-bus-width = <8>;
61                         nand-ecc-mode = "soft";
62                         nand-on-flash-bbt = <1>;
63                         status = "okay";
64
65                         at91bootstrap@0 {
66                                 label = "at91bootstrap";
67                                 reg = <0x0 0x20000>;
68                         };
69
70                         barebox@20000 {
71                                 label = "barebox";
72                                 reg = <0x20000 0x40000>;
73                         };
74
75                         bareboxenv@60000 {
76                                 label = "bareboxenv";
77                                 reg = <0x60000 0x20000>;
78                         };
79
80                         bareboxenv2@80000 {
81                                 label = "bareboxenv2";
82                                 reg = <0x80000 0x20000>;
83                         };
84
85                         oftree@80000 {
86                                 label = "oftree";
87                                 reg = <0xa0000 0x20000>;
88                         };
89
90                         kernel@a0000 {
91                                 label = "kernel";
92                                 reg = <0xc0000 0x400000>;
93                         };
94
95                         rootfs@4a0000 {
96                                 label = "rootfs";
97                                 reg = <0x4c0000 0x7800000>;
98                         };
99
100                         data@7ca0000 {
101                                 label = "data";
102                                 reg = <0x7cc0000 0x8340000>;
103                         };
104                 };
105
106                 usb0: ohci@00a00000 {
107                         num-ports = <2>;
108                         status = "okay";
109                         atmel,vbus-gpio = <&pioA 24 0
110                                            &pioA 21 0
111                                           >;
112                 };
113         };
114
115         leds {
116                 compatible = "gpio-leds";
117
118                 d3 {
119                         label = "d3";
120                         gpios = <&pioB 7 0>;
121                         linux,default-trigger = "heartbeat";
122                 };
123
124                 d2 {
125                         label = "d2";
126                         gpios = <&pioC 29 1>;
127                         linux,default-trigger = "nand-disk";
128                 };
129         };
130
131         gpio_keys {
132                 compatible = "gpio-keys";
133                 #address-cells = <1>;
134                 #size-cells = <0>;
135
136                 left_click {
137                         label = "left_click";
138                         gpios = <&pioC 5 1>;
139                         linux,code = <272>;
140                         gpio-key,wakeup;
141                 };
142
143                 right_click {
144                         label = "right_click";
145                         gpios = <&pioC 4 1>;
146                         linux,code = <273>;
147                         gpio-key,wakeup;
148                 };
149         };
150
151         i2c@0 {
152                 status = "okay";
153
154                 24c512@50 {
155                         compatible = "24c512";
156                         reg = <0x50>;
157                         pagesize = <128>;
158                 };
159         };
160 };