aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-02-17 19:43:41 -0500
committerOlof Johansson <olof@lixom.net>2013-02-17 19:43:41 -0500
commit4f0e429ccfa25fd433253652a662a840ac4f44c9 (patch)
tree1b724f64300b6a67668470ccc6cbe66a81f75030
parentc56cc512e2aaf22c45ecd894489132e6a063fa7c (diff)
parentc18c6b29e0d8aa6a14ae0f254c5e7abe41a01745 (diff)
Merge tag 'at91-dt-late' of git://github.com/at91linux/linux-at91 into next/dt
From Nicolas Ferre: More DT modifications for AT91. Now that I am sure that the drivers modification are picked-up by MTD. Changes the use ECC to hardware ECC (named PMECC) for SoCs that are using it and their associated Evaluation Kits: - at91sam9x5-ek - at91sam9n12-ek * tag 'at91-dt-late' of git://github.com/at91linux/linux-at91: ARM: at91: at91sam9n12: add DT parameters to enable PMECC ARM: at91: at91sam9x5: add DT parameters to enable PMECC
-rw-r--r--arch/arm/boot/dts/at91sam9n12.dtsi3
-rw-r--r--arch/arm/boot/dts/at91sam9n12ek.dts5
-rw-r--r--arch/arm/boot/dts/at91sam9x5.dtsi4
-rw-r--r--arch/arm/boot/dts/at91sam9x5cm.dtsi5
4 files changed, 14 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index 80e29c605d4e..a3a3fdbaf034 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -390,8 +390,9 @@
390 reg = < 0x40000000 0x10000000 390 reg = < 0x40000000 0x10000000
391 0xffffe000 0x00000600 391 0xffffe000 0x00000600
392 0xffffe600 0x00000200 392 0xffffe600 0x00000200
393 0x00100000 0x00100000 393 0x00108000 0x00018000
394 >; 394 >;
395 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
395 atmel,nand-addr-offset = <21>; 396 atmel,nand-addr-offset = <21>;
396 atmel,nand-cmd-offset = <22>; 397 atmel,nand-cmd-offset = <22>;
397 pinctrl-names = "default"; 398 pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
index 0376bf4fd66b..d400f8de4387 100644
--- a/arch/arm/boot/dts/at91sam9n12ek.dts
+++ b/arch/arm/boot/dts/at91sam9n12ek.dts
@@ -71,7 +71,10 @@
71 71
72 nand0: nand@40000000 { 72 nand0: nand@40000000 {
73 nand-bus-width = <8>; 73 nand-bus-width = <8>;
74 nand-ecc-mode = "soft"; 74 nand-ecc-mode = "hw";
75 atmel,has-pmecc;
76 atmel,pmecc-cap = <2>;
77 atmel,pmecc-sector-size = <512>;
75 nand-on-flash-bbt; 78 nand-on-flash-bbt;
76 status = "okay"; 79 status = "okay";
77 }; 80 };
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index 8ecca6948d81..8c8907757bf3 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -518,7 +518,11 @@
518 #address-cells = <1>; 518 #address-cells = <1>;
519 #size-cells = <1>; 519 #size-cells = <1>;
520 reg = <0x40000000 0x10000000 520 reg = <0x40000000 0x10000000
521 0xffffe000 0x600 /* PMECC Registers */
522 0xffffe600 0x200 /* PMECC Error Location Registers */
523 0x00108000 0x18000 /* PMECC looup table in ROM code */
521 >; 524 >;
525 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
522 atmel,nand-addr-offset = <21>; 526 atmel,nand-addr-offset = <21>;
523 atmel,nand-cmd-offset = <22>; 527 atmel,nand-cmd-offset = <22>;
524 pinctrl-names = "default"; 528 pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi
index 31e7be23703d..4027ac7e4502 100644
--- a/arch/arm/boot/dts/at91sam9x5cm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi
@@ -26,7 +26,10 @@
26 ahb { 26 ahb {
27 nand0: nand@40000000 { 27 nand0: nand@40000000 {
28 nand-bus-width = <8>; 28 nand-bus-width = <8>;
29 nand-ecc-mode = "soft"; 29 nand-ecc-mode = "hw";
30 atmel,has-pmecc; /* Enable PMECC */
31 atmel,pmecc-cap = <2>;
32 atmel,pmecc-sector-size = <512>;
30 nand-on-flash-bbt; 33 nand-on-flash-bbt;
31 status = "okay"; 34 status = "okay";
32 35