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

ARM: dts: mvebu: add NAND description to Armada 370 DB and Armada XP DB

This commit adds the Device Tree description for the 1GB NAND flash
present in the Armada 370 DB and Armada XP DB evaluation boards from
Marvell.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

authored by

Thomas Petazzoni and committed by
Gregory CLEMENT
af5ece39 b3a7f31e

+55
+27
arch/arm/boot/dts/armada-370-db.dts
··· 168 168 spi-max-frequency = <50000000>; 169 169 }; 170 170 }; 171 + 172 + nand@d0000 { 173 + status = "okay"; 174 + num-cs = <1>; 175 + marvell,nand-keep-config; 176 + marvell,nand-enable-arbiter; 177 + nand-on-flash-bbt; 178 + 179 + partitions { 180 + compatible = "fixed-partitions"; 181 + #address-cells = <1>; 182 + #size-cells = <1>; 183 + 184 + partition@0 { 185 + label = "U-Boot"; 186 + reg = <0 0x800000>; 187 + }; 188 + partition@800000 { 189 + label = "Linux"; 190 + reg = <0x800000 0x800000>; 191 + }; 192 + partition@1000000 { 193 + label = "Filesystem"; 194 + reg = <0x1000000 0x3f000000>; 195 + }; 196 + }; 197 + }; 171 198 }; 172 199 173 200 pcie-controller {
+28
arch/arm/boot/dts/armada-xp-db.dts
··· 229 229 spi-max-frequency = <20000000>; 230 230 }; 231 231 }; 232 + 233 + nand@d0000 { 234 + status = "okay"; 235 + num-cs = <1>; 236 + marvell,nand-keep-config; 237 + marvell,nand-enable-arbiter; 238 + nand-on-flash-bbt; 239 + 240 + partitions { 241 + compatible = "fixed-partitions"; 242 + #address-cells = <1>; 243 + #size-cells = <1>; 244 + 245 + partition@0 { 246 + label = "U-Boot"; 247 + reg = <0 0x800000>; 248 + }; 249 + partition@800000 { 250 + label = "Linux"; 251 + reg = <0x800000 0x800000>; 252 + }; 253 + partition@1000000 { 254 + label = "Filesystem"; 255 + reg = <0x1000000 0x3f000000>; 256 + 257 + }; 258 + }; 259 + }; 232 260 }; 233 261 }; 234 262 };