All of lore.kernel.org
 help / color / mirror / Atom feed
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board
Date: Mon, 9 Feb 2015 10:24:35 +0100	[thread overview]
Message-ID: <20150209102435.56f39b81@bbrezillon> (raw)
In-Reply-To: <1423473423-17798-1-git-send-email-josh.wu@atmel.com>

Hi Josh,

On Mon, 9 Feb 2015 17:17:03 +0800
Josh Wu <josh.wu@atmel.com> wrote:

> Add at91 sama5d4 xplained board support.
> 
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> ---
> 
> Changes in v2:
> - to be sorted by memory address, put the adc dt node after usart4.
> 
>  arch/arm/boot/dts/Makefile                  |   1 +
>  arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232 ++++++++++++++++++++++++++++
>  2 files changed, 233 insertions(+)
>  create mode 100644 arch/arm/boot/dts/at91-sama5d4_xplained.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 91bd5bd..bbfbad6 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_AT91)	+= sama5d34ek.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= sama5d35ek.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= sama5d36ek.dtb
>  # sama5d4
> +dtb-$(CONFIG_ARCH_AT91)	+= at91-sama5d4_xplained.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= at91-sama5d4ek.dtb
>  
>  dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.dtb
> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> new file mode 100644
> index 0000000..a04c3c8
> --- /dev/null
> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> @@ -0,0 +1,232 @@
> +/*
> + * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board
> + *
> + *  Copyright (C) 2015 Atmel,
> + *                2015 Josh Wu <josh.wu@atmel.com>
> + *

[...]

> +	ahb {
> +		apb {
> +			spi0: spi at f8010000 {
> +				cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
> +				status = "okay";
> +				m25p80 at 0 {
> +					compatible = "atmel,at25df321a";
> +					spi-max-frequency = <50000000>;
> +					reg = <0>;
> +				};
> +			};
> +
> +			macb0: ethernet at f8020000 {
> +				phy-mode = "rmii";
> +				status = "okay";

Could you define the PHY device attached to this ethernet MAC IP ?


                                ethernet-phy at 1 {
                                        reg = <0x1>;
                                        /*
					 * interrupt-parent = <&pioB>;
					 * interrupts = <25
					 *	   IRQ_TYPE_EDGE_FALLING>;
					 */
					/* ... */
				};


Best Regards,

Boris

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Cc: Nicolas Ferre
	<nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Alexandre Belloni
	<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Andrew Victor <linux-PelNFVqkFnVyf+4FbqDuWQ@public.gmane.org>,
	Jean-Christophe Plagniol-Villard
	<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board
Date: Mon, 9 Feb 2015 10:24:35 +0100	[thread overview]
Message-ID: <20150209102435.56f39b81@bbrezillon> (raw)
In-Reply-To: <1423473423-17798-1-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

Hi Josh,

On Mon, 9 Feb 2015 17:17:03 +0800
Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> wrote:

> Add at91 sama5d4 xplained board support.
> 
> Signed-off-by: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> ---
> 
> Changes in v2:
> - to be sorted by memory address, put the adc dt node after usart4.
> 
>  arch/arm/boot/dts/Makefile                  |   1 +
>  arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232 ++++++++++++++++++++++++++++
>  2 files changed, 233 insertions(+)
>  create mode 100644 arch/arm/boot/dts/at91-sama5d4_xplained.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 91bd5bd..bbfbad6 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_AT91)	+= sama5d34ek.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= sama5d35ek.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= sama5d36ek.dtb
>  # sama5d4
> +dtb-$(CONFIG_ARCH_AT91)	+= at91-sama5d4_xplained.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= at91-sama5d4ek.dtb
>  
>  dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.dtb
> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> new file mode 100644
> index 0000000..a04c3c8
> --- /dev/null
> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> @@ -0,0 +1,232 @@
> +/*
> + * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board
> + *
> + *  Copyright (C) 2015 Atmel,
> + *                2015 Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> + *

[...]

> +	ahb {
> +		apb {
> +			spi0: spi@f8010000 {
> +				cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
> +				status = "okay";
> +				m25p80@0 {
> +					compatible = "atmel,at25df321a";
> +					spi-max-frequency = <50000000>;
> +					reg = <0>;
> +				};
> +			};
> +
> +			macb0: ethernet@f8020000 {
> +				phy-mode = "rmii";
> +				status = "okay";

Could you define the PHY device attached to this ethernet MAC IP ?


                                ethernet-phy@1 {
                                        reg = <0x1>;
                                        /*
					 * interrupt-parent = <&pioB>;
					 * interrupts = <25
					 *	   IRQ_TYPE_EDGE_FALLING>;
					 */
					/* ... */
				};


