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