at91rm9200ek.dts revision 270864
1262569Simp/*
2262569Simp * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit
3262569Simp *
4262569Simp *  Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com>
5262569Simp *
6262569Simp * Licensed under GPLv2 only
7262569Simp */
8262569Simp/dts-v1/;
9262569Simp#include "at91rm9200.dtsi"
10262569Simp
11262569Simp/ {
12262569Simp	model = "Atmel AT91RM9200 evaluation kit";
13262569Simp	compatible = "atmel,at91rm9200ek", "atmel,at91rm9200";
14262569Simp
15262569Simp	memory {
16262569Simp		reg = <0x20000000 0x4000000>;
17262569Simp	};
18262569Simp
19262569Simp	clocks {
20262569Simp		#address-cells = <1>;
21262569Simp		#size-cells = <1>;
22262569Simp		ranges;
23262569Simp
24262569Simp		main_clock: clock@0 {
25262569Simp			compatible = "atmel,osc", "fixed-clock";
26262569Simp			clock-frequency = <18432000>;
27262569Simp		};
28270864Simp
29270864Simp		slow_xtal {
30270864Simp			clock-frequency = <32768>;
31270864Simp		};
32270864Simp
33270864Simp		main_xtal {
34270864Simp			clock-frequency = <18432000>;
35270864Simp		};
36262569Simp	};
37262569Simp
38262569Simp	ahb {
39262569Simp		apb {
40262569Simp			usb1: gadget@fffb0000 {
41262569Simp				atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
42262569Simp				atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>;
43262569Simp				status = "okay";
44262569Simp			};
45262569Simp
46262569Simp			macb0: ethernet@fffbc000 {
47262569Simp				phy-mode = "rmii";
48262569Simp				status = "okay";
49262569Simp
50262569Simp				phy0: ethernet-phy {
51262569Simp					interrupt-parent = <&pioC>;
52262569Simp					interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
53262569Simp				};
54262569Simp			};
55262569Simp
56262569Simp			usart1: serial@fffc4000 {
57262569Simp				pinctrl-0 =
58262569Simp						<&pinctrl_uart1
59262569Simp						 &pinctrl_uart1_rts
60262569Simp						 &pinctrl_uart1_cts
61262569Simp						 &pinctrl_uart1_dtr_dsr
62262569Simp						 &pinctrl_uart1_dcd
63262569Simp						 &pinctrl_uart1_ri>;
64262569Simp				status = "okay";
65262569Simp			};
66262569Simp
67262569Simp			spi0: spi@fffe0000 {
68262569Simp				status = "okay";
69262569Simp				cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
70262569Simp				mtd_dataflash@0 {
71262569Simp					compatible = "atmel,at45", "atmel,dataflash";
72262569Simp					spi-max-frequency = <15000000>;
73262569Simp					reg = <0>;
74262569Simp				};
75262569Simp			};
76262569Simp
77262569Simp			dbgu: serial@fffff200 {
78262569Simp				status = "okay";
79262569Simp			};
80262569Simp		};
81262569Simp
82262569Simp		usb0: ohci@00300000 {
83262569Simp			num-ports = <2>;
84262569Simp			status = "okay";
85262569Simp		};
86262569Simp
87262569Simp		nor_flash@10000000 {
88262569Simp			compatible = "cfi-flash";
89262569Simp			reg = <0x10000000 0x800000>;
90262569Simp			linux,mtd-name = "physmap-flash.0";
91262569Simp			bank-width = <2>;
92262569Simp			#address-cells = <1>;
93262569Simp			#size-cells = <1>;
94262569Simp
95262569Simp			barebox@0 {
96262569Simp				label = "barebox";
97262569Simp				reg = <0x00000 0x40000>;
98262569Simp			};
99262569Simp
100262569Simp			bareboxenv@40000 {
101262569Simp				label = "bareboxenv";
102262569Simp				reg = <0x40000 0x10000>;
103262569Simp			};
104262569Simp
105262569Simp			kernel@50000 {
106262569Simp				label = "kernel";
107262569Simp				reg = <0x50000 0x300000>;
108262569Simp			};
109262569Simp
110262569Simp			root@350000  {
111262569Simp				label = "root";
112262569Simp				reg = <0x350000 0x4B0000>;
113262569Simp			};
114262569Simp		};
115262569Simp	};
116262569Simp
117262569Simp	leds {
118262569Simp		compatible = "gpio-leds";
119262569Simp
120262569Simp		ds2 {
121262569Simp			label = "green";
122262569Simp			gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
123262569Simp			linux,default-trigger = "mmc0";
124262569Simp		};
125262569Simp
126262569Simp		ds4 {
127262569Simp			label = "yellow";
128262569Simp			gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
129262569Simp			linux,default-trigger = "heartbeat";
130262569Simp		};
131262569Simp
132262569Simp		ds6 {
133262569Simp			label = "red";
134262569Simp			gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
135262569Simp		};
136262569Simp	};
137262569Simp};
138