Merge tag 'kvm-4.3-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[deliverable/linux.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 root=/dev/mtdblock5 rw rootfstype=ubifs";
17 stdout-path = "serial0:115200n8";
18 };
19
20 memory {
21 reg = <0x20000000 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 = <16367660>;
32 };
33
34 slow_xtal {
35 clock-frequency = <32768>;
36 };
37
38 main_xtal {
39 clock-frequency = <16367660>;
40 };
41 };
42
43 ahb {
44 apb {
45 dbgu: serial@ffffee00 {
46 status = "okay";
47 };
48
49 usart0: serial@fff8c000 {
50 pinctrl-0 = <
51 &pinctrl_usart0
52 &pinctrl_usart0_rts
53 &pinctrl_usart0_cts>;
54 status = "okay";
55 };
56
57 macb0: ethernet@fffbc000 {
58 phy-mode = "rmii";
59 status = "okay";
60 };
61
62 usb1: gadget@fff78000 {
63 atmel,vbus-gpio = <&pioA 25 GPIO_ACTIVE_HIGH>;
64 status = "okay";
65 };
66
67 mmc0: mmc@fff80000 {
68 pinctrl-0 = <
69 &pinctrl_board_mmc0
70 &pinctrl_mmc0_clk
71 &pinctrl_mmc0_slot0_cmd_dat0
72 &pinctrl_mmc0_slot0_dat1_3>;
73 status = "okay";
74 slot@0 {
75 reg = <0>;
76 bus-width = <4>;
77 cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>;
78 wp-gpios = <&pioE 19 GPIO_ACTIVE_HIGH>;
79 };
80 };
81
82 pinctrl@fffff200 {
83 mmc0 {
84 pinctrl_board_mmc0: mmc0-board {
85 atmel,pins =
86 <AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PE18 gpio CD pin pull up and deglitch */
87 AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PE19 gpio WP pin pull up */
88 };
89 };
90 };
91
92 spi0: spi@fffa4000 {
93 status = "okay";
94 cs-gpios = <&pioA 5 0>, <0>, <0>, <0>;
95 mtd_dataflash@0 {
96 compatible = "atmel,at45", "atmel,dataflash";
97 spi-max-frequency = <50000000>;
98 reg = <0>;
99 };
100 };
101
102 watchdog@fffffd40 {
103 status = "okay";
104 };
105 };
106
107 fb0: fb@0x00700000 {
108 display = <&display0>;
109 status = "okay";
110
111 display0: display {
112 bits-per-pixel = <16>;
113 atmel,lcdcon-backlight;
114 atmel,dmacon = <0x1>;
115 atmel,lcdcon2 = <0x80008002>;
116 atmel,guard-time = <1>;
117
118 display-timings {
119 native-mode = <&timing0>;
120 timing0: timing0 {
121 clock-frequency = <4965000>;
122 hactive = <240>;
123 vactive = <320>;
124 hback-porch = <1>;
125 hfront-porch = <33>;
126 vback-porch = <1>;
127 vfront-porch = <0>;
128 hsync-len = <5>;
129 vsync-len = <1>;
130 hsync-active = <1>;
131 vsync-active = <1>;
132 };
133 };
134 };
135 };
136
137 nand0: nand@40000000 {
138 nand-bus-width = <8>;
139 nand-ecc-mode = "soft";
140 nand-on-flash-bbt = <1>;
141 status = "okay";
142
143 at91bootstrap@0 {
144 label = "at91bootstrap";
145 reg = <0x0 0x20000>;
146 };
147
148 barebox@20000 {
149 label = "barebox";
150 reg = <0x20000 0x40000>;
151 };
152
153 bareboxenv@60000 {
154 label = "bareboxenv";
155 reg = <0x60000 0x20000>;
156 };
157
158 bareboxenv2@80000 {
159 label = "bareboxenv2";
160 reg = <0x80000 0x20000>;
161 };
162
163 oftree@80000 {
164 label = "oftree";
165 reg = <0xa0000 0x20000>;
166 };
167
168 kernel@a0000 {
169 label = "kernel";
170 reg = <0xc0000 0x400000>;
171 };
172
173 rootfs@4a0000 {
174 label = "rootfs";
175 reg = <0x4c0000 0x7800000>;
176 };
177
178 data@7ca0000 {
179 label = "data";
180 reg = <0x7cc0000 0x8340000>;
181 };
182 };
183
184 usb0: ohci@00a00000 {
185 num-ports = <2>;
186 status = "okay";
187 atmel,vbus-gpio = <&pioA 24 GPIO_ACTIVE_HIGH
188 &pioA 21 GPIO_ACTIVE_HIGH
189 >;
190 };
191 };
192
193 leds {
194 compatible = "gpio-leds";
195
196 d3 {
197 label = "d3";
198 gpios = <&pioB 7 GPIO_ACTIVE_HIGH>;
199 linux,default-trigger = "heartbeat";
200 };
201
202 d2 {
203 label = "d2";
204 gpios = <&pioC 29 GPIO_ACTIVE_LOW>;
205 linux,default-trigger = "nand-disk";
206 };
207 };
208
209 gpio_keys {
210 compatible = "gpio-keys";
211
212 left_click {
213 label = "left_click";
214 gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
215 linux,code = <272>;
216 gpio-key,wakeup;
217 };
218
219 right_click {
220 label = "right_click";
221 gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
222 linux,code = <273>;
223 gpio-key,wakeup;
224 };
225 };
226
227 i2c@0 {
228 status = "okay";
229
230 24c512@50 {
231 compatible = "24c512";
232 reg = <0x50>;
233 pagesize = <128>;
234 };
235 };
236 };
This page took 0.046634 seconds and 5 git commands to generate.