summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts
diff options
context:
space:
mode:
authorGraham Moore <grmoore@opensource.altera.com>2015-07-07 09:58:36 -0500
committerDinh Nguyen <dinguyen@kernel.org>2017-01-05 06:12:47 -0600
commitf549af06e9b64a47b5ad6a45701d1b39330ddb48 (patch)
tree6f20fb08af9a3cad9dd5ceb08baecceac11c1dc4 /arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts
parentf8a892815fee8766518c64bcbc95557d16410ba2 (diff)
ARM: dts: socfpga: Add NAND device tree for Arria10
Add socfpga_arria10_socdk_nand.dts board file for supporting NAND. Signed-off-by: Graham Moore <grmoore@opensource.altera.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> --- v2: move nand dts node to socfpga_arria10.dtsi
Diffstat (limited to 'arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts')
-rw-r--r--arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts b/arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts
new file mode 100644
index 000000000000..d14f9ccb6e10
--- /dev/null
+++ b/arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2015 Altera Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope 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/>.
+ */
+
+/dts-v1/;
+#include "socfpga_arria10_socdk.dtsi"
+
+&nand {
+ status = "okay";
+
+ partition@nand-boot {
+ label = "Boot and fpga data";
+ reg = <0x0 0x1C00000>;
+ };
+ partition@nand-rootfs {
+ label = "Root Filesystem - JFFS2";
+ reg = <0x1C00000 0x6400000>;
+ };
+};