Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>;
+1 −1
Original line number Diff line number Diff line
@@ -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>;
+13 −7
Original line number Diff line number Diff line
@@ -9,12 +9,18 @@
&nand {
	status = "okay";

	partition@nand-boot {
	nand@0 {
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <1>;

		partition@0 {
			label = "Boot and fpga data";
			reg = <0x0 0x1C00000>;
		};
	partition@nand-rootfs {
		partition@1c00000 {
			label = "Root Filesystem - JFFS2";
			reg = <0x1C00000 0x6400000>;
		};
	};
};