diff options
author | Enric Balletbo i Serra <eballetbo@iseebcn.com> | 2014-11-06 07:01:42 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-11-12 10:04:36 -0500 |
commit | e170db3c1fc8adb20c934b50a327b58c2b08eab5 (patch) | |
tree | acf464b03eb2fd6fdee3040df30993cbe7f95af0 /arch/arm | |
parent | 86f9abb6ec730441731bc5aff3e3865c9186bb13 (diff) |
ARM: dts: omap3-igep00x0: Move NAND configuration to a common place.
At this moment all supported boards use same NAND chip, so has more sense
move the GPMC and NAND configuration to the omap3-igep.dtsi common place.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/omap3-igep.dtsi | 49 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0020.dts | 47 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0030.dts | 51 |
3 files changed, 49 insertions, 98 deletions
diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi index fb1040da4c9e..04a58ab32b33 100644 --- a/arch/arm/boot/dts/omap3-igep.dtsi +++ b/arch/arm/boot/dts/omap3-igep.dtsi | |||
@@ -128,6 +128,55 @@ | |||
128 | }; | 128 | }; |
129 | }; | 129 | }; |
130 | 130 | ||
131 | &gpmc { | ||
132 | nand@0,0 { | ||
133 | linux,mtd-name= "micron,mt29c4g96maz"; | ||
134 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ | ||
135 | nand-bus-width = <16>; | ||
136 | gpmc,device-width = <2>; | ||
137 | ti,nand-ecc-opt = "bch8"; | ||
138 | |||
139 | gpmc,sync-clk-ps = <0>; | ||
140 | gpmc,cs-on-ns = <0>; | ||
141 | gpmc,cs-rd-off-ns = <44>; | ||
142 | gpmc,cs-wr-off-ns = <44>; | ||
143 | gpmc,adv-on-ns = <6>; | ||
144 | gpmc,adv-rd-off-ns = <34>; | ||
145 | gpmc,adv-wr-off-ns = <44>; | ||
146 | gpmc,we-off-ns = <40>; | ||
147 | gpmc,oe-off-ns = <54>; | ||
148 | gpmc,access-ns = <64>; | ||
149 | gpmc,rd-cycle-ns = <82>; | ||
150 | gpmc,wr-cycle-ns = <82>; | ||
151 | gpmc,wr-access-ns = <40>; | ||
152 | gpmc,wr-data-mux-bus-ns = <0>; | ||
153 | |||
154 | #address-cells = <1>; | ||
155 | #size-cells = <1>; | ||
156 | |||
157 | partition@0 { | ||
158 | label = "SPL"; | ||
159 | reg = <0 0x100000>; | ||
160 | }; | ||
161 | partition@80000 { | ||
162 | label = "U-Boot"; | ||
163 | reg = <0x100000 0x180000>; | ||
164 | }; | ||
165 | partition@1c0000 { | ||
166 | label = "Environment"; | ||
167 | reg = <0x280000 0x100000>; | ||
168 | }; | ||
169 | partition@280000 { | ||
170 | label = "Kernel"; | ||
171 | reg = <0x380000 0x300000>; | ||
172 | }; | ||
173 | partition@780000 { | ||
174 | label = "Filesystem"; | ||
175 | reg = <0x680000 0x1f980000>; | ||
176 | }; | ||
177 | }; | ||
178 | }; | ||
179 | |||
131 | &i2c1 { | 180 | &i2c1 { |
132 | pinctrl-names = "default"; | 181 | pinctrl-names = "default"; |
133 | pinctrl-0 = <&i2c1_pins>; | 182 | pinctrl-0 = <&i2c1_pins>; |
diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts index 87d77e4ce6f8..731ab8f3de4a 100644 --- a/arch/arm/boot/dts/omap3-igep0020.dts +++ b/arch/arm/boot/dts/omap3-igep0020.dts | |||
@@ -209,53 +209,6 @@ | |||
209 | ranges = <0 0 0x00000000 0x1000000>, /* CS0: 16MB for NAND */ | 209 | ranges = <0 0 0x00000000 0x1000000>, /* CS0: 16MB for NAND */ |
210 | <5 0 0x2c000000 0x01000000>; | 210 | <5 0 0x2c000000 0x01000000>; |
211 | 211 | ||
212 | nand@0,0 { | ||
213 | linux,mtd-name= "micron,mt29c4g96maz"; | ||
214 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ | ||
215 | nand-bus-width = <16>; | ||
216 | gpmc,device-width = <2>; | ||
217 | ti,nand-ecc-opt = "bch8"; | ||
218 | |||
219 | gpmc,sync-clk-ps = <0>; | ||
220 | gpmc,cs-on-ns = <0>; | ||
221 | gpmc,cs-rd-off-ns = <44>; | ||
222 | gpmc,cs-wr-off-ns = <44>; | ||
223 | gpmc,adv-on-ns = <6>; | ||
224 | gpmc,adv-rd-off-ns = <34>; | ||
225 | gpmc,adv-wr-off-ns = <44>; | ||
226 | gpmc,we-off-ns = <40>; | ||
227 | gpmc,oe-off-ns = <54>; | ||
228 | gpmc,access-ns = <64>; | ||
229 | gpmc,rd-cycle-ns = <82>; | ||
230 | gpmc,wr-cycle-ns = <82>; | ||
231 | gpmc,wr-access-ns = <40>; | ||
232 | gpmc,wr-data-mux-bus-ns = <0>; | ||
233 | |||
234 | #address-cells = <1>; | ||
235 | #size-cells = <1>; | ||
236 | |||
237 | partition@0 { | ||
238 | label = "SPL"; | ||
239 | reg = <0 0x100000>; | ||
240 | }; | ||
241 | partition@80000 { | ||
242 | label = "U-Boot"; | ||
243 | reg = <0x100000 0x180000>; | ||
244 | }; | ||
245 | partition@1c0000 { | ||
246 | label = "Environment"; | ||
247 | reg = <0x280000 0x100000>; | ||
248 | }; | ||
249 | partition@280000 { | ||
250 | label = "Kernel"; | ||
251 | reg = <0x380000 0x300000>; | ||
252 | }; | ||
253 | partition@780000 { | ||
254 | label = "Filesystem"; | ||
255 | reg = <0x680000 0x1f980000>; | ||
256 | }; | ||
257 | }; | ||
258 | |||
259 | ethernet@gpmc { | 212 | ethernet@gpmc { |
260 | pinctrl-names = "default"; | 213 | pinctrl-names = "default"; |
261 | pinctrl-0 = <&smsc9221_pins>; | 214 | pinctrl-0 = <&smsc9221_pins>; |
diff --git a/arch/arm/boot/dts/omap3-igep0030.dts b/arch/arm/boot/dts/omap3-igep0030.dts index 2df13964f7e7..5862380b0fb3 100644 --- a/arch/arm/boot/dts/omap3-igep0030.dts +++ b/arch/arm/boot/dts/omap3-igep0030.dts | |||
@@ -65,57 +65,6 @@ | |||
65 | }; | 65 | }; |
66 | }; | 66 | }; |
67 | 67 | ||
68 | &gpmc { | ||
69 | ranges = <0 0 0x00000000 0x1000000>; /* CS0: 16MB for NAND */ | ||
70 | |||
71 | nand@0,0 { | ||
72 | linux,mtd-name= "micron,mt29c4g96maz"; | ||
73 | reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ | ||
74 | nand-bus-width = <16>; | ||
75 | gpmc,device-width = <2>; | ||
76 | ti,nand-ecc-opt = "bch8"; | ||
77 | |||
78 | gpmc,sync-clk-ps = <0>; | ||
79 | gpmc,cs-on-ns = <0>; | ||
80 | gpmc,cs-rd-off-ns = <44>; | ||
81 | gpmc,cs-wr-off-ns = <44>; | ||
82 | gpmc,adv-on-ns = <6>; | ||
83 | gpmc,adv-rd-off-ns = <34>; | ||
84 | gpmc,adv-wr-off-ns = <44>; | ||
85 | gpmc,we-off-ns = <40>; | ||
86 | gpmc,oe-off-ns = <54>; | ||
87 | gpmc,access-ns = <64>; | ||
88 | gpmc,rd-cycle-ns = <82>; | ||
89 | gpmc,wr-cycle-ns = <82>; | ||
90 | gpmc,wr-access-ns = <40>; | ||
91 | gpmc,wr-data-mux-bus-ns = <0>; | ||
92 | |||
93 | #address-cells = <1>; | ||
94 | #size-cells = <1>; | ||
95 | |||
96 | partition@0 { | ||
97 | label = "SPL"; | ||
98 | reg = <0 0x100000>; | ||
99 | }; | ||
100 | partition@80000 { | ||
101 | label = "U-Boot"; | ||
102 | reg = <0x100000 0x180000>; | ||
103 | }; | ||
104 | partition@1c0000 { | ||
105 | label = "Environment"; | ||
106 | reg = <0x280000 0x100000>; | ||
107 | }; | ||
108 | partition@280000 { | ||
109 | label = "Kernel"; | ||
110 | reg = <0x380000 0x300000>; | ||
111 | }; | ||
112 | partition@780000 { | ||
113 | label = "Filesystem"; | ||
114 | reg = <0x680000 0x1f980000>; | ||
115 | }; | ||
116 | }; | ||
117 | }; | ||
118 | |||
119 | &uart2 { | 68 | &uart2 { |
120 | pinctrl-names = "default"; | 69 | pinctrl-names = "default"; |
121 | pinctrl-0 = <&uart2_pins>; | 70 | pinctrl-0 = <&uart2_pins>; |