All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: imx/pcm043: add oftree support
Date: Fri, 3 Aug 2012 22:15:15 +0800	[thread overview]
Message-ID: <20120803141512.GC23791@S2101-09.ap.freescale.net> (raw)
In-Reply-To: <1343922986-32469-2-git-send-email-u.kleine-koenig@pengutronix.de>

On Thu, Aug 02, 2012 at 05:56:26PM +0200, Uwe Kleine-K?nig wrote:
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> ---
>  arch/arm/boot/dts/phytec-pcm043.dtsi |   49 ++++++++++++++++++++++++++++++++++
>  1 file changed, 49 insertions(+)
>  create mode 100644 arch/arm/boot/dts/phytec-pcm043.dtsi
> 
> diff --git a/arch/arm/boot/dts/phytec-pcm043.dtsi b/arch/arm/boot/dts/phytec-pcm043.dtsi
> new file mode 100644
> index 0000000..420627c
> --- /dev/null
> +++ b/arch/arm/boot/dts/phytec-pcm043.dtsi
> @@ -0,0 +1,49 @@
> +/include/ "imx35.dtsi"
> +
> +/ {
> +	soc {
> +		aips at 40000000 { /* AIPS1 */
> +			i2c at 43f80000 {
> +				status = "okay";
> +
> +				tempsens at 4a {
> +					compatible = "maxim,ds75";
> +					reg = <0x4a>;
> +				};

Again, please put a new line between nodes.

> +				rtc8564 at 51 {
> +					compatible = "nxp,pcf8563";
> +					reg = <0x51>;
> +				};
> +				at24 at 52 {
> +					compatible = "at,24c32";
> +					reg = <0x52>;
> +					pagesize = <32>;
> +				};
> +			};
> +			uart at 43f90000 {
> +				status = "okay";
> +			};
> +			uart at 43f94000 {
> +				status = "okay";
> +			};
> +		};
> +		spba at 50000000 {
> +			uart at 5000c000 {
> +				status = "okay";
> +			};
> +			fec at 50038000 {
> +				status = "okay";
> +			};
> +		};
> +
> +		nor at a0000000 {
> +			compatible = "cfi-flash";
> +			reg = <0xa0000000 0x2000000>;
> +			bank-width = <2>;
> +		};
> +
We should be able to see how this device is connected to SoC with this
node under proper interface and bus topology.

> +		nand at bb000000 {
> +			status = "okay";
> +		};

Ditto.

> +	};
> +};
> -- 
> 1.7.10.4
> 

-- 
Regards,
Shawn

  parent reply	other threads:[~2012-08-03 14:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 15:56 [PATCH 1/2] ARM: i.MX35: Add kernel oftree support Uwe Kleine-König
2012-08-02 15:56 ` [PATCH 2/2] ARM: imx/pcm043: add " Uwe Kleine-König
2012-08-03 13:07   ` Sascha Hauer
2012-08-03 14:15   ` Shawn Guo [this message]
2012-08-03 13:05 ` [PATCH 1/2] ARM: i.MX35: Add kernel " Sascha Hauer
2012-08-03 13:12 ` Shawn Guo
2012-08-06 14:41   ` Uwe Kleine-König
2012-08-07  2:44     ` Shawn Guo
2012-08-08  8:59   ` Uwe Kleine-König
2012-08-08 14:43     ` Shawn Guo

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=20120803141512.GC23791@S2101-09.ap.freescale.net \
    --to=shawn.guo@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.