blob: 8e319bbd7ae1ca2bdd2bf494b3b1b5e4be52dada [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD39f31cd2012-02-26 19:12:43 +08001/*
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 {
Jean-Christophe PLAGNIOL-VILLARDc58c0c52012-11-19 07:30:01 +080041 pinctrl-0 = <
42 &pinctrl_usart0
43 &pinctrl_usart0_rts
44 &pinctrl_usart0_cts>;
Jean-Christophe PLAGNIOL-VILLARD39f31cd2012-02-26 19:12:43 +080045 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 };
Ludovic Desroches4134a452012-11-19 12:24:02 +010057
58 mmc0: mmc@fff80000 {
59 status = "okay";
60 slot@0 {
61 reg = <0>;
62 bus-width = <4>;
63 cd-gpios = <&pioE 18 0>;
64 wp-gpios = <&pioE 19 0>;
65 };
66 };
Jean-Christophe PLAGNIOL-VILLARD39f31cd2012-02-26 19:12:43 +080067 };
68
69 nand0: nand@40000000 {
70 nand-bus-width = <8>;
71 nand-ecc-mode = "soft";
72 nand-on-flash-bbt = <1>;
73 status = "okay";
74
75 at91bootstrap@0 {
76 label = "at91bootstrap";
77 reg = <0x0 0x20000>;
78 };
79
80 barebox@20000 {
81 label = "barebox";
82 reg = <0x20000 0x40000>;
83 };
84
85 bareboxenv@60000 {
86 label = "bareboxenv";
87 reg = <0x60000 0x20000>;
88 };
89
90 bareboxenv2@80000 {
91 label = "bareboxenv2";
92 reg = <0x80000 0x20000>;
93 };
94
95 oftree@80000 {
96 label = "oftree";
97 reg = <0xa0000 0x20000>;
98 };
99
100 kernel@a0000 {
101 label = "kernel";
102 reg = <0xc0000 0x400000>;
103 };
104
105 rootfs@4a0000 {
106 label = "rootfs";
107 reg = <0x4c0000 0x7800000>;
108 };
109
110 data@7ca0000 {
111 label = "data";
112 reg = <0x7cc0000 0x8340000>;
113 };
114 };
115
116 usb0: ohci@00a00000 {
117 num-ports = <2>;
118 status = "okay";
119 atmel,vbus-gpio = <&pioA 24 0
120 &pioA 21 0
121 >;
122 };
123 };
124
125 leds {
126 compatible = "gpio-leds";
127
128 d3 {
129 label = "d3";
130 gpios = <&pioB 7 0>;
131 linux,default-trigger = "heartbeat";
132 };
133
134 d2 {
135 label = "d2";
136 gpios = <&pioC 29 1>;
137 linux,default-trigger = "nand-disk";
138 };
139 };
140
141 gpio_keys {
142 compatible = "gpio-keys";
143 #address-cells = <1>;
144 #size-cells = <0>;
145
146 left_click {
147 label = "left_click";
148 gpios = <&pioC 5 1>;
149 linux,code = <272>;
150 gpio-key,wakeup;
151 };
152
153 right_click {
154 label = "right_click";
155 gpios = <&pioC 4 1>;
156 linux,code = <273>;
157 gpio-key,wakeup;
158 };
159 };
160
161 i2c@0 {
162 status = "okay";
163
164 24c512@50 {
165 compatible = "24c512";
166 reg = <0x50>;
167 pagesize = <128>;
168 };
169 };
170};