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