All of lore.kernel.org
 help / color / mirror / Atom feed
From: ludovic.desroches@atmel.com (Ludovic Desroches)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] AT91: Add DT description files for AT91SAM9N12-EK
Date: Thu, 12 Apr 2012 09:26:35 +0200	[thread overview]
Message-ID: <4F8683AB.5000004@atmel.com> (raw)
In-Reply-To: <1334211996-31572-2-git-send-email-hong.xu@atmel.com>

Hi,

Le 04/12/2012 08:26 AM, Hong Xu a ?crit :
 > Added AT91SAM9N12 SoC DT file, as well as the board definition file
 > for AT91SAM9N12-EK
 >
 > Signed-off-by: Hong Xu<hong.xu@atmel.com>
 > ---
 >   arch/arm/boot/dts/at91sam9n12.dtsi  |  223 
+++++++++++++++++++++++++++++++++++
 >   arch/arm/boot/dts/at91sam9n12ek.dts |  111 +++++++++++++++++
 >   2 files changed, 334 insertions(+), 0 deletions(-)
 >   create mode 100644 arch/arm/boot/dts/at91sam9n12.dtsi
 >   create mode 100644 arch/arm/boot/dts/at91sam9n12ek.dts
 >
 > diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi 
b/arch/arm/boot/dts/at91sam9n12.dtsi
 > new file mode 100644
 > index 0000000..e86372d
 > --- /dev/null
 > +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
 > @@ -0,0 +1,223 @@
 > +/*
 > + * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC
 > + *
 > + *  Copyright (C) 2012 Atmel,
 > + *                2012 Hong Xu<hong.xu@atmel.com>
 > + *
 > + * Licensed under GPLv2 or later.
 > + */
 > +
 > +/include/ "skeleton.dtsi"
 > +
 > +/ {
 > +	model = "Atmel AT91SAM9N12 SoC";
 > +	compatible = "atmel,at91sam9n12";
 > +	interrupt-parent =<&aic>;
 > +
 > +	aliases {
 > +		serial0 =&dbgu;
 > +		serial1 =&usart0;
 > +		serial2 =&usart1;
 > +		serial3 =&usart2;
 > +		serial4 =&usart3;
 > +		gpio0 =&pioA;
 > +		gpio1 =&pioB;
 > +		gpio2 =&pioC;
 > +		gpio3 =&pioD;
 > +		tcb0 =&tcb0;
 > +		tcb1 =&tcb1;
 > +	};
 > +	cpus {
 > +		cpu at 0 {
 > +			compatible = "arm,arm926ejs";
 > +		};
 > +	};
 > +
 > +	memory at 20000000 {
 > +		reg =<0x20000000 0x10000000>;
 > +	};

Please remove unit address part. Explanations here: 
http://lists-archives.com/linux-kernel/27617260-arm-at91-dt-remove-unit-address-part-for-memory-nodes.html

[...]

 > diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts 
b/arch/arm/boot/dts/at91sam9n12ek.dts
 > new file mode 100644
 > index 0000000..56b012f
 > --- /dev/null
 > +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
 > @@ -0,0 +1,111 @@
 > +/*
 > + * at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board
 > + *
 > + *  Copyright (C) 2012 Atmel,
 > + *                2012 Hong Xu<hong.xu@atmel.com>
 > + *
 > + * Licensed under GPLv2 or later.
 > + */
 > +/dts-v1/;
 > +/include/ "at91sam9n12.dtsi"
 > +
 > +/ {
 > +	model = "Atmel AT91SAM9N12-EK";
 > +	compatible = "atmel,at91sam9n12ek", "atmel,at91sam9n12", 
"atmel,at91sam9";
 > +
 > +	chosen {
 > +		bootargs = "mem=128M console=ttyS0,115200 root=/dev/mtdblock1 rw 
rootfstype=jffs2";
 > +	};
 > +
 > +	memory at 20000000 {
 > +		reg =<0x20000000 0x10000000>;
 > +	};

ditto

[...]

Regards

Ludovic

  reply	other threads:[~2012-04-12  7:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  6:26 [PATCH 0/4] Add support for Atmel's AT91SAM9N12-EK (With DT) Hong Xu
2012-04-12  6:26 ` [PATCH 1/4] AT91: Add DT description files for AT91SAM9N12-EK Hong Xu
2012-04-12  7:26   ` Ludovic Desroches [this message]
2012-04-16  1:56     ` Xu, Hong
2012-04-13 16:20   ` Nicolas Ferre
2012-04-16  2:28     ` Xu, Hong
2012-04-12  6:26 ` [PATCH 2/4] AT91: Add machine header file for AT91SAM9N12 SoC Hong Xu
2012-04-13 16:17   ` Nicolas Ferre
2012-04-16  2:30     ` Xu, Hong
2012-04-12  6:26 ` [PATCH 3/4] AT91: Add machine files " Hong Xu
2012-04-13 16:27   ` Nicolas Ferre
2012-04-16  2:35     ` Xu, Hong
2012-04-12  6:26 ` [PATCH 4/4] Add default kernel configuration file for AT91SAM9N12-EK Hong Xu
2012-04-13 16:23   ` Nicolas Ferre

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=4F8683AB.5000004@atmel.com \
    --to=ludovic.desroches@atmel.com \
    --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.