summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-04-08 15:31:51 +0800
committerWei Xu <xuwei5@hisilicon.com>2016-04-27 15:39:56 +0100
commit162d23bfd18cec10bd5940ff264debf3c6121f34 (patch)
treeffc52affc7c2ea794d8bf85b564b03c7d9d20ac4 /arch/arm64/boot/dts/hisilicon/hip05-d02.dts
parent70896650732afd64c410f85c819281dbce8a0974 (diff)
arm64: dts: hip05: Add nor flash support
This patch is to add support nor-flash. Notice, the pre-defined partitions may not be used. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon/hip05-d02.dts')
-rw-r--r--arch/arm64/boot/dts/hisilicon/hip05-d02.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index e9436c0d81f7..abba750b87f8 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -52,3 +52,37 @@
&peri_gpio0 {
status = "ok";
};
+
+&lbc {
+ status = "ok";
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges = <0 0 0x0 0x90000000 0x08000000>,
+ <1 0 0x0 0x98000000 0x08000000>;
+
+ nor-flash@0,0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "numonyx,js28f00a", "cfi-flash";
+ reg = <0 0x0 0x08000000>;
+ bank-width = <2>;
+ /* The three parts may not used */
+ partition@0 {
+ label = "BIOS";
+ reg = <0x0 0x300000>;
+ };
+ partition@300000 {
+ label = "Linux";
+ reg = <0x300000 0xa00000>;
+ };
+ partition@1000000 {
+ label = "Rootfs";
+ reg = <0x01000000 0x02000000>;
+ };
+ };
+
+ cpld@1,0 {
+ compatible = "hisilicon,hip05-cpld";
+ reg = <1 0x0 0x100>;
+ };
+};