powerpc/mpc85xx: Add BSC9132 QDS Support
Scott Wood
scottwood at freescale.com
Sat May 3 10:23:09 EST 2014
On Tue, Mar 18, 2014 at 01:05:02PM +0530, harninder rai wrote:
> +&ifc {
> + nor at 0,0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "cfi-flash";
> + reg = <0x0 0x0 0x8000000>;
> + bank-width = <2>;
> + device-width = <1>;
> +
> + partition at 40000 {
> + /* 256KB for DTB Image */
> + reg = <0x00040000 0x00040000>;
> + label = "NOR DTB Image";
> + };
> +
> + partition at 80000 {
> + /* 7MB for Linux Kernel Image */
> + reg = <0x00080000 0x00700000>;
> + label = "NAND Linux Kernel Image";
> + };
> +
> + partition at 800000 {
> + /* 55MB for Root file system */
> + reg = <0x00800000 0x03700000>;
> + label = "NOR RFS Image";
> + };
> +
> + partition at 3f00000 {
> + /* This location must not be altered */
> + /* 512KB for u-boot Bootloader Image */
> + /* 512KB for u-boot Environment Variables */
> + reg = <0x03f00000 0x00100000>;
> + label = "NOR U-boot Image";
> + read-only;
> + };
> + };
> +
> + nand at 1,0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "fsl,ifc-nand";
> + reg = <0x1 0x0 0x4000>;
> +
> + partition at 0 {
> + /* This location must not be altered */
> + /* 3MB for u-boot Bootloader Image */
> + reg = <0x0 0x00300000>;
> + label = "NAND U-Boot Image";
> + read-only;
> + };
> +
> + partition at 300000 {
> + /* 1MB for DTB Image */
> + reg = <0x00300000 0x00100000>;
> + label = "NAND DTB Image";
> + };
> +
> + partition at 400000 {
> + /* 8MB for Linux Kernel Image */
> + reg = <0x00400000 0x00800000>;
> + label = "NAND Linux Kernel Image";
> + };
> +
> + partition at c00000 {
> + /* Rest space for Root file System Image */
> + reg = <0x00c00000 0x07400000>;
> + label = "NAND RFS Image";
> + };
> + };
> +};
Please keep partition definitions out of the dts file, as has been
recently requested of other boards. You can use U-Boot to create the
partition nodes based on the mtdparts variable, or you can use the Linux
mtdparts command line option.
-Scott
More information about the Linuxppc-dev
mailing list