Commit c06c5270 authored by Pekon Gupta's avatar Pekon Gupta Committed by Tony Lindgren

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 ac65caf5
    ARM: OMAP2+: cleaned-up DT support of various ECC schemes
    Also Refer: Documentation/devicetree/bindings/mtd/gpmc-nand.txt
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 91994fac
...@@ -434,9 +434,9 @@ &gpmc { ...@@ -434,9 +434,9 @@ &gpmc {
ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
nand@0,0 { nand@0,0 {
reg = <0 0 0>; /* CS0, offset 0 */ reg = <0 0 0>; /* CS0, offset 0 */
nand-bus-width = <8>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
gpmc,device-nand = "true"; ti,elm-id = <&elm>;
nand-bus-width = <8>;
gpmc,device-width = <1>; gpmc,device-width = <1>;
gpmc,sync-clk-ps = <0>; gpmc,sync-clk-ps = <0>;
gpmc,cs-on-ns = <0>; gpmc,cs-on-ns = <0>;
...@@ -460,7 +460,6 @@ nand@0,0 { ...@@ -460,7 +460,6 @@ nand@0,0 {
gpmc,wait-monitoring-ns = <0>; gpmc,wait-monitoring-ns = <0>;
gpmc,wr-access-ns = <40>; gpmc,wr-access-ns = <40>;
gpmc,wr-data-mux-bus-ns = <0>; gpmc,wr-data-mux-bus-ns = <0>;
elm_id = <&elm>;
/* MTD partition table */ /* MTD partition table */
/* All SPL-* partitions are sized to minimal length /* All SPL-* partitions are sized to minimal length
* which can be independently programmable. For * which can be independently programmable. For
......
...@@ -103,9 +103,8 @@ nand@1,0 { ...@@ -103,9 +103,8 @@ nand@1,0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <1 0 0x08000000>; reg = <1 0 0x08000000>;
ti,nand-ecc-opt = "ham1";
nand-bus-width = <8>; nand-bus-width = <8>;
ti,nand-ecc-opt = "sw";
gpmc,cs-on-ns = <0>; gpmc,cs-on-ns = <0>;
gpmc,cs-rd-off-ns = <36>; gpmc,cs-rd-off-ns = <36>;
gpmc,cs-wr-off-ns = <36>; gpmc,cs-wr-off-ns = <36>;
......
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