at91rm9200ek.dts revision 273714
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/; 9#include "at91rm9200.dtsi" 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 slow_xtal { 30 clock-frequency = <32768>; 31 }; 32 33 main_xtal { 34 clock-frequency = <18432000>; 35 }; 36 }; 37 38 ahb { 39 apb { 40 usb1: gadget@fffb0000 { 41 atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; 42 atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; 43 status = "okay"; 44 }; 45 46 macb0: ethernet@fffbc000 { 47 phy-mode = "rmii"; 48 status = "okay"; 49 50 phy0: ethernet-phy { 51 interrupt-parent = <&pioC>; 52 interrupts = <4 IRQ_TYPE_EDGE_BOTH>; 53 }; 54 }; 55 56 usart1: serial@fffc4000 { 57 pinctrl-0 = 58 <&pinctrl_uart1 59 &pinctrl_uart1_rts 60 &pinctrl_uart1_cts 61 &pinctrl_uart1_dtr_dsr 62 &pinctrl_uart1_dcd 63 &pinctrl_uart1_ri>; 64 status = "okay"; 65 }; 66 67 spi0: spi@fffe0000 { 68 status = "okay"; 69 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>; 70 mtd_dataflash@0 { 71 compatible = "atmel,at45", "atmel,dataflash"; 72 spi-max-frequency = <15000000>; 73 reg = <0>; 74 }; 75 }; 76 77 dbgu: serial@fffff200 { 78 status = "okay"; 79 }; 80 }; 81 82 usb0: ohci@00300000 { 83 num-ports = <2>; 84 status = "okay"; 85 }; 86 87 nor_flash@10000000 { 88 compatible = "cfi-flash"; 89 reg = <0x10000000 0x800000>; 90 linux,mtd-name = "physmap-flash.0"; 91 bank-width = <2>; 92 #address-cells = <1>; 93 #size-cells = <1>; 94 95 barebox@0 { 96 label = "barebox"; 97 reg = <0x00000 0x40000>; 98 }; 99 100 bareboxenv@40000 { 101 label = "bareboxenv"; 102 reg = <0x40000 0x10000>; 103 }; 104 105 kernel@50000 { 106 label = "kernel"; 107 reg = <0x50000 0x300000>; 108 }; 109 110 root@350000 { 111 label = "root"; 112 reg = <0x350000 0x4B0000>; 113 }; 114 }; 115 }; 116 117 leds { 118 compatible = "gpio-leds"; 119 120 ds2 { 121 label = "green"; 122 gpios = <&pioB 0 GPIO_ACTIVE_LOW>; 123 linux,default-trigger = "mmc0"; 124 }; 125 126 ds4 { 127 label = "yellow"; 128 gpios = <&pioB 1 GPIO_ACTIVE_LOW>; 129 linux,default-trigger = "heartbeat"; 130 }; 131 132 ds6 { 133 label = "red"; 134 gpios = <&pioB 2 GPIO_ACTIVE_LOW>; 135 }; 136 }; 137}; 138