ARM: socfpga: dts: add support for EBV SOCrates
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Wed, 2 Apr 2014 16:13:11 +0000 (11:13 -0500)
committerDinh Nguyen <dinguyen@altera.com>
Tue, 6 May 2014 03:33:13 +0000 (22:33 -0500)
The SOCrates is a SOCFpga-Cyclone5 based board from EBV.
Add support for it.

Reviewed-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/socfpga_cyclone5_socrates.dts [new file with mode: 0644]

index 35c146f31e46effa1b3b64cd69fd3a3b76ab38cb..e7ec14a2126fe63bb2486b9eced55c73d6c8aef0 100644 (file)
@@ -327,6 +327,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
 dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
        socfpga_cyclone5_socdk.dtb \
        socfpga_cyclone5_sockit.dtb \
+       socfpga_cyclone5_socrates.dtb \
        socfpga_vt.dtb
 dtb-$(CONFIG_ARCH_SPEAR13XX) += spear1310-evb.dtb \
        spear1340-evb.dtb
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
new file mode 100644 (file)
index 0000000..1e31f32
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ *  Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/include/ "socfpga_cyclone5.dtsi"
+
+/ {
+       model = "EBV SOCrates";
+       compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
+
+       chosen {
+               bootargs = "console=ttyS0,115200";
+       };
+
+       memory {
+               name = "memory";
+               device_type = "memory";
+               reg = <0x0 0x40000000>; /* 1GB */
+       };
+};
+
+&gmac1 {
+       status = "okay";
+};
+
+&mmc {
+       status = "okay";
+};
This page took 0.038774 seconds and 5 git commands to generate.