Commit c1459a9d authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Dinh Nguyen

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

With commit d8e8fd0e ("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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent e10c1848
......@@ -747,7 +747,7 @@ mmc: dwmmc0@ff704000 {
nand0: nand@ff900000 {
#address-cells = <0x1>;
#size-cells = <0x1>;
#size-cells = <0x0>;
compatible = "altr,socfpga-denali-nand";
reg = <0xff900000 0x100000>,
<0xffb80000 0x10000>;
......
......@@ -662,7 +662,7 @@ mmc: dwmmc0@ff808000 {
nand: nand@ffb90000 {
#address-cells = <1>;
#size-cells = <1>;
#size-cells = <0>;
compatible = "altr,socfpga-denali-nand";
reg = <0xffb90000 0x72000>,
<0xffb80000 0x10000>;
......
......@@ -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>;
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment