]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/at91sam9263ek.dts
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
[karo-tx-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 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                                 status = "okay";
42                         };
43
44                         macb0: ethernet@fffbc000 {
45                                 phy-mode = "rmii";
46                                 status = "okay";
47                         };
48
49                         usb1: gadget@fff78000 {
50                                 atmel,vbus-gpio = <&pioA 25 0>;
51                                 status = "okay";
52                         };
53                 };
54
55                 nand0: nand@40000000 {
56                         nand-bus-width = <8>;
57                         nand-ecc-mode = "soft";
58                         nand-on-flash-bbt = <1>;
59                         status = "okay";
60
61                         at91bootstrap@0 {
62                                 label = "at91bootstrap";
63                                 reg = <0x0 0x20000>;
64                         };
65
66                         barebox@20000 {
67                                 label = "barebox";
68                                 reg = <0x20000 0x40000>;
69                         };
70
71                         bareboxenv@60000 {
72                                 label = "bareboxenv";
73                                 reg = <0x60000 0x20000>;
74                         };
75
76                         bareboxenv2@80000 {
77                                 label = "bareboxenv2";
78                                 reg = <0x80000 0x20000>;
79                         };
80
81                         oftree@80000 {
82                                 label = "oftree";
83                                 reg = <0xa0000 0x20000>;
84                         };
85
86                         kernel@a0000 {
87                                 label = "kernel";
88                                 reg = <0xc0000 0x400000>;
89                         };
90
91                         rootfs@4a0000 {
92                                 label = "rootfs";
93                                 reg = <0x4c0000 0x7800000>;
94                         };
95
96                         data@7ca0000 {
97                                 label = "data";
98                                 reg = <0x7cc0000 0x8340000>;
99                         };
100                 };
101
102                 usb0: ohci@00a00000 {
103                         num-ports = <2>;
104                         status = "okay";
105                         atmel,vbus-gpio = <&pioA 24 0
106                                            &pioA 21 0
107                                           >;
108                 };
109         };
110
111         leds {
112                 compatible = "gpio-leds";
113
114                 d3 {
115                         label = "d3";
116                         gpios = <&pioB 7 0>;
117                         linux,default-trigger = "heartbeat";
118                 };
119
120                 d2 {
121                         label = "d2";
122                         gpios = <&pioC 29 1>;
123                         linux,default-trigger = "nand-disk";
124                 };
125         };
126
127         gpio_keys {
128                 compatible = "gpio-keys";
129                 #address-cells = <1>;
130                 #size-cells = <0>;
131
132                 left_click {
133                         label = "left_click";
134                         gpios = <&pioC 5 1>;
135                         linux,code = <272>;
136                         gpio-key,wakeup;
137                 };
138
139                 right_click {
140                         label = "right_click";
141                         gpios = <&pioC 4 1>;
142                         linux,code = <273>;
143                         gpio-key,wakeup;
144                 };
145         };
146
147         i2c@0 {
148                 status = "okay";
149
150                 24c512@50 {
151                         compatible = "24c512";
152                         reg = <0x50>;
153                         pagesize = <128>;
154                 };
155         };
156 };