From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Rostislav Lisovy <lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Benoit Cousson <bcousson-rdvid1DuHRBWk0Htik3J/w@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>,
Rostislav Lisovy <lisovy-/jIuvo6cn7g68gdbZb/DoA@public.gmane.org>
Subject: Re: [PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module
Date: Mon, 16 Mar 2015 13:50:09 -0700 [thread overview]
Message-ID: <20150316205008.GB12397@atomide.com> (raw)
In-Reply-To: <1423493285-4231-2-git-send-email-lisovy-/jIuvo6cn7g68gdbZb/DoA@public.gmane.org>
* Rostislav Lisovy <lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [150209 06:51]:
> Since this is a SOM (System on Module) that will be part
> of another embedded board (and can't really exist on its own)
> define it as a "dtsi" that will be included in the Device tree
> describing the whole system later on.
>
> Hardware specification:
> * AM335x SoC
> * up to 512 MB RAM
> * NAND Flash (8x interface, cs0)
> * UART0
> * PMIC
> * I2C0 (for PMIC)
> * 1x Ethernet MAC
Applying all three into omap-for-v4.1/dt with one change
below.
> --- /dev/null
> +++ b/arch/arm/boot/dts/am335x-chilisom.dtsi
> +
> +&gpmc {
> + status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&nandflash_pins>;
> + ranges = <0 0 0x08000000 0x01000000>; /* CS0 0 @addr 0x08000000, size 0x01000000 */
> + nand@0,0 {
> + reg = <0 0 0x01000000>; /* CS0 */
I've changed this to say just:
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
As for NAND the device has just one IO register. The 0x01000000
is the size of a minimum GPMC partition.
Regards,
Tony
--
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: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module
Date: Mon, 16 Mar 2015 13:50:09 -0700 [thread overview]
Message-ID: <20150316205008.GB12397@atomide.com> (raw)
In-Reply-To: <1423493285-4231-2-git-send-email-lisovy@jablotron.cz>
* Rostislav Lisovy <lisovy@gmail.com> [150209 06:51]:
> Since this is a SOM (System on Module) that will be part
> of another embedded board (and can't really exist on its own)
> define it as a "dtsi" that will be included in the Device tree
> describing the whole system later on.
>
> Hardware specification:
> * AM335x SoC
> * up to 512 MB RAM
> * NAND Flash (8x interface, cs0)
> * UART0
> * PMIC
> * I2C0 (for PMIC)
> * 1x Ethernet MAC
Applying all three into omap-for-v4.1/dt with one change
below.
> --- /dev/null
> +++ b/arch/arm/boot/dts/am335x-chilisom.dtsi
> +
> +&gpmc {
> + status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&nandflash_pins>;
> + ranges = <0 0 0x08000000 0x01000000>; /* CS0 0 @addr 0x08000000, size 0x01000000 */
> + nand at 0,0 {
> + reg = <0 0 0x01000000>; /* CS0 */
I've changed this to say just:
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
As for NAND the device has just one IO register. The 0x01000000
is the size of a minimum GPMC partition.
Regards,
Tony
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Rostislav Lisovy <lisovy@gmail.com>
Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Benoit Cousson <bcousson@baylibre.com>,
Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Rostislav Lisovy <lisovy@jablotron.cz>
Subject: Re: [PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module
Date: Mon, 16 Mar 2015 13:50:09 -0700 [thread overview]
Message-ID: <20150316205008.GB12397@atomide.com> (raw)
In-Reply-To: <1423493285-4231-2-git-send-email-lisovy@jablotron.cz>
* Rostislav Lisovy <lisovy@gmail.com> [150209 06:51]:
> Since this is a SOM (System on Module) that will be part
> of another embedded board (and can't really exist on its own)
> define it as a "dtsi" that will be included in the Device tree
> describing the whole system later on.
>
> Hardware specification:
> * AM335x SoC
> * up to 512 MB RAM
> * NAND Flash (8x interface, cs0)
> * UART0
> * PMIC
> * I2C0 (for PMIC)
> * 1x Ethernet MAC
Applying all three into omap-for-v4.1/dt with one change
below.
> --- /dev/null
> +++ b/arch/arm/boot/dts/am335x-chilisom.dtsi
> +
> +&gpmc {
> + status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&nandflash_pins>;
> + ranges = <0 0 0x08000000 0x01000000>; /* CS0 0 @addr 0x08000000, size 0x01000000 */
> + nand@0,0 {
> + reg = <0 0 0x01000000>; /* CS0 */
I've changed this to say just:
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
As for NAND the device has just one IO register. The 0x01000000
is the size of a minimum GPMC partition.
Regards,
Tony
next prev parent reply other threads:[~2015-03-16 20:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 14:48 [PATCH 1/3] ARM: dts: Add vendor prefix for Grinn Rostislav Lisovy
2015-02-09 14:48 ` Rostislav Lisovy
2015-02-09 14:48 ` [PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module Rostislav Lisovy
2015-02-09 14:48 ` Rostislav Lisovy
[not found] ` <1423493285-4231-2-git-send-email-lisovy-/jIuvo6cn7g68gdbZb/DoA@public.gmane.org>
2015-03-16 20:50 ` Tony Lindgren [this message]
2015-03-16 20:50 ` Tony Lindgren
2015-03-16 20:50 ` Tony Lindgren
2015-02-09 14:48 ` [PATCH 3/3] ARM: dts: am335x: Add Chiliboard DTS Rostislav Lisovy
2015-02-09 14:48 ` Rostislav Lisovy
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=20150316205008.GB12397@atomide.com \
--to=tony-4v6ys6ai5vpbdgjk7y7tuq@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lisovy-/jIuvo6cn7g68gdbZb/DoA@public.gmane.org \
--cc=lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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.