[PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux