Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 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/; |
Jean-Christophe PLAGNIOL-VILLARD | 6db64d2 | 2013-05-15 01:21:50 +0800 | [diff] [blame] | 9 | #include "at91rm9200.dtsi" |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | model = "Atmel AT91RM9200 evaluation kit"; |
| 13 | compatible = "atmel,at91rm9200ek", "atmel,at91rm9200"; |
| 14 | |
Alexandre Belloni | 927ccfe | 2015-06-03 14:24:06 +0200 | [diff] [blame] | 15 | chosen { |
| 16 | stdout-path = "serial0:115200n8"; |
| 17 | }; |
| 18 | |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 19 | memory { |
| 20 | reg = <0x20000000 0x4000000>; |
| 21 | }; |
| 22 | |
| 23 | clocks { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <1>; |
| 26 | ranges; |
| 27 | |
| 28 | main_clock: clock@0 { |
| 29 | compatible = "atmel,osc", "fixed-clock"; |
| 30 | clock-frequency = <18432000>; |
| 31 | }; |
Alexandre Belloni | 9478811 | 2014-06-18 21:11:37 +0200 | [diff] [blame] | 32 | |
| 33 | slow_xtal { |
| 34 | clock-frequency = <32768>; |
| 35 | }; |
| 36 | |
| 37 | main_xtal { |
| 38 | clock-frequency = <18432000>; |
| 39 | }; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | ahb { |
| 43 | apb { |
Nicolas Ferre | ca59484 | 2013-12-09 14:42:50 +0100 | [diff] [blame] | 44 | usb1: gadget@fffb0000 { |
| 45 | atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; |
| 46 | atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 47 | status = "okay"; |
| 48 | }; |
| 49 | |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 50 | macb0: ethernet@fffbc000 { |
| 51 | phy-mode = "rmii"; |
| 52 | status = "okay"; |
Boris BREZILLON | 44fa054 | 2013-08-28 13:03:39 +0200 | [diff] [blame] | 53 | |
| 54 | phy0: ethernet-phy { |
| 55 | interrupt-parent = <&pioC>; |
| 56 | interrupts = <4 IRQ_TYPE_EDGE_BOTH>; |
| 57 | }; |
Joachim Eastwood | ce3b263 | 2012-12-04 19:10:59 +0100 | [diff] [blame] | 58 | }; |
| 59 | |
Nicolas Ferre | ca59484 | 2013-12-09 14:42:50 +0100 | [diff] [blame] | 60 | usart1: serial@fffc4000 { |
| 61 | pinctrl-0 = |
| 62 | <&pinctrl_uart1 |
| 63 | &pinctrl_uart1_rts |
| 64 | &pinctrl_uart1_cts |
| 65 | &pinctrl_uart1_dtr_dsr |
| 66 | &pinctrl_uart1_dcd |
| 67 | &pinctrl_uart1_ri>; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 68 | status = "okay"; |
| 69 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 26e3326 | 2013-06-17 14:38:28 +0200 | [diff] [blame] | 70 | |
| 71 | spi0: spi@fffe0000 { |
| 72 | status = "okay"; |
| 73 | cs-gpios = <&pioA 3 0>, <0>, <0>, <0>; |
| 74 | mtd_dataflash@0 { |
| 75 | compatible = "atmel,at45", "atmel,dataflash"; |
| 76 | spi-max-frequency = <15000000>; |
| 77 | reg = <0>; |
| 78 | }; |
| 79 | }; |
Nicolas Ferre | ca59484 | 2013-12-09 14:42:50 +0100 | [diff] [blame] | 80 | |
| 81 | dbgu: serial@fffff200 { |
| 82 | status = "okay"; |
| 83 | }; |
Alexandre Belloni | 74335f4 | 2015-01-13 19:12:23 +0100 | [diff] [blame] | 84 | |
| 85 | rtc: rtc@fffffe00 { |
| 86 | status = "okay"; |
| 87 | }; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | usb0: ohci@00300000 { |
| 91 | num-ports = <2>; |
| 92 | status = "okay"; |
| 93 | }; |
Jean-Christophe PLAGNIOL-VILLARD | c8b3cc5 | 2013-11-15 15:49:56 +0100 | [diff] [blame] | 94 | |
| 95 | nor_flash@10000000 { |
| 96 | compatible = "cfi-flash"; |
| 97 | reg = <0x10000000 0x800000>; |
| 98 | linux,mtd-name = "physmap-flash.0"; |
| 99 | bank-width = <2>; |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <1>; |
| 102 | |
| 103 | barebox@0 { |
| 104 | label = "barebox"; |
| 105 | reg = <0x00000 0x40000>; |
| 106 | }; |
| 107 | |
| 108 | bareboxenv@40000 { |
| 109 | label = "bareboxenv"; |
| 110 | reg = <0x40000 0x10000>; |
| 111 | }; |
| 112 | |
| 113 | kernel@50000 { |
| 114 | label = "kernel"; |
| 115 | reg = <0x50000 0x300000>; |
| 116 | }; |
| 117 | |
| 118 | root@350000 { |
| 119 | label = "root"; |
| 120 | reg = <0x350000 0x4B0000>; |
| 121 | }; |
| 122 | }; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 123 | }; |
| 124 | |
| 125 | leds { |
| 126 | compatible = "gpio-leds"; |
| 127 | |
| 128 | ds2 { |
| 129 | label = "green"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 130 | gpios = <&pioB 0 GPIO_ACTIVE_LOW>; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 131 | linux,default-trigger = "mmc0"; |
| 132 | }; |
| 133 | |
| 134 | ds4 { |
| 135 | label = "yellow"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 136 | gpios = <&pioB 1 GPIO_ACTIVE_LOW>; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 137 | linux,default-trigger = "heartbeat"; |
| 138 | }; |
| 139 | |
| 140 | ds6 { |
| 141 | label = "red"; |
Jean-Christophe PLAGNIOL-VILLARD | 92f8629 | 2013-04-24 08:34:25 +0800 | [diff] [blame] | 142 | gpios = <&pioB 2 GPIO_ACTIVE_LOW>; |
Joachim Eastwood | c84ca7c | 2012-10-28 18:31:11 +0000 | [diff] [blame] | 143 | }; |
| 144 | }; |
| 145 | }; |