linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: dts: omap3-devkit8000: Add dm9000 support
Date: Thu, 21 May 2015 13:54:10 -0700	[thread overview]
Message-ID: <20150521205410.GW10274@atomide.com> (raw)
In-Reply-To: <1432237937-16691-1-git-send-email-anthoine.bourgeois@gmail.com>

Hi,

* Anthoine Bourgeois <anthoine.bourgeois@gmail.com> [150521 12:55]:
> Support dm9000 network interface in the device tree of devkit8000 board.
> 
> Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
> ---
>  arch/arm/boot/dts/omap3-devkit8000.dts | 41 ++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts
> index 283db1d..b32eeda 100644
> --- a/arch/arm/boot/dts/omap3-devkit8000.dts
> +++ b/arch/arm/boot/dts/omap3-devkit8000.dts
> @@ -158,3 +158,44 @@
>  		};
>  	};
>  };
> +
> +&gpmc {
> +	ranges = <6 0 0x2c000000 0x1000000>;       /* CS6: 16MB for DM9000 */
> +
> +	ethernet@0,0 {
> +		compatible = "davicom,dm9000";
> +		reg = <6 0x000 3
> +		       6 0x400 3>;

So CS6 for GPMC and ioarea at offsets 0 and 0x400.. But the
size of 3 does not look right to me.. That's the size that
gets ioremapped by the Ethernet driver?

> +		bank-width = <2>;
> +		interrupt-parent = <&gpio1>;		/* CS6 -> DM9000 */

Is this comment maybe on the wrong line or how is the GPIO
interrupt related to the CS6? :)

Otherwise looks good to me.

Regards,

Tony

  parent reply	other threads:[~2015-05-21 20:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 19:52 [PATCH 1/2] ARM: dts: omap3-devkit8000: Add dm9000 support Anthoine Bourgeois
2015-05-21 19:52 ` [PATCH 2/2] ARM: OMAP: enable DM9000 in omap2plus_defconfig Anthoine Bourgeois
2015-05-21 20:54 ` Tony Lindgren [this message]
2015-05-27 20:00 ` [PATCH v2 1/2] ARM: dts: omap3-devkit8000: Add dm9000 support Anthoine Bourgeois
2015-05-27 20:00   ` [PATCH v2 2/2] ARM: OMAP: enable DM9000 in omap2plus_defconfig Anthoine Bourgeois
2015-05-29 17:08     ` Tony Lindgren
2015-05-28 16:40   ` [PATCH v2 1/2] ARM: dts: omap3-devkit8000: Add dm9000 support Tony Lindgren

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=20150521205410.GW10274@atomide.com \
    --to=tony@atomide.com \
    --cc=anthoine.bourgeois@gmail.com \
    --cc=linux-omap@vger.kernel.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 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).