2012-10-29 01:31:11 +07:00
|
|
|
/*
|
|
|
|
* at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2 only
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
2013-05-15 00:21:50 +07:00
|
|
|
#include "at91rm9200.dtsi"
|
2012-10-29 01:31:11 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Atmel AT91RM9200 evaluation kit";
|
|
|
|
compatible = "atmel,at91rm9200ek", "atmel,at91rm9200";
|
|
|
|
|
2015-06-03 19:24:06 +07:00
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2012-10-29 01:31:11 +07:00
|
|
|
memory {
|
|
|
|
reg = <0x20000000 0x4000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clocks {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
main_clock: clock@0 {
|
|
|
|
compatible = "atmel,osc", "fixed-clock";
|
|
|
|
clock-frequency = <18432000>;
|
|
|
|
};
|
2014-06-19 02:11:37 +07:00
|
|
|
|
|
|
|
slow_xtal {
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
|
|
|
|
main_xtal {
|
|
|
|
clock-frequency = <18432000>;
|
|
|
|
};
|
2012-10-29 01:31:11 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
ahb {
|
|
|
|
apb {
|
2013-12-09 20:42:50 +07:00
|
|
|
usb1: gadget@fffb0000 {
|
|
|
|
atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
|
|
|
|
atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>;
|
2012-10-29 01:31:11 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-12-05 01:10:59 +07:00
|
|
|
macb0: ethernet@fffbc000 {
|
|
|
|
phy-mode = "rmii";
|
|
|
|
status = "okay";
|
2013-08-28 18:03:39 +07:00
|
|
|
|
|
|
|
phy0: ethernet-phy {
|
|
|
|
interrupt-parent = <&pioC>;
|
|
|
|
interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
|
|
|
|
};
|
2012-12-05 01:10:59 +07:00
|
|
|
};
|
|
|
|
|
2013-12-09 20:42:50 +07:00
|
|
|
usart1: serial@fffc4000 {
|
|
|
|
pinctrl-0 =
|
|
|
|
<&pinctrl_uart1
|
|
|
|
&pinctrl_uart1_rts
|
|
|
|
&pinctrl_uart1_cts
|
|
|
|
&pinctrl_uart1_dtr_dsr
|
|
|
|
&pinctrl_uart1_dcd
|
|
|
|
&pinctrl_uart1_ri>;
|
2012-10-29 01:31:11 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
2013-06-17 19:38:28 +07:00
|
|
|
|
|
|
|
spi0: spi@fffe0000 {
|
|
|
|
status = "okay";
|
|
|
|
cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
|
|
|
|
mtd_dataflash@0 {
|
|
|
|
compatible = "atmel,at45", "atmel,dataflash";
|
|
|
|
spi-max-frequency = <15000000>;
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
2013-12-09 20:42:50 +07:00
|
|
|
|
|
|
|
dbgu: serial@fffff200 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2015-01-14 01:12:23 +07:00
|
|
|
|
|
|
|
rtc: rtc@fffffe00 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-10-29 01:31:11 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
usb0: ohci@00300000 {
|
|
|
|
num-ports = <2>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2013-11-15 21:49:56 +07:00
|
|
|
|
|
|
|
nor_flash@10000000 {
|
|
|
|
compatible = "cfi-flash";
|
|
|
|
reg = <0x10000000 0x800000>;
|
|
|
|
linux,mtd-name = "physmap-flash.0";
|
|
|
|
bank-width = <2>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
barebox@0 {
|
|
|
|
label = "barebox";
|
|
|
|
reg = <0x00000 0x40000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
bareboxenv@40000 {
|
|
|
|
label = "bareboxenv";
|
|
|
|
reg = <0x40000 0x10000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
kernel@50000 {
|
|
|
|
label = "kernel";
|
|
|
|
reg = <0x50000 0x300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
root@350000 {
|
|
|
|
label = "root";
|
|
|
|
reg = <0x350000 0x4B0000>;
|
|
|
|
};
|
|
|
|
};
|
2012-10-29 01:31:11 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
ds2 {
|
|
|
|
label = "green";
|
2013-04-24 07:34:25 +07:00
|
|
|
gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
|
2012-10-29 01:31:11 +07:00
|
|
|
linux,default-trigger = "mmc0";
|
|
|
|
};
|
|
|
|
|
|
|
|
ds4 {
|
|
|
|
label = "yellow";
|
2013-04-24 07:34:25 +07:00
|
|
|
gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
|
2012-10-29 01:31:11 +07:00
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
|
|
|
|
ds6 {
|
|
|
|
label = "red";
|
2013-04-24 07:34:25 +07:00
|
|
|
gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
|
2012-10-29 01:31:11 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|