Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336449
b: refs/heads/master
c: c84ca7c
h: refs/heads/master
i:
  336447: b79b9f9
v: v3
  • Loading branch information
Joachim Eastwood authored and Jean-Christophe PLAGNIOL-VILLARD committed Nov 18, 2012
1 parent 2cc9721 commit ac5af35
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe975cf6d0d18b6ae3d39cb96e8bab5fb9f38fb5
refs/heads/master: c84ca7ce3ae5d80622c1cc1cfe21011f9cc15be7
2 changes: 2 additions & 0 deletions trunk/arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ifeq ($(CONFIG_OF),y)

# Keep at91 dtb files sorted alphabetically for each SoC
# rm9200
dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb
# sam9260
dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb
dtb-$(CONFIG_ARCH_AT91) += ethernut5.dtb
Expand Down
79 changes: 79 additions & 0 deletions trunk/arch/arm/boot/dts/at91rm9200ek.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*
* at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit
*
* Copyright (C) 2012 Joachim Eastwood <manabian@gmail.com>
*
* Licensed under GPLv2 only
*/
/dts-v1/;
/include/ "at91rm9200.dtsi"

/ {
model = "Atmel AT91RM9200 evaluation kit";
compatible = "atmel,at91rm9200ek", "atmel,at91rm9200";

memory {
reg = <0x20000000 0x4000000>;
};

clocks {
#address-cells = <1>;
#size-cells = <1>;
ranges;

main_clock: clock@0 {
compatible = "atmel,osc", "fixed-clock";
clock-frequency = <18432000>;
};
};

ahb {
apb {
dbgu: serial@fffff200 {
status = "okay";
};

usart1: serial@fffc4000 {
pinctrl-0 =
<&pinctrl_uart1
&pinctrl_uart1_rts
&pinctrl_uart1_cts
&pinctrl_uart1_dtr_dsr
&pinctrl_uart1_dcd
&pinctrl_uart1_ri>;
status = "okay";
};

usb1: gadget@fffb0000 {
atmel,vbus-gpio = <&pioD 4 0>;
status = "okay";
};
};

usb0: ohci@00300000 {
num-ports = <2>;
status = "okay";
};
};

leds {
compatible = "gpio-leds";

ds2 {
label = "green";
gpios = <&pioB 0 0x1>;
linux,default-trigger = "mmc0";
};

ds4 {
label = "yellow";
gpios = <&pioB 1 0x1>;
linux,default-trigger = "heartbeat";
};

ds6 {
label = "red";
gpios = <&pioB 2 0x1>;
};
};
};
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-at91/board-rm9200-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@
#include <linux/of_irq.h>
#include <linux/of_platform.h>

#include <mach/board.h>
#include <mach/at91_aic.h>

#include <asm/setup.h>
#include <asm/irq.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>

#include "at91_aic.h"
#include "generic.h"


Expand Down

0 comments on commit ac5af35

Please sign in to comment.