From patchwork Wed Mar 25 10:08:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3, 4/4] powerpc/85xx: TQM8548: Update DTS file for multi-chip support Date: Wed, 25 Mar 2009 00:08:21 -0000 From: Wolfgang Grandegger X-Patchwork-Id: 25071 Message-Id: <1237975701-23201-5-git-send-email-wg@grandegger.com> To: linux-mtd@lists.infradead.org, linuxppc-dev@ozlabs.org Cc: Anton Vorontsov , Wolfgang Grandegger This patch adds multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. Signed-off-by: Wolfgang Grandegger --- arch/powerpc/boot/dts/tqm8548-bigflash.dts | 6 +++++- arch/powerpc/boot/dts/tqm8548.dts | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/tqm8548-bigflash.dts b/arch/powerpc/boot/dts/tqm8548-bigflash.dts index 29a2b6f..bf0b4e9 100644 --- a/arch/powerpc/boot/dts/tqm8548-bigflash.dts +++ b/arch/powerpc/boot/dts/tqm8548-bigflash.dts @@ -389,6 +389,10 @@ reg = <3 0x0 0x800>; fsl,upm-addr-offset = <0x10>; fsl,upm-cmd-offset = <0x08>; + fsl,upm-wait-flags = <0x5>; + /* Multi-chip device */ + num-chips = <2>; + chip-offset = <0x200>; chip-delay = <25>; // in micro-seconds nand@0 { @@ -397,7 +401,7 @@ partition@0 { label = "fs"; - reg = <0x00000000 0x01000000>; + reg = <0x00000000 0x10000000>; }; }; }; diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts index 81d3fbb..93a53ae 100644 --- a/arch/powerpc/boot/dts/tqm8548.dts +++ b/arch/powerpc/boot/dts/tqm8548.dts @@ -389,6 +389,10 @@ reg = <3 0x0 0x800>; fsl,upm-addr-offset = <0x10>; fsl,upm-cmd-offset = <0x08>; + fsl,upm-wait-flags = <0x5>; + /* Multi-chip device */ + num-chips = <2>; + chip-offset = <0x200>; chip-delay = <25>; // in micro-seconds nand@0 { @@ -397,7 +401,7 @@ partition@0 { label = "fs"; - reg = <0x00000000 0x01000000>; + reg = <0x00000000 0x10000000>; }; }; };