Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: armada-370-xp: update NAND node with new bindings

Use the new bindings of the Marvell NAND controller driver. Also adapt
the NAND controller node organization to distinguish which property is
relevant for the controller, and which one is NAND chip specific. Expose
the partitions as a subnode of the NAND chip.

Remove the 'marvell,nand-enable-arbiter' property, not needed anymore
as the new driver activates the arbiter by default for all boards which
is either needed or harmless.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Miquel Raynal and committed by
Gregory CLEMENT
3b799199 60cc43fc

+434 -352
+30 -27
arch/arm/boot/dts/armada-370-db.dts
··· 105 105 usb@51000 { 106 106 status = "okay"; 107 107 }; 108 - 109 - nand@d0000 { 110 - status = "okay"; 111 - num-cs = <1>; 112 - marvell,nand-keep-config; 113 - marvell,nand-enable-arbiter; 114 - nand-on-flash-bbt; 115 - 116 - partitions { 117 - compatible = "fixed-partitions"; 118 - #address-cells = <1>; 119 - #size-cells = <1>; 120 - 121 - partition@0 { 122 - label = "U-Boot"; 123 - reg = <0 0x800000>; 124 - }; 125 - partition@800000 { 126 - label = "Linux"; 127 - reg = <0x800000 0x800000>; 128 - }; 129 - partition@1000000 { 130 - label = "Filesystem"; 131 - reg = <0x1000000 0x3f000000>; 132 - }; 133 - }; 134 - }; 135 108 }; 136 109 }; 137 110 ··· 212 239 }; 213 240 }; 214 241 242 + &nand_controller { 243 + status = "okay"; 244 + 245 + nand@0 { 246 + reg = <0>; 247 + label = "pxa3xx_nand-0"; 248 + nand-rb = <0>; 249 + marvell,nand-keep-config; 250 + nand-on-flash-bbt; 251 + 252 + partitions { 253 + compatible = "fixed-partitions"; 254 + #address-cells = <1>; 255 + #size-cells = <1>; 256 + 257 + partition@0 { 258 + label = "U-Boot"; 259 + reg = <0 0x800000>; 260 + }; 261 + partition@800000 { 262 + label = "Linux"; 263 + reg = <0x800000 0x800000>; 264 + }; 265 + partition@1000000 { 266 + label = "Filesystem"; 267 + reg = <0x1000000 0x3f000000>; 268 + }; 269 + }; 270 + }; 271 + };
+30 -21
arch/arm/boot/dts/armada-370-mirabox.dts
··· 108 108 reg = <0x25>; 109 109 }; 110 110 }; 111 - 112 - nand@d0000 { 113 - status = "okay"; 114 - num-cs = <1>; 115 - marvell,nand-keep-config; 116 - marvell,nand-enable-arbiter; 117 - nand-on-flash-bbt; 118 - 119 - partition@0 { 120 - label = "U-Boot"; 121 - reg = <0 0x400000>; 122 - }; 123 - partition@400000 { 124 - label = "Linux"; 125 - reg = <0x400000 0x400000>; 126 - }; 127 - partition@800000 { 128 - label = "Filesystem"; 129 - reg = <0x800000 0x3f800000>; 130 - }; 131 - }; 132 111 }; 133 112 }; 134 113 }; ··· 152 173 }; 153 174 }; 154 175 176 + &nand_controller { 177 + status = "okay"; 178 + 179 + nand@0 { 180 + reg = <0>; 181 + label = "pxa3xx_nand-0"; 182 + nand-rb = <0>; 183 + marvell,nand-keep-config; 184 + nand-on-flash-bbt; 185 + 186 + partitions { 187 + compatible = "fixed-partitions"; 188 + #address-cells = <1>; 189 + #size-cells = <1>; 190 + 191 + partition@0 { 192 + label = "U-Boot"; 193 + reg = <0 0x400000>; 194 + }; 195 + partition@400000 { 196 + label = "Linux"; 197 + reg = <0x400000 0x400000>; 198 + }; 199 + partition@800000 { 200 + label = "Filesystem"; 201 + reg = <0x800000 0x3f800000>; 202 + }; 203 + }; 204 + }; 205 + };
+50 -40
arch/arm/boot/dts/armada-370-netgear-rn102.dts
··· 81 81 pwm_polarity = <0>; 82 82 }; 83 83 }; 84 - 85 - nand@d0000 { 86 - status = "okay"; 87 - num-cs = <1>; 88 - marvell,nand-keep-config; 89 - marvell,nand-enable-arbiter; 90 - nand-on-flash-bbt; 91 - 92 - /* Use Hardware BCH ECC */ 93 - nand-ecc-strength = <4>; 94 - nand-ecc-step-size = <512>; 95 - 96 - partition@0 { 97 - label = "u-boot"; 98 - reg = <0x0000000 0x180000>; /* 1.5MB */ 99 - read-only; 100 - }; 101 - 102 - partition@180000 { 103 - label = "u-boot-env"; 104 - reg = <0x180000 0x20000>; /* 128KB */ 105 - read-only; 106 - }; 107 - 108 - partition@200000 { 109 - label = "uImage"; 110 - reg = <0x0200000 0x600000>; /* 6MB */ 111 - }; 112 - 113 - partition@800000 { 114 - label = "minirootfs"; 115 - reg = <0x0800000 0x400000>; /* 4MB */ 116 - }; 117 - 118 - /* Last MB is for the BBT, i.e. not writable */ 119 - partition@c00000 { 120 - label = "ubifs"; 121 - reg = <0x0c00000 0x7400000>; /* 116MB */ 122 - }; 123 - }; 124 84 }; 125 85 }; 126 86 ··· 222 262 poweroff: poweroff { 223 263 marvell,pins = "mpp8"; 224 264 marvell,function = "gpio"; 265 + }; 266 + }; 267 + 268 + &nand_controller { 269 + status = "okay"; 270 + 271 + nand@0 { 272 + reg = <0>; 273 + label = "pxa3xx_nand-0"; 274 + nand-rb = <0>; 275 + marvell,nand-keep-config; 276 + nand-on-flash-bbt; 277 + 278 + /* Use Hardware BCH ECC */ 279 + nand-ecc-strength = <4>; 280 + nand-ecc-step-size = <512>; 281 + 282 + partitions { 283 + compatible = "fixed-partitions"; 284 + #address-cells = <1>; 285 + #size-cells = <1>; 286 + 287 + partition@0 { 288 + label = "u-boot"; 289 + reg = <0x0000000 0x180000>; /* 1.5MB */ 290 + read-only; 291 + }; 292 + 293 + partition@180000 { 294 + label = "u-boot-env"; 295 + reg = <0x180000 0x20000>; /* 128KB */ 296 + read-only; 297 + }; 298 + 299 + partition@200000 { 300 + label = "uImage"; 301 + reg = <0x0200000 0x600000>; /* 6MB */ 302 + }; 303 + 304 + partition@800000 { 305 + label = "minirootfs"; 306 + reg = <0x0800000 0x400000>; /* 4MB */ 307 + }; 308 + 309 + /* Last MB is for the BBT, i.e. not writable */ 310 + partition@c00000 { 311 + label = "ubifs"; 312 + reg = <0x0c00000 0x7400000>; /* 116MB */ 313 + }; 314 + }; 225 315 }; 226 316 };
+50 -40
arch/arm/boot/dts/armada-370-netgear-rn104.dts
··· 90 90 reg = <0x23>; 91 91 }; 92 92 }; 93 - 94 - nand@d0000 { 95 - status = "okay"; 96 - num-cs = <1>; 97 - marvell,nand-keep-config; 98 - marvell,nand-enable-arbiter; 99 - nand-on-flash-bbt; 100 - 101 - /* Use Hardware BCH ECC */ 102 - nand-ecc-strength = <4>; 103 - nand-ecc-step-size = <512>; 104 - 105 - partition@0 { 106 - label = "u-boot"; 107 - reg = <0x0000000 0x180000>; /* 1.5MB */ 108 - read-only; 109 - }; 110 - 111 - partition@180000 { 112 - label = "u-boot-env"; 113 - reg = <0x180000 0x20000>; /* 128KB */ 114 - read-only; 115 - }; 116 - 117 - partition@200000 { 118 - label = "uImage"; 119 - reg = <0x0200000 0x600000>; /* 6MB */ 120 - }; 121 - 122 - partition@800000 { 123 - label = "minirootfs"; 124 - reg = <0x0800000 0x400000>; /* 4MB */ 125 - }; 126 - 127 - /* Last MB is for the BBT, i.e. not writable */ 128 - partition@c00000 { 129 - label = "ubifs"; 130 - reg = <0x0c00000 0x7400000>; /* 116MB */ 131 - }; 132 - }; 133 93 }; 134 94 }; 135 95 ··· 234 274 reset_button_pin: reset-button-pin { 235 275 marvell,pins = "mpp65"; 236 276 marvell,function = "gpio"; 277 + }; 278 + }; 279 + 280 + &nand_controller { 281 + status = "okay"; 282 + 283 + nand@0 { 284 + reg = <0>; 285 + label = "pxa3xx_nand-0"; 286 + nand-rb = <0>; 287 + marvell,nand-keep-config; 288 + nand-on-flash-bbt; 289 + 290 + /* Use Hardware BCH ECC */ 291 + nand-ecc-strength = <4>; 292 + nand-ecc-step-size = <512>; 293 + 294 + partitions { 295 + compatible = "fixed-partitions"; 296 + #address-cells = <1>; 297 + #size-cells = <1>; 298 + 299 + partition@0 { 300 + label = "u-boot"; 301 + reg = <0x0000000 0x180000>; /* 1.5MB */ 302 + read-only; 303 + }; 304 + 305 + partition@180000 { 306 + label = "u-boot-env"; 307 + reg = <0x180000 0x20000>; /* 128KB */ 308 + read-only; 309 + }; 310 + 311 + partition@200000 { 312 + label = "uImage"; 313 + reg = <0x0200000 0x600000>; /* 6MB */ 314 + }; 315 + 316 + partition@800000 { 317 + label = "minirootfs"; 318 + reg = <0x0800000 0x400000>; /* 4MB */ 319 + }; 320 + 321 + /* Last MB is for the BBT, i.e. not writable */ 322 + partition@c00000 { 323 + label = "ubifs"; 324 + reg = <0x0c00000 0x7400000>; /* 116MB */ 325 + }; 326 + }; 237 327 }; 238 328 };
+31 -21
arch/arm/boot/dts/armada-370-rd.dts
··· 112 112 default-state = "keep"; 113 113 }; 114 114 }; 115 - 116 - nand@d0000 { 117 - status = "okay"; 118 - num-cs = <1>; 119 - marvell,nand-keep-config; 120 - marvell,nand-enable-arbiter; 121 - nand-on-flash-bbt; 122 - 123 - partition@0 { 124 - label = "U-Boot"; 125 - reg = <0 0x800000>; 126 - }; 127 - partition@800000 { 128 - label = "Linux"; 129 - reg = <0x800000 0x800000>; 130 - }; 131 - partition@1000000 { 132 - label = "Filesystem"; 133 - reg = <0x1000000 0x3f000000>; 134 - }; 135 - }; 136 115 }; 137 116 }; 138 117 ··· 265 286 led_pins: led-pins { 266 287 marvell,pins = "mpp32"; 267 288 marvell,function = "gpio"; 289 + }; 290 + }; 291 + 292 + &nand_controller { 293 + status = "okay"; 294 + 295 + nand@0 { 296 + reg = <0>; 297 + label = "pxa3xx_nand-0"; 298 + nand-rb = <0>; 299 + marvell,nand-keep-config; 300 + nand-on-flash-bbt; 301 + 302 + partitions { 303 + compatible = "fixed-partitions"; 304 + #address-cells = <1>; 305 + #size-cells = <1>; 306 + 307 + partition@0 { 308 + label = "U-Boot"; 309 + reg = <0 0x800000>; 310 + }; 311 + partition@800000 { 312 + label = "Linux"; 313 + reg = <0x800000 0x800000>; 314 + }; 315 + partition@1000000 { 316 + label = "Filesystem"; 317 + reg = <0x1000000 0x3f000000>; 318 + }; 319 + }; 268 320 }; 269 321 };
+37 -27
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
··· 66 66 interrupts = <110>; 67 67 }; 68 68 }; 69 - 70 - nand@d0000 { 71 - status = "okay"; 72 - num-cs = <1>; 73 - marvell,nand-keep-config; 74 - marvell,nand-enable-arbiter; 75 - nand-on-flash-bbt; 76 - nand-ecc-strength = <4>; 77 - nand-ecc-step-size = <512>; 78 - 79 - partition@0 { 80 - label = "u-boot"; 81 - reg = <0x0 0x300000>; 82 - }; 83 - partition@300000 { 84 - label = "device-tree"; 85 - reg = <0x300000 0x20000>; 86 - }; 87 - partition@320000 { 88 - label = "linux"; 89 - reg = <0x320000 0x2000000>; 90 - }; 91 - partition@2320000 { 92 - label = "rootfs"; 93 - reg = <0x2320000 0xdce0000>; 94 - }; 95 - }; 96 69 }; 97 70 98 71 }; ··· 198 225 hdd1_led_gpio_pin: hdd1-led-gpio-pin { 199 226 marvell,pins = "mpp57"; 200 227 marvell,function = "gpio"; 228 + }; 229 + }; 230 + 231 + &nand_controller { 232 + status = "okay"; 233 + 234 + nand@0 { 235 + reg = <0>; 236 + label = "pxa3xx_nand-0"; 237 + nand-rb = <0>; 238 + marvell,nand-keep-config; 239 + nand-on-flash-bbt; 240 + nand-ecc-strength = <4>; 241 + nand-ecc-step-size = <512>; 242 + 243 + partitions { 244 + compatible = "fixed-partitions"; 245 + #address-cells = <1>; 246 + #size-cells = <1>; 247 + 248 + partition@0 { 249 + label = "u-boot"; 250 + reg = <0x0 0x300000>; 251 + }; 252 + partition@300000 { 253 + label = "device-tree"; 254 + reg = <0x300000 0x20000>; 255 + }; 256 + partition@320000 { 257 + label = "linux"; 258 + reg = <0x320000 0x2000000>; 259 + }; 260 + partition@2320000 { 261 + label = "rootfs"; 262 + reg = <0x2320000 0xdce0000>; 263 + }; 264 + }; 201 265 }; 202 266 };
+3 -3
arch/arm/boot/dts/armada-370-xp.dtsi
··· 244 244 status = "disabled"; 245 245 }; 246 246 247 - nand: nand@d0000 { 248 - compatible = "marvell,armada370-nand"; 247 + nand_controller: nand-controller@d0000 { 248 + compatible = "marvell,armada370-nand-controller"; 249 249 reg = <0xd0000 0x54>; 250 250 #address-cells = <1>; 251 - #size-cells = <1>; 251 + #size-cells = <0>; 252 252 interrupts = <113>; 253 253 clocks = <&coredivclk 0>; 254 254 status = "disabled";
+1 -1
arch/arm/boot/dts/armada-xp-db-dxbc2.dts
··· 70 70 71 71 &nand { 72 72 status = "okay"; 73 + label = "pxa3xx_nand-0"; 73 74 num-cs = <1>; 74 75 marvell,nand-keep-config; 75 - marvell,nand-enable-arbiter; 76 76 nand-on-flash-bbt; 77 77 nand-ecc-strength = <4>; 78 78 nand-ecc-step-size = <512>;
+1 -1
arch/arm/boot/dts/armada-xp-db-xc3-24g4xg.dts
··· 69 69 70 70 &nand { 71 71 status = "okay"; 72 + label = "pxa3xx_nand-0"; 72 73 num-cs = <1>; 73 74 marvell,nand-keep-config; 74 - marvell,nand-enable-arbiter; 75 75 nand-on-flash-bbt; 76 76 nand-ecc-strength = <4>; 77 77 nand-ecc-step-size = <512>;
+1 -1
arch/arm/boot/dts/armada-xp-db.dts
··· 146 146 147 147 nand@d0000 { 148 148 status = "okay"; 149 + label = "pxa3xx_nand-0"; 149 150 num-cs = <1>; 150 151 marvell,nand-keep-config; 151 - marvell,nand-enable-arbiter; 152 152 nand-on-flash-bbt; 153 153 154 154 partitions {
+1 -1
arch/arm/boot/dts/armada-xp-gp.dts
··· 162 162 163 163 nand@d0000 { 164 164 status = "okay"; 165 + label = "pxa3xx_nand-0"; 165 166 num-cs = <1>; 166 167 marvell,nand-keep-config; 167 - marvell,nand-enable-arbiter; 168 168 nand-on-flash-bbt; 169 169 }; 170 170 };
+1 -1
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
··· 83 83 84 84 nand@d0000 { 85 85 status = "okay"; 86 + label = "pxa3xx_nand-0"; 86 87 num-cs = <1>; 87 88 marvell,nand-keep-config; 88 - marvell,nand-enable-arbiter; 89 89 nand-on-flash-bbt; 90 90 91 91 partitions {
+83 -73
arch/arm/boot/dts/armada-xp-linksys-mamba.dts
··· 165 165 bm@c8000 { 166 166 status = "okay"; 167 167 }; 168 - 169 - nand@d0000 { 170 - status = "okay"; 171 - num-cs = <1>; 172 - marvell,nand-keep-config; 173 - marvell,nand-enable-arbiter; 174 - nand-on-flash-bbt; 175 - nand-ecc-strength = <4>; 176 - nand-ecc-step-size = <512>; 177 - 178 - partition@0 { 179 - label = "u-boot"; 180 - reg = <0x0000000 0x100000>; /* 1MB */ 181 - read-only; 182 - }; 183 - 184 - partition@100000 { 185 - label = "u_env"; 186 - reg = <0x100000 0x40000>; /* 256KB */ 187 - }; 188 - 189 - partition@140000 { 190 - label = "s_env"; 191 - reg = <0x140000 0x40000>; /* 256KB */ 192 - }; 193 - 194 - partition@900000 { 195 - label = "devinfo"; 196 - reg = <0x900000 0x100000>; /* 1MB */ 197 - read-only; 198 - }; 199 - 200 - /* kernel1 overlaps with rootfs1 by design */ 201 - partition@a00000 { 202 - label = "kernel1"; 203 - reg = <0xa00000 0x2800000>; /* 40MB */ 204 - }; 205 - 206 - partition@d00000 { 207 - label = "rootfs1"; 208 - reg = <0xd00000 0x2500000>; /* 37MB */ 209 - }; 210 - 211 - /* kernel2 overlaps with rootfs2 by design */ 212 - partition@3200000 { 213 - label = "kernel2"; 214 - reg = <0x3200000 0x2800000>; /* 40MB */ 215 - }; 216 - 217 - partition@3500000 { 218 - label = "rootfs2"; 219 - reg = <0x3500000 0x2500000>; /* 37MB */ 220 - }; 221 - 222 - /* 223 - * 38MB, last MB is for the BBT, not writable 224 - */ 225 - partition@5a00000 { 226 - label = "syscfg"; 227 - reg = <0x5a00000 0x2600000>; 228 - }; 229 - 230 - /* 231 - * Unused area between "s_env" and "devinfo". 232 - * Moved here because otherwise the renumbered 233 - * partitions would break the bootloader 234 - * supplied bootargs 235 - */ 236 - partition@180000 { 237 - label = "unused_area"; 238 - reg = <0x180000 0x780000>; /* 7.5MB */ 239 - }; 240 - }; 241 168 }; 242 169 243 170 bm-bppi { ··· 357 430 speed = <1000>; 358 431 full-duplex; 359 432 }; 433 + }; 434 + }; 435 + }; 436 + }; 437 + 438 + &nand_controller { 439 + status = "okay"; 440 + 441 + nand@0 { 442 + reg = <0>; 443 + label = "pxa3xx_nand-0"; 444 + nand-rb = <0>; 445 + marvell,nand-keep-config; 446 + nand-on-flash-bbt; 447 + nand-ecc-strength = <4>; 448 + nand-ecc-step-size = <512>; 449 + 450 + partitions { 451 + compatible = "fixed-partitions"; 452 + #address-cells = <1>; 453 + #size-cells = <1>; 454 + 455 + partition@0 { 456 + label = "u-boot"; 457 + reg = <0x0000000 0x100000>; /* 1MB */ 458 + read-only; 459 + }; 460 + 461 + partition@100000 { 462 + label = "u_env"; 463 + reg = <0x100000 0x40000>; /* 256KB */ 464 + }; 465 + 466 + partition@140000 { 467 + label = "s_env"; 468 + reg = <0x140000 0x40000>; /* 256KB */ 469 + }; 470 + 471 + partition@900000 { 472 + label = "devinfo"; 473 + reg = <0x900000 0x100000>; /* 1MB */ 474 + read-only; 475 + }; 476 + 477 + /* kernel1 overlaps with rootfs1 by design */ 478 + partition@a00000 { 479 + label = "kernel1"; 480 + reg = <0xa00000 0x2800000>; /* 40MB */ 481 + }; 482 + 483 + partition@d00000 { 484 + label = "rootfs1"; 485 + reg = <0xd00000 0x2500000>; /* 37MB */ 486 + }; 487 + 488 + /* kernel2 overlaps with rootfs2 by design */ 489 + partition@3200000 { 490 + label = "kernel2"; 491 + reg = <0x3200000 0x2800000>; /* 40MB */ 492 + }; 493 + 494 + partition@3500000 { 495 + label = "rootfs2"; 496 + reg = <0x3500000 0x2500000>; /* 37MB */ 497 + }; 498 + 499 + /* 500 + * 38MB, last MB is for the BBT, not writable 501 + */ 502 + partition@5a00000 { 503 + label = "syscfg"; 504 + reg = <0x5a00000 0x2600000>; 505 + }; 506 + 507 + /* 508 + * Unused area between "s_env" and "devinfo". 509 + * Moved here because otherwise the renumbered 510 + * partitions would break the bootloader 511 + * supplied bootargs 512 + */ 513 + partition@180000 { 514 + label = "unused_area"; 515 + reg = <0x180000 0x780000>; /* 7.5MB */ 360 516 }; 361 517 }; 362 518 };
+50 -40
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
··· 117 117 nr-ports = <2>; 118 118 status = "okay"; 119 119 }; 120 - 121 - nand@d0000 { 122 - status = "okay"; 123 - num-cs = <1>; 124 - marvell,nand-keep-config; 125 - marvell,nand-enable-arbiter; 126 - nand-on-flash-bbt; 127 - 128 - /* Use Hardware BCH ECC */ 129 - nand-ecc-strength = <4>; 130 - nand-ecc-step-size = <512>; 131 - 132 - partition@0 { 133 - label = "u-boot"; 134 - reg = <0x0000000 0x180000>; /* 1.5MB */ 135 - read-only; 136 - }; 137 - 138 - partition@180000 { 139 - label = "u-boot-env"; 140 - reg = <0x180000 0x20000>; /* 128KB */ 141 - read-only; 142 - }; 143 - 144 - partition@200000 { 145 - label = "uImage"; 146 - reg = <0x0200000 0x600000>; /* 6MB */ 147 - }; 148 - 149 - partition@800000 { 150 - label = "minirootfs"; 151 - reg = <0x0800000 0x400000>; /* 4MB */ 152 - }; 153 - 154 - /* Last MB is for the BBT, i.e. not writable */ 155 - partition@c00000 { 156 - label = "ubifs"; 157 - reg = <0x0c00000 0x7400000>; /* 116MB */ 158 - }; 159 - }; 160 120 }; 161 121 }; 162 122 ··· 303 343 err_led_pin: err-led-pin { 304 344 marvell,pins = "mpp45"; 305 345 marvell,function = "gpio"; 346 + }; 347 + }; 348 + 349 + &nand_controller { 350 + status = "okay"; 351 + 352 + nand@0 { 353 + reg = <0>; 354 + label = "pxa3xx_nand-0"; 355 + nand-rb = <0>; 356 + marvell,nand-keep-config; 357 + nand-on-flash-bbt; 358 + 359 + /* Use Hardware BCH ECC */ 360 + nand-ecc-strength = <4>; 361 + nand-ecc-step-size = <512>; 362 + 363 + partitions { 364 + compatible = "fixed-partitions"; 365 + #address-cells = <1>; 366 + #size-cells = <1>; 367 + 368 + partition@0 { 369 + label = "u-boot"; 370 + reg = <0x0000000 0x180000>; /* 1.5MB */ 371 + read-only; 372 + }; 373 + 374 + partition@180000 { 375 + label = "u-boot-env"; 376 + reg = <0x180000 0x20000>; /* 128KB */ 377 + read-only; 378 + }; 379 + 380 + partition@200000 { 381 + label = "uImage"; 382 + reg = <0x0200000 0x600000>; /* 6MB */ 383 + }; 384 + 385 + partition@800000 { 386 + label = "minirootfs"; 387 + reg = <0x0800000 0x400000>; /* 4MB */ 388 + }; 389 + 390 + /* Last MB is for the BBT, i.e. not writable */ 391 + partition@c00000 { 392 + label = "ubifs"; 393 + reg = <0x0c00000 0x7400000>; /* 116MB */ 394 + }; 395 + }; 306 396 }; 307 397 };