blob: d2d72c3b44c42bd45060dcc3b4566cb624c9b7f1 [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 };
28 };
29
30 ahb {
31 apb {
32 dbgu: serial@fffff200 {
33 status = "okay";
34 };
35
36 usart1: serial@fffc4000 {
37 pinctrl-0 =
38 <&pinctrl_uart1
39 &pinctrl_uart1_rts
40 &pinctrl_uart1_cts
41 &pinctrl_uart1_dtr_dsr
42 &pinctrl_uart1_dcd
43 &pinctrl_uart1_ri>;
44 status = "okay";
45 };
46
Joachim Eastwoodce3b2632012-12-04 19:10:59 +010047 macb0: ethernet@fffbc000 {
48 phy-mode = "rmii";
49 status = "okay";
50 };
51
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000052 usb1: gadget@fffb0000 {
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080053 atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000054 status = "okay";
55 };
Jean-Christophe PLAGNIOL-VILLARD26e33262013-06-17 14:38:28 +020056
57 spi0: spi@fffe0000 {
58 status = "okay";
59 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
60 mtd_dataflash@0 {
61 compatible = "atmel,at45", "atmel,dataflash";
62 spi-max-frequency = <15000000>;
63 reg = <0>;
64 };
65 };
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000066 };
67
68 usb0: ohci@00300000 {
69 num-ports = <2>;
70 status = "okay";
71 };
72 };
73
74 leds {
75 compatible = "gpio-leds";
76
77 ds2 {
78 label = "green";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080079 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000080 linux,default-trigger = "mmc0";
81 };
82
83 ds4 {
84 label = "yellow";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080085 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000086 linux,default-trigger = "heartbeat";
87 };
88
89 ds6 {
90 label = "red";
Jean-Christophe PLAGNIOL-VILLARD92f86292013-04-24 08:34:25 +080091 gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
Joachim Eastwoodc84ca7c2012-10-28 18:31:11 +000092 };
93 };
94};