aboutsummaryrefslogtreecommitdiffstats
path: root/patches.at91/0190-ARM-at91-9x5-family-add-at91sam9x25ek.dts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches.at91/0190-ARM-at91-9x5-family-add-at91sam9x25ek.dts.patch')
-rw-r--r--patches.at91/0190-ARM-at91-9x5-family-add-at91sam9x25ek.dts.patch76
1 files changed, 76 insertions, 0 deletions
diff --git a/patches.at91/0190-ARM-at91-9x5-family-add-at91sam9x25ek.dts.patch b/patches.at91/0190-ARM-at91-9x5-family-add-at91sam9x25ek.dts.patch
new file mode 100644
index 00000000000000..ce9ed208513b10
--- /dev/null
+++ b/patches.at91/0190-ARM-at91-9x5-family-add-at91sam9x25ek.dts.patch
@@ -0,0 +1,76 @@
+From c21000658bdd029faf2054f0fffa9672152ac1e9 Mon Sep 17 00:00:00 2001
+From: Nicolas Ferre <nicolas.ferre@atmel.com>
+Date: Tue, 2 Oct 2012 11:55:18 +0200
+Subject: ARM: at91/9x5 family: add at91sam9x25ek.dts
+
+Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
+---
+ arch/arm/boot/dts/at91sam9x25ek.dts | 46 +++++++++++++++++++++++++++++++++++++
+ arch/arm/mach-at91/Makefile.boot | 1 +
+ 2 files changed, 47 insertions(+)
+ create mode 100644 arch/arm/boot/dts/at91sam9x25ek.dts
+
+diff --git a/arch/arm/boot/dts/at91sam9x25ek.dts b/arch/arm/boot/dts/at91sam9x25ek.dts
+new file mode 100644
+index 0000000..cf903f5
+--- /dev/null
++++ b/arch/arm/boot/dts/at91sam9x25ek.dts
+@@ -0,0 +1,46 @@
++/*
++ * at91sam9x25ek.dts - Device Tree file for AT91SAM9X25-EK board
++ *
++ * Copyright (C) 2012 Atmel,
++ * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
++ *
++ * Licensed under GPLv2 or later.
++ */
++/dts-v1/;
++/include/ "at91sam9x5_common.dtsi"
++
++/ {
++ model = "Atmel AT91SAM9X25-EK";
++ compatible = "atmel,at91sam9x25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
++
++ chosen {
++ bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
++ };
++
++ ahb {
++ apb {
++ mmc1: mmc@f000c000 {
++ status = "okay";
++ slot@0 {
++ reg = <0>;
++ bus-width = <4>;
++ cd-gpios = <&pioD 14 0>;
++ };
++ };
++
++ usart0: serial@f801c000 {
++ status = "okay";
++ };
++
++ macb0: ethernet@f802c000 {
++ phy-mode = "rmii";
++ status = "okay";
++ };
++
++ macb1: ethernet@f8030000 {
++ phy-mode = "rmii";
++ status = "okay";
++ };
++ };
++ };
++};
+diff --git a/arch/arm/mach-at91/Makefile.boot b/arch/arm/mach-at91/Makefile.boot
+index 9e84fe4..9532f93 100644
+--- a/arch/arm/mach-at91/Makefile.boot
++++ b/arch/arm/mach-at91/Makefile.boot
+@@ -34,3 +34,4 @@ dtb-$(CONFIG_MACH_AT91SAM_DT) += at91sam9m10g45ek.dtb
+ dtb-$(CONFIG_MACH_AT91SAM_DT) += at91sam9n12ek.dtb
+ # sam9x5
+ dtb-$(CONFIG_MACH_AT91SAM_DT) += at91sam9g25ek.dtb
++dtb-$(CONFIG_MACH_AT91SAM_DT) += at91sam9x25ek.dtb
+--
+1.8.0.197.g5a90748
+