public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards
@ 2015-02-06  8:45 Gordon Bos
       [not found] ` <1423212311-10793-1-git-send-email-gordon-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Gordon Bos @ 2015-02-06  8:45 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Gordon Bos

Excito B3 boards use SPI flash for booting and several userland
functions require access to this flash memory, including power down
control. However /proc/mtd shows an empty list and the userland
tools respond with "device not found".

Change driver reference for spi@10600 to M25P80

Verified on my own Excito B3

Signed-off-by: Gordon Bos <gordon-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
---
 arch/arm/boot/dts/kirkwood-b3.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/kirkwood-b3.dts b/arch/arm/boot/dts/kirkwood-b3.dts
index c9247f8..4b1e414 100644
--- a/arch/arm/boot/dts/kirkwood-b3.dts
+++ b/arch/arm/boot/dts/kirkwood-b3.dts
@@ -71,10 +71,10 @@
 		spi@10600 {
 			status = "okay";
 
-			m25p16@0 {
+			m25p80@0 {
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "st,m25p16";
+				compatible = "st,m25p80";
 				reg = <0>;
 				spi-max-frequency = <40000000>;
 				mode = <0>;
-- 
2.2.2

--
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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-02-07 20:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06  8:45 [PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards Gordon Bos
     [not found] ` <1423212311-10793-1-git-send-email-gordon-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-06  9:09   ` Gregory CLEMENT
2015-02-07 15:04     ` Gordon Bos
     [not found]       ` <54D6299B.70707-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 16:09         ` Andrew Lunn
2015-02-07 17:15           ` Gordon Bos
     [not found]             ` <54D64820.7020002-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 17:36               ` Andrew Lunn
2015-02-07 18:22                 ` Gordon Bos
     [not found]                   ` <54D657D5.3010709-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 18:40                     ` Andrew Lunn
2015-02-07 19:59                       ` Gordon Bos
     [not found]                         ` <54D66EB2.2030006-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 20:25                           ` Andrew Lunn
2015-02-07 16:37         ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox