On Fri, Jun 13, 2008 at 06:33:08PM +0200, Heiko Schocher wrote:
> Hello Scott,
>
> here comes the updated version for the mgcoge port, with your
> suggestions:
>
> [powerpc] Added support for the MPC8247 based board MGCOGE
> from Keymile.
>
> Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]>
> ---
> arch/powerpc/boot/dts/mgcoge.dts | 174 +++++++
> arch/powerpc/configs/mgcoge_defconfig | 900
> +++++++++++++++++++++++++++++++++
> arch/powerpc/platforms/82xx/Kconfig | 8 +
> arch/powerpc/platforms/82xx/Makefile | 1 +
> arch/powerpc/platforms/82xx/mgcoge.c | 130 +++++
> 5 files changed, 1213 insertions(+), 0 deletions(-)
> create mode 100644 arch/powerpc/boot/dts/mgcoge.dts
> create mode 100644 arch/powerpc/configs/mgcoge_defconfig
> create mode 100644 arch/powerpc/platforms/82xx/mgcoge.c
>
> diff --git a/arch/powerpc/boot/dts/mgcoge.dts
> b/arch/powerpc/boot/dts/mgcoge.dts
> new file mode 100644
> index 0000000..54d49c5
> --- /dev/null
> +++ b/arch/powerpc/boot/dts/mgcoge.dts
[snip]
> + [EMAIL PROTECTED] {
> + compatible = "fsl,mpc8247-localbus",
> + "fsl,pq2-localbus",
> + "simple-bus";
> + #address-cells = <2>;
> + #size-cells = <1>;
> + reg = <0xf0010100 0x40>;
> +
> + ranges = <0 0 0xfe000000 0x00400000
> + 1 0 0x50000000 0x20000000
> + >; /* Filled in by U-Boot */
> +
> + [EMAIL PROTECTED],0 {
> + compatible = "cfi-flash";
> + reg = <0 0x0 0x400000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + bank-width = <1>;
> + device-width = <1>;
> + [EMAIL PROTECTED] {
> + label = "u-boot";
> + reg = <0 0x40000>;
> + };
> + [EMAIL PROTECTED] {
> + label = "env";
> + reg = <0x40000 0x20000>;
> + };
> + [EMAIL PROTECTED] {
> + label = "kernel";
> + reg = <0x60000 0x220000>;
> + };
> + [EMAIL PROTECTED] {
> + label = "dtb";
> + reg = <0x280000 0x20000>;
> + };
> + };
> +
> + [EMAIL PROTECTED],0 {
>From the 'reg' below and the 'ranges' above, this looks like it should
be "[EMAIL PROTECTED],0".
> + compatible = "cfi-flash";
> + reg = <1 0x0 0x2000000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + bank-width = <2>;
> + device-width = <2>;
> + [EMAIL PROTECTED] {
> + label = "ramdisk";
> + reg = <0 0x7a0000>;
> + };
> + [EMAIL PROTECTED] {
> + label = "user";
> + reg = <0x7a0000 0x1860000>;
> + };
> + };
> + };
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev