diff options
author | Pekon Gupta <pekon@ti.com> | 2014-02-05 08:28:32 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-03-02 13:15:54 -0500 |
commit | c06c52701695911eb594f15a2560cf55ae97e313 (patch) | |
tree | 12372fb5e5142dd30416f314590b5db75db943d9 /arch/arm | |
parent | 91994facdd2d71f050ee199f508dcc15e7a3a29f (diff) |
ARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt
This patch updated MTD/NAND DT node binding to replace deprecated bindings
as per following commit.
commit ac65caf514ec3e55e8d3d510ee37f80dd97418fe
ARM: OMAP2+: cleaned-up DT support of various ECC schemes
Also Refer: Documentation/devicetree/bindings/mtd/gpmc-nand.txt
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3430-sdp.dts | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 17c3cc0890ac..07d61bb8d481 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -434,9 +434,9 @@ | |||
434 | ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ | 434 | ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ |
435 | nand@0,0 { | 435 | nand@0,0 { |
436 | reg = <0 0 0>; /* CS0, offset 0 */ | 436 | reg = <0 0 0>; /* CS0, offset 0 */ |
437 | nand-bus-width = <8>; | ||
438 | ti,nand-ecc-opt = "bch8"; | 437 | ti,nand-ecc-opt = "bch8"; |
439 | gpmc,device-nand = "true"; | 438 | ti,elm-id = <&elm>; |
439 | nand-bus-width = <8>; | ||
440 | gpmc,device-width = <1>; | 440 | gpmc,device-width = <1>; |
441 | gpmc,sync-clk-ps = <0>; | 441 | gpmc,sync-clk-ps = <0>; |
442 | gpmc,cs-on-ns = <0>; | 442 | gpmc,cs-on-ns = <0>; |
@@ -460,7 +460,6 @@ | |||
460 | gpmc,wait-monitoring-ns = <0>; | 460 | gpmc,wait-monitoring-ns = <0>; |
461 | gpmc,wr-access-ns = <40>; | 461 | gpmc,wr-access-ns = <40>; |
462 | gpmc,wr-data-mux-bus-ns = <0>; | 462 | gpmc,wr-data-mux-bus-ns = <0>; |
463 | elm_id = <&elm>; | ||
464 | /* MTD partition table */ | 463 | /* MTD partition table */ |
465 | /* All SPL-* partitions are sized to minimal length | 464 | /* All SPL-* partitions are sized to minimal length |
466 | * which can be independently programmable. For | 465 | * which can be independently programmable. For |
diff --git a/arch/arm/boot/dts/omap3430-sdp.dts b/arch/arm/boot/dts/omap3430-sdp.dts index 281914ed0151..d48c08558de3 100644 --- a/arch/arm/boot/dts/omap3430-sdp.dts +++ b/arch/arm/boot/dts/omap3430-sdp.dts | |||
@@ -103,9 +103,8 @@ | |||
103 | #address-cells = <1>; | 103 | #address-cells = <1>; |
104 | #size-cells = <1>; | 104 | #size-cells = <1>; |
105 | reg = <1 0 0x08000000>; | 105 | reg = <1 0 0x08000000>; |
106 | ti,nand-ecc-opt = "ham1"; | ||
106 | nand-bus-width = <8>; | 107 | nand-bus-width = <8>; |
107 | |||
108 | ti,nand-ecc-opt = "sw"; | ||
109 | gpmc,cs-on-ns = <0>; | 108 | gpmc,cs-on-ns = <0>; |
110 | gpmc,cs-rd-off-ns = <36>; | 109 | gpmc,cs-rd-off-ns = <36>; |
111 | gpmc,cs-wr-off-ns = <36>; | 110 | gpmc,cs-wr-off-ns = <36>; |