aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingjun Zhang <troy.zhangmingjun@huawei.com>2013-01-29 15:47:06 +0800
committerGuodong Xu <guodong.xu@linaro.org>2013-02-01 08:31:30 +0800
commite9ec0b326284289a290d0f42faf8b083f31cebb4 (patch)
tree49cbe1d2781842d515074c8ff203f7abb72d8de5
parent234cc7f04d8bdbb3349ebac6437208c43a6db5ae (diff)
HS: add SFC nodetopic-spi-flash
also add mtdparts in choose for easier use Signed-off-by: Mingjun Zhang <troy.zhangmingjun@huawei.com>
-rw-r--r--arch/arm/boot/dts/hi3716-dkb.dts10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/hi3716-dkb.dts b/arch/arm/boot/dts/hi3716-dkb.dts
index fb632ea37622..f4d2d5adb6f2 100644
--- a/arch/arm/boot/dts/hi3716-dkb.dts
+++ b/arch/arm/boot/dts/hi3716-dkb.dts
@@ -14,8 +14,8 @@
compatible = "hisilicon,hi3716";
chosen {
- bootargs = "console=ttyAMA0,115200 mem=512m earlyprintk";
- };
+ bootargs = "console=ttyAMA0,115200 mem=512m earlyprintk mtdparts=hi_sfc:1M(boot),12M(fs),3M(kernel)";
+ };/* add mtdparts here just for easier debug */
cpus {
#address-cells = <1>;
@@ -51,4 +51,10 @@
};
};
};
+
+ flash@f9800000 {
+ compatible = "hs,sfc350";
+ reg = <0xf9800000 0x1000>;
+ version_reg_offset = <0x1F8>;
+ };
};