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