blob: 71d83ef316dfb59c1071fc3d159e9e9e518aa2d0 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARDfea31582011-10-14 09:40:52 +08001/*
2 * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
3 *
4 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
5 *
6 * Licensed under GPLv2 or later.
7 */
8/dts-v1/;
9/include/ "at91sam9g20.dtsi"
10
11/ {
12 model = "Calao USB A9G20";
13 compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9";
14
15 chosen {
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +080016 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
Jean-Christophe PLAGNIOL-VILLARDfea31582011-10-14 09:40:52 +080017 };
18
19 memory@20000000 {
20 reg = <0x20000000 0x4000000>;
21 };
22
23 ahb {
24 apb {
25 dbgu: serial@fffff200 {
26 status = "okay";
27 };
Nicolas Ferre0d4f99d2011-12-05 18:03:05 +010028
29 macb0: ethernet@fffc4000 {
30 phy-mode = "rmii";
31 status = "okay";
32 };
Jean-Christophe PLAGNIOL-VILLARDfea31582011-10-14 09:40:52 +080033 };
Jean-Christophe PLAGNIOL-VILLARDd6a01662012-01-26 02:11:06 +080034
35 nand0: nand@40000000 {
36 nand-bus-width = <8>;
37 nand-ecc-mode = "soft";
38 nand-on-flash-bbt;
39 status = "okay";
40
41 at91bootstrap@0 {
42 label = "at91bootstrap";
43 reg = <0x0 0x20000>;
44 };
45
46 barebox@20000 {
47 label = "barebox";
48 reg = <0x20000 0x40000>;
49 };
50
51 bareboxenv@60000 {
52 label = "bareboxenv";
53 reg = <0x60000 0x20000>;
54 };
55
56 bareboxenv2@80000 {
57 label = "bareboxenv2";
58 reg = <0x80000 0x20000>;
59 };
60
61 kernel@a0000 {
62 label = "kernel";
63 reg = <0xa0000 0x400000>;
64 };
65
66 rootfs@4a0000 {
67 label = "rootfs";
68 reg = <0x4a0000 0x7800000>;
69 };
70
71 data@7ca0000 {
72 label = "data";
73 reg = <0x7ca0000 0x8360000>;
74 };
75 };
Jean-Christophe PLAGNIOL-VILLARDfea31582011-10-14 09:40:52 +080076 };
Jean-Christophe PLAGNIOL-VILLARD4ea25652012-02-04 01:24:22 +080077
78 leds {
79 compatible = "gpio-leds";
80
81 user_led {
82 label = "user_led";
83 gpios = <&pioB 21 1>;
84 linux,default-trigger = "heartbeat";
85 };
86 };
Jean-Christophe PLAGNIOL-VILLARD2ea332d2012-02-04 12:43:10 +080087
88 gpio_keys {
89 compatible = "gpio-keys";
90 #address-cells = <1>;
91 #size-cells = <0>;
92
93 user_pb {
94 label = "user_pb";
95 gpios = <&pioB 10 1>;
96 linux,code = <28>;
97 gpio-key,wakeup;
98 };
99 };
Jean-Christophe PLAGNIOL-VILLARDfea31582011-10-14 09:40:52 +0800100};