aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.18/208-ARM-mvebu-385-ap-Add-partitions.patch
blob: 0c59d47956ab96a4a4ab3902c4cb450d41e6d014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 9861f93a59142a3131870df2521eb2deb73026d7 Mon Sep 17 00:00:00 2001
From: Maxime Ripard <maxime.ripard@free-electrons.com>
Date: Tue, 13 Jan 2015 11:14:09 +0100
Subject: [PATCH 2/2] ARM: mvebu: 385-ap: Add partitions

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/armada-385-db-ap.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/armada-385-db-ap.dts b/arch/arm/boot/dts/armada-385-db-ap.dts
index 02db04867d8f..2a58443e2504 100644
--- a/arch/arm/boot/dts/armada-385-db-ap.dts
+++ b/arch/arm/boot/dts/armada-385-db-ap.dts
@@ -134,6 +134,21 @@
 				marvell,nand-keep-config;
 				marvell,nand-enable-arbiter;
 				nand-on-flash-bbt;
+
+				mtd0@00000000 {
+					label = "u-boot";
+					reg = <0x00000000 0x00800000>;
+				};
+
+				mtd1@00800000 {
+					label = "kernel";
+					reg = <0x00800000 0x00800000>;
+				};
+
+				mtd2@01000000 {
+					label = "ubi";
+					reg = <0x01000000 0x3f000000>;
+				};
 			};
 		};
 
-- 
2.2.1