qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: Liu Yu <yu.liu@freescale.com>
Cc: blauwirbel@gmail.com, kvm-ppc@vger.kernel.org,
	qemu-devel@nongnu.org, aurelien@aurel32.net
Subject: [Qemu-devel] Re: [PATCH 5/5] kvm/powerpc: flat device tree files for MPC8544DS
Date: Thu, 26 Feb 2009 10:21:58 -0600	[thread overview]
Message-ID: <1235665318.7706.11.camel@slate.austin.ibm.com> (raw)
In-Reply-To: <1235644545-20816-6-git-send-email-yu.liu@freescale.com>

On Thu, 2009-02-26 at 18:35 +0800, Liu Yu wrote:
> mpc8544ds.dts is copied from kerenl.
> Non-supported devices has been removed.
> 
> Signed-off-by: Liu Yu <yu.liu@freescale.com>
> ---
>  pc-bios/mpc8544ds.dtb |  Bin 0 -> 12288 bytes
>  pc-bios/mpc8544ds.dts |  122 +++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 122 insertions(+), 0 deletions(-)
>  create mode 100644 pc-bios/mpc8544ds.dtb
>  create mode 100644 pc-bios/mpc8544ds.dts

> 
> diff --git a/pc-bios/mpc8544ds.dts b/pc-bios/mpc8544ds.dts
> new file mode 100644
> index 0000000..872152d
> --- /dev/null
> +++ b/pc-bios/mpc8544ds.dts
> @@ -0,0 +1,122 @@
> +/*
> + * MPC8544 DS Device Tree Source
> + *
> + * Copyright 2007, 2008 Freescale Semiconductor Inc.
> + *
> + * This program is free software; you can redistribute  it and/or modify it
> + * under  the terms of  the GNU General  Public License as published by the
> + * Free Software Foundation;  either version 2 of the  License, or (at your
> + * option) any later version.
> + */
> +
> +/dts-v1/;
> +/ {
> +	model = "MPC8544DS";
> +	compatible = "MPC8544DS", "MPC85xxDS";
> +	#address-cells = <1>;
> +	#size-cells = <1>;
> +
> +	aliases {
> +		serial0 = &serial0;
> +		serial1 = &serial1;
> +		pci0 = &pci0;
> +	};
> +
> +	cpus {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		PowerPC,8544@0 {
> +			device_type = "cpu";
> +			reg = <0x0>;
> +			d-cache-line-size = <32>;	// 32 bytes
> +			i-cache-line-size = <32>;	// 32 bytes
> +			d-cache-size = <0x8000>;		// L1, 32K
> +			i-cache-size = <0x8000>;		// L1, 32K
> +			timebase-frequency = <0>;
> +			bus-frequency = <0>;
> +			clock-frequency = <0>;

It might be helpful to comment that these properties are overwritten at
runtime.

> +		};
> +	};
> +
> +	memory {
> +		device_type = "memory";
> +		reg = <0x0 0x0>;	// Filled by U-Boot
> +	};

"Filled by qemu"

> +	soc8544@e0000000 {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		device_type = "soc";
> +		compatible = "simple-bus";
> +
> +		ranges = <0x0 0xe0000000 0x100000>;
> +		reg = <0xe0000000 0x1000>;	// CCSRBAR 1M
> +		bus-frequency = <0>;		// Filled out by uboot.

Not filled by anybody...

Anyways, these are minor cosmetic issues; I'd be happy if the patch were
committed in its current form.

Acked-by: Hollis Blanchard <hollisb@us.ibm.com>

-- 
Hollis Blanchard
IBM Linux Technology Center

  reply	other threads:[~2009-02-26 16:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 10:35 [Qemu-devel] [PATCH v4 0/5] powerpc/kvm: Add MPC8544DS board support Liu Yu
2009-02-26 10:35 ` [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform Liu Yu
2009-02-26 10:35   ` [Qemu-devel] [PATCH 2/5] kvm/powerpc: Add freescale pci controller's support Liu Yu
2009-02-26 10:35     ` [Qemu-devel] [PATCH 3/5] kvm/powerpc: Add irq support for E500 core Liu Yu
2009-02-26 10:35       ` [Qemu-devel] [PATCH 4/5] kvm/powerpc: Add MPC8544DS board support Liu Yu
2009-02-26 10:35         ` [Qemu-devel] [PATCH 5/5] kvm/powerpc: flat device tree files for MPC8544DS Liu Yu
2009-02-26 16:21           ` Hollis Blanchard [this message]
2009-02-26 16:18         ` [Qemu-devel] Re: [PATCH 4/5] kvm/powerpc: Add MPC8544DS board support Hollis Blanchard
2009-02-26 18:47   ` [Qemu-devel] Re: [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform Blue Swirl
2009-02-27  2:00     ` [Qemu-devel] " Liu Yu-B13201
2009-02-27 20:04       ` [Qemu-devel] " Blue Swirl
2009-03-02 16:42         ` Aurelien Jarno
2009-03-02 16:42 ` [Qemu-devel] Re: [PATCH v4 0/5] powerpc/kvm: Add MPC8544DS board support Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1235665318.7706.11.camel@slate.austin.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=aurelien@aurel32.net \
    --cc=blauwirbel@gmail.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=yu.liu@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).