blob: 2a5d21247d7ea38a40440e75c009e6f92ee252f2 [file] [log] [blame]
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +00001/*
2 * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit
3 *
4 * Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com>
5 *
6 * Licensed under GPLv2 only
7 */
8/dts-v1/;
Jean-Christophe PLAGNIOL-VILLARD6db64d22013-05-15 01:21:50 +08009#include "at91rm9200.dtsi"
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000010
11/ {
12 model = "Atmel AT91RM9200 evaluation kit";
13 compatible = "atmel,at91rm9200ek", "atmel,at91rm9200";
14
15 memory {
16 reg = <0x20000000 0x4000000>;
17 };
18
19 clocks {
20 #address-cells = <1>;
21 #size-cells = <1>;
22 ranges;
23
24 main_clock: clock@0 {
25 compatible = "atmel,osc", "fixed-clock";
26 clock-frequency = <18432000>;
27 };
Alexandre Belloni94788112014-06-18 21:11:37 +020028
29 slow_xtal {
30 clock-frequency = <32768>;
31 };
32
33 main_xtal {
34 clock-frequency = <18432000>;
35 };
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000036 };
37
38 ahb {
39 apb {
Nicolas Ferreca594842013-12-09 14:42:50 +010040 usb1: gadget@fffb0000 {
41 atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
42 atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000043 status = "okay";
44 };
45
Joachim Eastwoodce3b2632012-12-04 19:10:59 +010046 macb0: ethernet@fffbc000 {
47 phy-mode = "rmii";
48 status = "okay";
Boris BREZILLON44fa0542013-08-28 13:03:39 +020049
50 phy0: ethernet-phy {
51 interrupt-parent = <&pioC>;
52 interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
53 };
Joachim Eastwoodce3b2632012-12-04 19:10:59 +010054 };
55
Nicolas Ferreca594842013-12-09 14:42:50 +010056 usart1: serial@fffc4000 {
57 pinctrl-0 =
58 <&pinctrl_uart1
59 &pinctrl_uart1_rts
60 &pinctrl_uart1_cts
61 &pinctrl_uart1_dtr_dsr
62 &pinctrl_uart1_dcd
63 &pinctrl_uart1_ri>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000064 status = "okay";
65 };
Jean-Christophe PLAGNIOL-VILLARD26e33262013-06-17 14:38:28 +020066
67 spi0: spi@fffe0000 {
68 status = "okay";
69 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
70 mtd_dataflash@0 {
71 compatible = "atmel,at45", "atmel,dataflash";
72 spi-max-frequency = <15000000>;
73 reg = <0>;
74 };
75 };
Nicolas Ferreca594842013-12-09 14:42:50 +010076
77 dbgu: serial@fffff200 {
78 status = "okay";
79 };
Alexandre Belloni74335f42015-01-13 19:12:23 +010080
81 rtc: rtc@fffffe00 {
82 status = "okay";
83 };
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000084 };
85
86 usb0: ohci@00300000 {
87 num-ports = <2>;
88 status = "okay";
89 };
Jean-Christophe PLAGNIOL-VILLARDc8b3cc52013-11-15 15:49:56 +010090
91 nor_flash@10000000 {
92 compatible = "cfi-flash";
93 reg = <0x10000000 0x800000>;
94 linux,mtd-name = "physmap-flash.0";
95 bank-width = <2>;
96 #address-cells = <1>;
97 #size-cells = <1>;
98
99 barebox@0 {
100 label = "barebox";
101 reg = <0x00000 0x40000>;
102 };
103
104 bareboxenv@40000 {
105 label = "bareboxenv";
106 reg = <0x40000 0x10000>;
107 };
108
109 kernel@50000 {
110 label = "kernel";
111 reg = <0x50000 0x300000>;
112 };
113
114 root@350000 {
115 label = "root";
116 reg = <0x350000 0x4B0000>;
117 };
118 };
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +0000119 };
120
121 leds {
122 compatible = "gpio-leds";
123
124 ds2 {
125 label = "green";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800126 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +0000127 linux,default-trigger = "mmc0";
128 };
129
130 ds4 {
131 label = "yellow";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800132 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +0000133 linux,default-trigger = "heartbeat";
134 };
135
136 ds6 {
137 label = "red";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +0800138 gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +0000139 };
140 };
141};