Best Regards,

Boris

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Josh Wu <josh.wu@atmel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>,
	<linux-arm-kernel@lists.infradead.org>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	"Kumar Gala" <galak@codeaurora.org>,
	Russell King <linux@arm.linux.org.uk>,
	"Andrew Victor" <linux@maxim.org.za>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board
Date: Mon, 9 Feb 2015 10:24:35 +0100	[thread overview]
Message-ID: <20150209102435.56f39b81@bbrezillon> (raw)
In-Reply-To: <1423473423-17798-1-git-send-email-josh.wu@atmel.com>

Hi Josh,

On Mon, 9 Feb 2015 17:17:03 +0800
Josh Wu <josh.wu@atmel.com> wrote:

> Add at91 sama5d4 xplained board support.
> 
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> ---
> 
> Changes in v2:
> - to be sorted by memory address, put the adc dt node after usart4.
> 
>  arch/arm/boot/dts/Makefile                  |   1 +
>  arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232 ++++++++++++++++++++++++++++
>  2 files changed, 233 insertions(+)
>  create mode 100644 arch/arm/boot/dts/at91-sama5d4_xplained.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 91bd5bd..bbfbad6 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_AT91)	+= sama5d34ek.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= sama5d35ek.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= sama5d36ek.dtb
>  # sama5d4
> +dtb-$(CONFIG_ARCH_AT91)	+= at91-sama5d4_xplained.dtb
>  dtb-$(CONFIG_ARCH_AT91)	+= at91-sama5d4ek.dtb
>  
>  dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.dtb
> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> new file mode 100644
> index 0000000..a04c3c8
> --- /dev/null
> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> @@ -0,0 +1,232 @@
> +/*
> + * at91-sama5d4_xplained.dts - Device Tree file for SAMA5D4 Xplained board
> + *
> + *  Copyright (C) 2015 Atmel,
> + *                2015 Josh Wu <josh.wu@atmel.com>
> + *

[...]

> +	ahb {
> +		apb {
> +			spi0: spi@f8010000 {
> +				cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
> +				status = "okay";
> +				m25p80@0 {
> +					compatible = "atmel,at25df321a";
> +					spi-max-frequency = <50000000>;
> +					reg = <0>;
> +				};
> +			};
> +
> +			macb0: ethernet@f8020000 {
> +				phy-mode = "rmii";
> +				status = "okay";

Could you define the PHY device attached to this ethernet MAC IP ?


                                ethernet-phy@1 {
                                        reg = <0x1>;
                                        /*
					 * interrupt-parent = <&pioB>;
					 * interrupts = <25
					 *	   IRQ_TYPE_EDGE_FALLING>;
					 */
					/* ... */
				};


Best Regards,

Boris

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2015-02-09  9:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09  9:17 [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board Josh Wu
2015-02-09  9:17 ` Josh Wu
2015-02-09  9:17 ` Josh Wu
2015-02-09  9:24 ` Boris Brezillon [this message]
2015-02-09  9:24   ` Boris Brezillon
2015-02-09  9:24   ` Boris Brezillon
2015-02-09  9:49   ` Josh Wu
2015-02-09  9:49     ` Josh Wu
2015-02-09  9:49     ` Josh Wu
2015-02-09 18:10 ` Alexandre Belloni
2015-02-09 18:10   ` Alexandre Belloni
2015-02-10  1:40   ` Josh Wu
2015-02-10  1:40     ` Josh Wu
2015-02-10  1:40     ` Josh Wu

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=20150209102435.56f39b81@bbrezillon \
    --to=boris.brezillon@free-electrons.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.