提交 162d23bf 编写于 作者: K Kefeng Wang 提交者: Wei Xu

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: NKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
上级 70896650
......@@ -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>;
};
};
......@@ -327,6 +327,12 @@
status = "disabled";
};
lbc: localbus@80380000 {
compatible = "hisilicon,hisi-localbus", "simple-bus";
reg = <0x0 0x80380000 0x0 0x10000>;
status = "disabled";
};
peri_gpio0: gpio@802e0000 {
#address-cells = <1>;
#size-cells = <0>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册