diff options
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-igep0033.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/am43x-epos-evm.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap-zoom-common.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap2420-n8x0-common.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-devkit8000.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-evm-37xx.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-gta04.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0020.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0030.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-ldp.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-n950-n9.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-tao3530.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3430-sdp.dts | 8 |
16 files changed, 31 insertions, 33 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index e2156a583de7..43a536c08c9f 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -437,9 +437,9 @@ | |||
437 | status = "okay"; | 437 | status = "okay"; |
438 | pinctrl-names = "default"; | 438 | pinctrl-names = "default"; |
439 | pinctrl-0 = <&nandflash_pins_s0>; | 439 | pinctrl-0 = <&nandflash_pins_s0>; |
440 | ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ | 440 | ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ |
441 | nand@0,0 { | 441 | nand@0,0 { |
442 | reg = <0 0 0>; /* CS0, offset 0 */ | 442 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
443 | ti,nand-ecc-opt = "bch8"; | 443 | ti,nand-ecc-opt = "bch8"; |
444 | ti,elm-id = <&elm>; | 444 | ti,elm-id = <&elm>; |
445 | nand-bus-width = <8>; | 445 | nand-bus-width = <8>; |
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index a1a0cc5eb35c..c0e1135256cc 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi | |||
@@ -126,10 +126,10 @@ | |||
126 | pinctrl-names = "default"; | 126 | pinctrl-names = "default"; |
127 | pinctrl-0 = <&nandflash_pins>; | 127 | pinctrl-0 = <&nandflash_pins>; |
128 | 128 | ||
129 | ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ | 129 | ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ |
130 | 130 | ||
131 | nand@0,0 { | 131 | nand@0,0 { |
132 | reg = <0 0 0>; /* CS0, offset 0 */ | 132 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
133 | nand-bus-width = <8>; | 133 | nand-bus-width = <8>; |
134 | ti,nand-ecc-opt = "bch8"; | 134 | ti,nand-ecc-opt = "bch8"; |
135 | gpmc,device-width = <1>; | 135 | gpmc,device-width = <1>; |
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index ac3e4859935f..bb4cb8554b4a 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts | |||
@@ -438,9 +438,9 @@ | |||
438 | status = "okay"; /* Disable QSPI when enabling GPMC (NAND) */ | 438 | status = "okay"; /* Disable QSPI when enabling GPMC (NAND) */ |
439 | pinctrl-names = "default"; | 439 | pinctrl-names = "default"; |
440 | pinctrl-0 = <&nand_flash_x8>; | 440 | pinctrl-0 = <&nand_flash_x8>; |
441 | ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */ | 441 | ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ |
442 | nand@0,0 { | 442 | nand@0,0 { |
443 | reg = <0 0 0>; /* CS0, offset 0 */ | 443 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
444 | ti,nand-ecc-opt = "bch16"; | 444 | ti,nand-ecc-opt = "bch16"; |
445 | ti,elm-id = <&elm>; | 445 | ti,elm-id = <&elm>; |
446 | nand-bus-width = <8>; | 446 | nand-bus-width = <8>; |
diff --git a/arch/arm/boot/dts/omap-zoom-common.dtsi b/arch/arm/boot/dts/omap-zoom-common.dtsi index 68221fab978d..2889b504792f 100644 --- a/arch/arm/boot/dts/omap-zoom-common.dtsi +++ b/arch/arm/boot/dts/omap-zoom-common.dtsi | |||
@@ -5,7 +5,7 @@ | |||
5 | #include "omap-gpmc-smsc911x.dtsi" | 5 | #include "omap-gpmc-smsc911x.dtsi" |
6 | 6 | ||
7 | &gpmc { | 7 | &gpmc { |
8 | ranges = <3 0 0x10000000 0x00000400>, | 8 | ranges = <3 0 0x10000000 0x1000000>, /* CS3: 16MB for UART */ |
9 | <7 0 0x2c000000 0x01000000>; | 9 | <7 0 0x2c000000 0x01000000>; |
10 | 10 | ||
11 | /* | 11 | /* |
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | uart@3,0 { | 16 | uart@3,0 { |
17 | compatible = "ns16550a"; | 17 | compatible = "ns16550a"; |
18 | reg = <3 0 0x100>; | 18 | reg = <3 0 8>; /* CS3, offset 0, IO size 8 */ |
19 | bank-width = <2>; | 19 | bank-width = <2>; |
20 | reg-shift = <1>; | 20 | reg-shift = <1>; |
21 | reg-io-width = <1>; | 21 | reg-io-width = <1>; |
diff --git a/arch/arm/boot/dts/omap2420-n8x0-common.dtsi b/arch/arm/boot/dts/omap2420-n8x0-common.dtsi index 24c50db2a478..c9f1e93a95ae 100644 --- a/arch/arm/boot/dts/omap2420-n8x0-common.dtsi +++ b/arch/arm/boot/dts/omap2420-n8x0-common.dtsi | |||
@@ -40,14 +40,14 @@ | |||
40 | }; | 40 | }; |
41 | 41 | ||
42 | &gpmc { | 42 | &gpmc { |
43 | ranges = <0 0 0x04000000 0x10000000>; | 43 | ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */ |
44 | 44 | ||
45 | /* gpio-irq for dma: 26 */ | 45 | /* gpio-irq for dma: 26 */ |
46 | 46 | ||
47 | onenand@0,0 { | 47 | onenand@0,0 { |
48 | #address-cells = <1>; | 48 | #address-cells = <1>; |
49 | #size-cells = <1>; | 49 | #size-cells = <1>; |
50 | reg = <0 0 0x10000000>; | 50 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ |
51 | 51 | ||
52 | gpmc,sync-read; | 52 | gpmc,sync-read; |
53 | gpmc,burst-length = <16>; | 53 | gpmc,burst-length = <16>; |
diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index da402f0fdab4..169037e5ff53 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts | |||
@@ -106,10 +106,10 @@ | |||
106 | }; | 106 | }; |
107 | 107 | ||
108 | &gpmc { | 108 | &gpmc { |
109 | ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */ | 109 | ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */ |
110 | 110 | ||
111 | nand@0,0 { | 111 | nand@0,0 { |
112 | reg = <0 0 0>; /* CS0, offset 0 */ | 112 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
113 | nand-bus-width = <16>; | 113 | nand-bus-width = <16>; |
114 | 114 | ||
115 | gpmc,sync-clk-ps = <0>; | 115 | gpmc,sync-clk-ps = <0>; |
diff --git a/arch/arm/boot/dts/omap3-evm-37xx.dts b/arch/arm/boot/dts/omap3-evm-37xx.dts index a8bd4349c7d2..f73385bb237a 100644 --- a/arch/arm/boot/dts/omap3-evm-37xx.dts +++ b/arch/arm/boot/dts/omap3-evm-37xx.dts | |||
@@ -154,12 +154,12 @@ | |||
154 | }; | 154 | }; |
155 | 155 | ||
156 | &gpmc { | 156 | &gpmc { |
157 | ranges = <0 0 0x00000000 0x20000000>, | 157 | ranges = <0 0 0x00000000 0x1000000>, /* CS0: 16MB for NAND */ |
158 | <5 0 0x2c000000 0x01000000>; | 158 | <5 0 0x2c000000 0x01000000>; |
159 | 159 | ||
160 | nand@0,0 { | 160 | nand@0,0 { |
161 | linux,mtd-name= "hynix,h8kds0un0mer-4em"; | 161 | linux,mtd-name= "hynix,h8kds0un0mer-4em"; |
162 | reg = <0 0 0>; | 162 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
163 | nand-bus-width = <16>; | 163 | nand-bus-width = <16>; |
164 | ti,nand-ecc-opt = "bch8"; | 164 | ti,nand-ecc-opt = "bch8"; |
165 | 165 | ||
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index fd34f913ace3..91bba857e0f9 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi | |||
@@ -397,10 +397,10 @@ | |||
397 | }; | 397 | }; |
398 | 398 | ||
399 | &gpmc { | 399 | &gpmc { |
400 | ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */ | 400 | ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */ |
401 | 401 | ||
402 | nand@0,0 { | 402 | nand@0,0 { |
403 | reg = <0 0 0>; /* CS0, offset 0 */ | 403 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
404 | nand-bus-width = <16>; | 404 | nand-bus-width = <16>; |
405 | ti,nand-ecc-opt = "bch8"; | 405 | ti,nand-ecc-opt = "bch8"; |
406 | 406 | ||
diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts index b22caaaf774b..ff0b11d95e08 100644 --- a/arch/arm/boot/dts/omap3-igep0020.dts +++ b/arch/arm/boot/dts/omap3-igep0020.dts | |||
@@ -197,12 +197,12 @@ | |||
197 | }; | 197 | }; |
198 | 198 | ||
199 | &gpmc { | 199 | &gpmc { |
200 | ranges = <0 0 0x00000000 0x20000000>, | 200 | ranges = <0 0 0x00000000 0x1000000>, /* CS0: 16MB for NAND */ |
201 | <5 0 0x2c000000 0x01000000>; | 201 | <5 0 0x2c000000 0x01000000>; |
202 | 202 | ||
203 | nand@0,0 { | 203 | nand@0,0 { |
204 | linux,mtd-name= "micron,mt29c4g96maz"; | 204 | linux,mtd-name= "micron,mt29c4g96maz"; |
205 | reg = <0 0 0>; | 205 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
206 | nand-bus-width = <16>; | 206 | nand-bus-width = <16>; |
207 | ti,nand-ecc-opt = "bch8"; | 207 | ti,nand-ecc-opt = "bch8"; |
208 | 208 | ||
diff --git a/arch/arm/boot/dts/omap3-igep0030.dts b/arch/arm/boot/dts/omap3-igep0030.dts index 2793749eb1ba..fd7ed712d506 100644 --- a/arch/arm/boot/dts/omap3-igep0030.dts +++ b/arch/arm/boot/dts/omap3-igep0030.dts | |||
@@ -55,11 +55,11 @@ | |||
55 | }; | 55 | }; |
56 | 56 | ||
57 | &gpmc { | 57 | &gpmc { |
58 | ranges = <0 0 0x00000000 0x20000000>; | 58 | ranges = <0 0 0x00000000 0x1000000>; /* CS0: 16MB for NAND */ |
59 | 59 | ||
60 | nand@0,0 { | 60 | nand@0,0 { |
61 | linux,mtd-name= "micron,mt29c4g96maz"; | 61 | linux,mtd-name= "micron,mt29c4g96maz"; |
62 | reg = <0 0 0>; | 62 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
63 | nand-bus-width = <16>; | 63 | nand-bus-width = <16>; |
64 | ti,nand-ecc-opt = "bch8"; | 64 | ti,nand-ecc-opt = "bch8"; |
65 | 65 | ||
diff --git a/arch/arm/boot/dts/omap3-ldp.dts b/arch/arm/boot/dts/omap3-ldp.dts index 72dca0b7904d..37d305aebc5b 100644 --- a/arch/arm/boot/dts/omap3-ldp.dts +++ b/arch/arm/boot/dts/omap3-ldp.dts | |||
@@ -101,7 +101,7 @@ | |||
101 | 101 | ||
102 | nand@0,0 { | 102 | nand@0,0 { |
103 | linux,mtd-name= "micron,nand"; | 103 | linux,mtd-name= "micron,nand"; |
104 | reg = <0 0 0>; | 104 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
105 | nand-bus-width = <16>; | 105 | nand-bus-width = <16>; |
106 | ti,nand-ecc-opt = "bch8"; | 106 | ti,nand-ecc-opt = "bch8"; |
107 | 107 | ||
diff --git a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi index d97308896f0c..e81fb651d5d0 100644 --- a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi +++ b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi | |||
@@ -363,7 +363,7 @@ | |||
363 | <7 0 0x15000000 0x01000000>; | 363 | <7 0 0x15000000 0x01000000>; |
364 | 364 | ||
365 | nand@0,0 { | 365 | nand@0,0 { |
366 | reg = <0 0 0x1000000>; | 366 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
367 | nand-bus-width = <16>; | 367 | nand-bus-width = <16>; |
368 | ti,nand-ecc-opt = "bch8"; | 368 | ti,nand-ecc-opt = "bch8"; |
369 | /* no elm on omap3 */ | 369 | /* no elm on omap3 */ |
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 644d9f493c46..99afa26c9ab6 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts | |||
@@ -612,18 +612,16 @@ | |||
612 | }; | 612 | }; |
613 | 613 | ||
614 | &gpmc { | 614 | &gpmc { |
615 | ranges = <0 0 0x04000000 0x10000000>; /* 256MB */ | ||
616 | ranges = <0 0 0x01000000 0x01000000>, /* 16 MB for OneNAND */ | 615 | ranges = <0 0 0x01000000 0x01000000>, /* 16 MB for OneNAND */ |
617 | <1 0 0x02000000 0x01000000>; /* 16 MB for smc91c96 */ | 616 | <1 0 0x02000000 0x01000000>; /* 16 MB for smc91c96 */ |
618 | pinctrl-names = "default"; | 617 | pinctrl-names = "default"; |
619 | pinctrl-0 = <&gpmc_pins>; | 618 | pinctrl-0 = <&gpmc_pins>; |
620 | 619 | ||
621 | /* gpio-irq for dma: 65 */ | 620 | /* sys_ndmareq1 could be used by the driver, not as gpio65 though */ |
622 | |||
623 | onenand@0,0 { | 621 | onenand@0,0 { |
624 | #address-cells = <1>; | 622 | #address-cells = <1>; |
625 | #size-cells = <1>; | 623 | #size-cells = <1>; |
626 | reg = <0 0 0x10000000>; | 624 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ |
627 | 625 | ||
628 | gpmc,sync-read; | 626 | gpmc,sync-read; |
629 | gpmc,sync-write; | 627 | gpmc,sync-write; |
diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts/omap3-n950-n9.dtsi index 70addcba37c5..1e49dfe7e212 100644 --- a/arch/arm/boot/dts/omap3-n950-n9.dtsi +++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi | |||
@@ -115,12 +115,12 @@ | |||
115 | }; | 115 | }; |
116 | 116 | ||
117 | &gpmc { | 117 | &gpmc { |
118 | ranges = <0 0 0x04000000 0x20000000>; | 118 | ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */ |
119 | 119 | ||
120 | onenand@0,0 { | 120 | onenand@0,0 { |
121 | #address-cells = <1>; | 121 | #address-cells = <1>; |
122 | #size-cells = <1>; | 122 | #size-cells = <1>; |
123 | reg = <0 0 0x20000000>; | 123 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ |
124 | 124 | ||
125 | gpmc,sync-read; | 125 | gpmc,sync-read; |
126 | gpmc,sync-write; | 126 | gpmc,sync-write; |
diff --git a/arch/arm/boot/dts/omap3-tao3530.dtsi b/arch/arm/boot/dts/omap3-tao3530.dtsi index b30f387d3a83..e89820a6776e 100644 --- a/arch/arm/boot/dts/omap3-tao3530.dtsi +++ b/arch/arm/boot/dts/omap3-tao3530.dtsi | |||
@@ -270,7 +270,7 @@ | |||
270 | ranges = <0 0 0x00000000 0x01000000>; | 270 | ranges = <0 0 0x00000000 0x01000000>; |
271 | 271 | ||
272 | nand@0,0 { | 272 | nand@0,0 { |
273 | reg = <0 0 0>; /* CS0, offset 0 */ | 273 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ |
274 | nand-bus-width = <16>; | 274 | nand-bus-width = <16>; |
275 | gpmc,device-width = <2>; /* GPMC_DEVWIDTH_16BIT */ | 275 | gpmc,device-width = <2>; /* GPMC_DEVWIDTH_16BIT */ |
276 | ti,nand-ecc-opt = "sw"; | 276 | ti,nand-ecc-opt = "sw"; |
diff --git a/arch/arm/boot/dts/omap3430-sdp.dts b/arch/arm/boot/dts/omap3430-sdp.dts index 9bad94efe1c8..16b0cdfbee9c 100644 --- a/arch/arm/boot/dts/omap3430-sdp.dts +++ b/arch/arm/boot/dts/omap3430-sdp.dts | |||
@@ -51,8 +51,8 @@ | |||
51 | 51 | ||
52 | &gpmc { | 52 | &gpmc { |
53 | ranges = <0 0 0x10000000 0x08000000>, | 53 | ranges = <0 0 0x10000000 0x08000000>, |
54 | <1 0 0x28000000 0x08000000>, | 54 | <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */ |
55 | <2 0 0x20000000 0x10000000>; | 55 | <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */ |
56 | 56 | ||
57 | nor@0,0 { | 57 | nor@0,0 { |
58 | compatible = "cfi-flash"; | 58 | compatible = "cfi-flash"; |
@@ -106,7 +106,7 @@ | |||
106 | linux,mtd-name= "micron,mt29f1g08abb"; | 106 | linux,mtd-name= "micron,mt29f1g08abb"; |
107 | #address-cells = <1>; | 107 | #address-cells = <1>; |
108 | #size-cells = <1>; | 108 | #size-cells = <1>; |
109 | reg = <1 0 0x08000000>; | 109 | reg = <1 0 4>; /* CS1, offset 0, IO size 4 */ |
110 | ti,nand-ecc-opt = "sw"; | 110 | ti,nand-ecc-opt = "sw"; |
111 | nand-bus-width = <8>; | 111 | nand-bus-width = <8>; |
112 | gpmc,cs-on-ns = <0>; | 112 | gpmc,cs-on-ns = <0>; |
@@ -150,7 +150,7 @@ | |||
150 | linux,mtd-name= "samsung,kfm2g16q2m-deb8"; | 150 | linux,mtd-name= "samsung,kfm2g16q2m-deb8"; |
151 | #address-cells = <1>; | 151 | #address-cells = <1>; |
152 | #size-cells = <1>; | 152 | #size-cells = <1>; |
153 | reg = <2 0 0x10000000>; | 153 | reg = <2 0 0x20000>; /* CS2, offset 0, IO size 4 */ |
154 | 154 | ||
155 | gpmc,device-width = <2>; | 155 | gpmc,device-width = <2>; |
156 | gpmc,mux-add-data = <2>; | 156 | gpmc,mux-add-data = <2>; |