]>
Commit | Line | Data |
---|---|---|
c84ca7ce JE |
1 | /* |
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/; | |
6db64d29 | 9 | #include "at91rm9200.dtsi" |
c84ca7ce JE |
10 | |
11 | / { | |
12 | model = "Atmel AT91RM9200 evaluation kit"; | |
13 | compatible = "atmel,at91rm9200ek", "atmel,at91rm9200"; | |
14 | ||
927ccfe3 AB |
15 | chosen { |
16 | stdout-path = "serial0:115200n8"; | |
17 | }; | |
18 | ||
c84ca7ce JE |
19 | memory { |
20 | reg = <0x20000000 0x4000000>; | |
21 | }; | |
22 | ||
23 | clocks { | |
94788118 AB |
24 | slow_xtal { |
25 | clock-frequency = <32768>; | |
26 | }; | |
27 | ||
28 | main_xtal { | |
29 | clock-frequency = <18432000>; | |
30 | }; | |
c84ca7ce JE |
31 | }; |
32 | ||
33 | ahb { | |
34 | apb { | |
ca594844 NF |
35 | usb1: gadget@fffb0000 { |
36 | atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; | |
37 | atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; | |
c84ca7ce JE |
38 | status = "okay"; |
39 | }; | |
40 | ||
ce3b2630 JE |
41 | macb0: ethernet@fffbc000 { |
42 | phy-mode = "rmii"; | |
43 | status = "okay"; | |
44fa054e BB |
44 | |
45 | phy0: ethernet-phy { | |
46 | interrupt-parent = <&pioC>; | |
47 | interrupts = <4 IRQ_TYPE_EDGE_BOTH>; | |
48 | }; | |
ce3b2630 JE |
49 | }; |
50 | ||
ca594844 NF |
51 | usart1: serial@fffc4000 { |
52 | pinctrl-0 = | |
53 | <&pinctrl_uart1 | |
54 | &pinctrl_uart1_rts | |
55 | &pinctrl_uart1_cts | |
56 | &pinctrl_uart1_dtr_dsr | |
57 | &pinctrl_uart1_dcd | |
58 | &pinctrl_uart1_ri>; | |
c84ca7ce JE |
59 | status = "okay"; |
60 | }; | |
26e3326c JCPV |
61 | |
62 | spi0: spi@fffe0000 { | |
63 | status = "okay"; | |
64 | cs-gpios = <&pioA 3 0>, <0>, <0>, <0>; | |
65 | mtd_dataflash@0 { | |
66 | compatible = "atmel,at45", "atmel,dataflash"; | |
67 | spi-max-frequency = <15000000>; | |
68 | reg = <0>; | |
69 | }; | |
70 | }; | |
ca594844 NF |
71 | |
72 | dbgu: serial@fffff200 { | |
73 | status = "okay"; | |
74 | }; | |
74335f49 AB |
75 | |
76 | rtc: rtc@fffffe00 { | |
77 | status = "okay"; | |
78 | }; | |
c84ca7ce JE |
79 | }; |
80 | ||
81 | usb0: ohci@00300000 { | |
82 | num-ports = <2>; | |
83 | status = "okay"; | |
84 | }; | |
c8b3cc56 JCPV |
85 | |
86 | nor_flash@10000000 { | |
87 | compatible = "cfi-flash"; | |
88 | reg = <0x10000000 0x800000>; | |
89 | linux,mtd-name = "physmap-flash.0"; | |
90 | bank-width = <2>; | |
91 | #address-cells = <1>; | |
92 | #size-cells = <1>; | |
93 | ||
94 | barebox@0 { | |
95 | label = "barebox"; | |
96 | reg = <0x00000 0x40000>; | |
97 | }; | |
98 | ||
99 | bareboxenv@40000 { | |
100 | label = "bareboxenv"; | |
101 | reg = <0x40000 0x10000>; | |
102 | }; | |
103 | ||
104 | kernel@50000 { | |
105 | label = "kernel"; | |
106 | reg = <0x50000 0x300000>; | |
107 | }; | |
108 | ||
109 | root@350000 { | |
110 | label = "root"; | |
111 | reg = <0x350000 0x4B0000>; | |
112 | }; | |
113 | }; | |
c84ca7ce JE |
114 | }; |
115 | ||
116 | leds { | |
117 | compatible = "gpio-leds"; | |
118 | ||
119 | ds2 { | |
120 | label = "green"; | |
92f8629b | 121 | gpios = <&pioB 0 GPIO_ACTIVE_LOW>; |
c84ca7ce JE |
122 | linux,default-trigger = "mmc0"; |
123 | }; | |
124 | ||
125 | ds4 { | |
126 | label = "yellow"; | |
92f8629b | 127 | gpios = <&pioB 1 GPIO_ACTIVE_LOW>; |
c84ca7ce JE |
128 | linux,default-trigger = "heartbeat"; |
129 | }; | |
130 | ||
131 | ds6 { | |
132 | label = "red"; | |
92f8629b | 133 | gpios = <&pioB 2 GPIO_ACTIVE_LOW>; |
c84ca7ce JE |
134 | }; |
135 | }; | |
136 | }; |