blob: e7eb9ae295549684a740010bbf0752a37da2e808 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD1fb4f712012-04-12 18:01:33 +08001/*
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/;
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +08009#include "at91sam9263.dtsi"
Jean-Christophe PLAGNIOL-VILLARD1fb4f712012-04-12 18:01:33 +080010
11/ {
12 model = "Calao USB A9263";
13 compatible = "atmel,usb-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 #address-cells = <1>;
25 #size-cells = <1>;
26 ranges;
27
28 main_clock: clock@0 {
29 compatible = "atmel,osc", "fixed-clock";
30 clock-frequency = <12000000>;
31 };
32 };
33
34 ahb {
35 apb {
36 dbgu: serial@ffffee00 {
37 status = "okay";
38 };
39
40 macb0: ethernet@fffbc000 {
41 phy-mode = "rmii";
42 status = "okay";
43 };
44
45 usb1: gadget@fff78000 {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080046 atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
Jean-Christophe PLAGNIOL-VILLARD1fb4f712012-04-12 18:01:33 +080047 status = "okay";
48 };
49
Jean-Christophe PLAGNIOL-VILLARD3e0afe62013-05-24 06:49:43 +080050 shdwc@fffffd10 {
51 atmel,wakeup-counter = <10>;
52 atmel,wakeup-rtt-timer;
53 };
Jean-Christophe PLAGNIOL-VILLARD1fb4f712012-04-12 18:01:33 +080054 };
55
56 nand0: nand@40000000 {
57 nand-bus-width = <8>;
58 nand-ecc-mode = "soft";
59 nand-on-flash-bbt;
60 status = "okay";
61
62 at91bootstrap@0 {
63 label = "at91bootstrap";
64 reg = <0x0 0x20000>;
65 };
66
67 barebox@20000 {
68 label = "barebox";
69 reg = <0x20000 0x40000>;
70 };
71
72 bareboxenv@60000 {
73 label = "bareboxenv";
74 reg = <0x60000 0x20000>;
75 };
76
77 bareboxenv2@80000 {
78 label = "bareboxenv2";
79 reg = <0x80000 0x20000>;
80 };
81
82 oftree@80000 {
83 label = "oftree";
84 reg = <0xa0000 0x20000>;
85 };
86
87 kernel@a0000 {
88 label = "kernel";
89 reg = <0xc0000 0x400000>;
90 };
91
92 rootfs@4a0000 {
93 label = "rootfs";
94 reg = <0x4c0000 0x7800000>;
95 };
96
97 data@7ca0000 {
98 label = "data";
99 reg = <0x7cc0000 0x8340000>;
100 };
101 };
102
103 usb0: ohci@00a00000 {
104 num-ports = <2>;
105 status = "okay";
106 };
107 };
108
109 leds {
110 compatible = "gpio-leds";
111
112 user_led {
113 label = "user_led";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800114 gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
Jean-Christophe PLAGNIOL-VILLARD1fb4f712012-04-12 18:01:33 +0800115 linux,default-trigger = "heartbeat";
116 };
117 };
118
119 gpio_keys {
120 compatible = "gpio-keys";
121 #address-cells = <1>;
122 #size-cells = <0>;
123
124 user_pb {
125 label = "user_pb";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800126 gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
Jean-Christophe PLAGNIOL-VILLARD1fb4f712012-04-12 18:01:33 +0800127 linux,code = <28>;
128 gpio-key,wakeup;
129 };
130 };
131
132 i2c@0 {
133 status = "okay";
134 };
135};