lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150316205008.GB12397@atomide.com>
Date:	Mon, 16 Mar 2015 13:50:09 -0700
From:	Tony Lindgren <tony@...mide.com>
To:	Rostislav Lisovy <lisovy@...il.com>
Cc:	linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	Rob Herring <robh+dt@...nel.org>,
	Benoit Cousson <bcousson@...libre.com>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	Rostislav Lisovy <lisovy@...lotron.cz>
Subject: Re: [PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module

* Rostislav Lisovy <lisovy@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