ARM: dts: socfpga: update to new Denali NAND binding

With commit d8e8fd0ebf ("mtd: rawnand: denali: decouple controller
and NAND chips"), the Denali NAND controller driver migrated to the
new controller/chip representation.

Update DT for it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
Masahiro Yamada 2019-06-21 20:23:06 +09:00 committed by Dinh Nguyen
parent e10c18484b
commit c1459a9d7e
3 changed files with 15 additions and 9 deletions

View File

@ -747,7 +747,7 @@
nand0: nand@ff900000 {
#address-cells = <0x1>;
#size-cells = <0x1>;
#size-cells = <0x0>;
compatible = "altr,socfpga-denali-nand";
reg = <0xff900000 0x100000>,
<0xffb80000 0x10000>;

View File

@ -662,7 +662,7 @@
nand: nand@ffb90000 {
#address-cells = <1>;
#size-cells = <1>;
#size-cells = <0>;
compatible = "altr,socfpga-denali-nand";
reg = <0xffb90000 0x72000>,
<0xffb80000 0x10000>;

View File

@ -9,12 +9,18 @@
&nand {
status = "okay";
partition@nand-boot {
label = "Boot and fpga data";
reg = <0x0 0x1C00000>;
};
partition@nand-rootfs {
label = "Root Filesystem - JFFS2";
reg = <0x1C00000 0x6400000>;
nand@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "Boot and fpga data";
reg = <0x0 0x1C00000>;
};
partition@1c00000 {
label = "Root Filesystem - JFFS2";
reg = <0x1C00000 0x6400000>;
};
};
};