]>
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 | ||
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 | ||
ce3b2630 JE |
47 | macb0: ethernet@fffbc000 { |
48 | phy-mode = "rmii"; | |
49 | status = "okay"; | |
44fa054e BB |
50 | |
51 | phy0: ethernet-phy { | |
52 | interrupt-parent = <&pioC>; | |
53 | interrupts = <4 IRQ_TYPE_EDGE_BOTH>; | |
54 | }; | |
ce3b2630 JE |
55 | }; |
56 | ||
c84ca7ce | 57 | usb1: gadget@fffb0000 { |
92f8629b | 58 | atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; |
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 | }; | |
c84ca7ce JE |
71 | }; |
72 | ||
73 | usb0: ohci@00300000 { | |
74 | num-ports = <2>; | |
75 | status = "okay"; | |
76 | }; | |
77 | }; | |
78 | ||
79 | leds { | |
80 | compatible = "gpio-leds"; | |
81 | ||
82 | ds2 { | |
83 | label = "green"; | |
92f8629b | 84 | gpios = <&pioB 0 GPIO_ACTIVE_LOW>; |
c84ca7ce JE |
85 | linux,default-trigger = "mmc0"; |
86 | }; | |
87 | ||
88 | ds4 { | |
89 | label = "yellow"; | |
92f8629b | 90 | gpios = <&pioB 1 GPIO_ACTIVE_LOW>; |
c84ca7ce JE |
91 | linux,default-trigger = "heartbeat"; |
92 | }; | |
93 | ||
94 | ds6 { | |
95 | label = "red"; | |
92f8629b | 96 | gpios = <&pioB 2 GPIO_ACTIVE_LOW>; |
c84ca7ce JE |
97 | }; |
98 | }; | |
99 | }; |