On Tue, 9 Dec 2008 05:11:15 +0300
"Anton Vorontsov" <[EMAIL PROTECTED]> wrote:
> So this is a controller with partitions? ;-)
Actually, I did it this way to mimic the look of the NOR. Really, we
shouldn't care about the NAND chip.
Here is the complete NOR and NAND DTS:
[EMAIL PROTECTED],0 {
compatible = "amd,s29gl032a", "cfi-flash";
bank-width = <2>;
reg = <0x00000000 0x00000000 0x00400000>;
#address-cells = <1>;
#size-cells = <1>;
[EMAIL PROTECTED] {
label = "splash";
reg = <0x00000000 0x00020000>;
};
[EMAIL PROTECTED] {
label = "fpga";
reg = <0x0300000 0x00040000>;
};
[EMAIL PROTECTED] {
label = "env";
reg = <0x0340000 0x00040000>;
};
[EMAIL PROTECTED] {
label = "u-boot";
reg = <0x0380000 0x00080000>;
};
};
[EMAIL PROTECTED],0 {
compatible = "amcc,ndfc";
reg = <0x00000001 0x00000000 0x00002000>;
ccr = <0x00001000>;
bank-settings = <0x80002222>;
#address-cells = <1>;
#size-cells = <1>;
[EMAIL PROTECTED] {
label = "kernel";
reg = <0x00000000 0x00200000>;
};
[EMAIL PROTECTED] {
label = "root";
reg = <0x00200000 0x03E00000>;
};
[EMAIL PROTECTED] {
label = "persistent";
reg = <0x04000000 0x04000000>;
};
[EMAIL PROTECTED] {
label = "persistent1";
reg = <0x08000000 0x04000000>;
};
[EMAIL PROTECTED] {
label = "persistent2";
reg = <0x0C000000 0x04000000>;
};
};
Now I know I am cheating a bit.... but it does make it *look*
consistent.
But comments are welcome. I also could remove the partitions for now. A
partially supported NDFC is better than none at all.
Cheers,
Sean
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/devicetree-discuss