diff options
author | Mingjun Zhang <troy.zhangmingjun@huawei.com> | 2013-01-29 15:47:06 +0800 |
---|---|---|
committer | Guodong Xu <guodong.xu@linaro.org> | 2013-02-21 16:12:29 +0800 |
commit | 4cc6a78feb17038b49f50bb0eb6e709ec953a0ec (patch) | |
tree | 0a18ceeccdaa0c41eb75861a53e9f36070ef7dd8 /arch/arm/boot/dts | |
parent | b6ce50d779dd46750c35a5c0d548ef212dec13dd (diff) |
HS: add SFC node
also add mtdparts in choose for easier use
Signed-off-by: Mingjun Zhang <troy.zhangmingjun@huawei.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/hi3716-dkb.dts | 10 |
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>; + }; }; |