Re: [PATCH v2 5/6] ARM: mvebu: Enable NAND controller in Armada 385-DB

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

 




On 03/13/2014 10:39 PM, Ezequiel Garcia wrote:

From: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>

The Armada 385-DB board has a NAND flash, so enable it in the
devicetree and add the partitions as prepared in the factory images.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>
---
  arch/arm/boot/dts/armada-385-db.dts | 21 +++++++++++++++++++++
  1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/armada-385-db.dts b/arch/arm/boot/dts/armada-385-db.dts
index 9a13642..edcf7ff 100644
--- a/arch/arm/boot/dts/armada-385-db.dts
+++ b/arch/arm/boot/dts/armada-385-db.dts
@@ -80,6 +80,27 @@
  					reg = <1>;
  				};
  			};
+
+			flash: flash@d0000 {

Note that you don't have to label your device the same way as it's named, i.e. you could have labelled it "nand" if it would make things clearer. Although I don't readily see the value of labeling nodes in the board's .dts file. Do you really expect to refer to it somewhere?

WBR, Sergei

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