Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / tny_a9263.dts
1 /*
2  * usb_a9263.dts - Device Tree file for Caloa USB A9293 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 = "Calao TNY A9263";
13         compatible = "atmel,tny-a9263", "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                 slow_xtal {
25                         clock-frequency = <32768>;
26                 };
27
28                 main_xtal {
29                         clock-frequency = <12000000>;
30                 };
31         };
32
33         ahb {
34                 apb {
35                         dbgu: serial@ffffee00 {
36                                 status = "okay";
37                         };
38
39                         usb1: gadget@fff78000 {
40                                 atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
41                                 status = "okay";
42                         };
43                 };
44
45                 ebi0: ebi@10000000 {
46                         status = "okay";
47
48                         nand_controller: nand-controller {
49                                 status = "okay";
50                                 pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
51                                 pinctrl-names = "default";
52
53                                 nand@3 {
54                                         reg = <0x3 0x0 0x800000>;
55                                         rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
56                                         cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
57                                         nand-bus-width = <8>;
58                                         nand-ecc-mode = "soft";
59                                         nand-on-flash-bbt;
60                                         label = "atmel_nand";
61
62                                         partitions {
63                                                 compatible = "fixed-partitions";
64                                                 #address-cells = <1>;
65                                                 #size-cells = <1>;
66
67                                                 at91bootstrap@0 {
68                                                         label = "at91bootstrap";
69                                                         reg = <0x0 0x20000>;
70                                                 };
71
72                                                 barebox@20000 {
73                                                         label = "barebox";
74                                                         reg = <0x20000 0x40000>;
75                                                 };
76
77                                                 bareboxenv@60000 {
78                                                         label = "bareboxenv";
79                                                         reg = <0x60000 0x20000>;
80                                                 };
81
82                                                 bareboxenv2@80000 {
83                                                         label = "bareboxenv2";
84                                                         reg = <0x80000 0x20000>;
85                                                 };
86
87                                                 oftree@80000 {
88                                                         label = "oftree";
89                                                         reg = <0xa0000 0x20000>;
90                                                 };
91
92                                                 kernel@a0000 {
93                                                         label = "kernel";
94                                                         reg = <0xc0000 0x400000>;
95                                                 };
96
97                                                 rootfs@4a0000 {
98                                                         label = "rootfs";
99                                                         reg = <0x4c0000 0x7800000>;
100                                                 };
101
102                                                 data@7ca0000 {
103                                                         label = "data";
104                                                         reg = <0x7cc0000 0x8340000>;
105                                                 };
106                                         };
107                                 };
108                         };
109                 };
110         };
111
112         i2c-gpio-0 {
113                 status = "okay";
114         };
115 };