Commit 2bfc7452 authored by Cédric Le Goater's avatar Cédric Le Goater Committed by Brian Norris
Browse files

dt-bindings: mtd: add a common label property to all mtd devices



This can be used to easily identify a specific chip on a system with
multiple chips.

Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 28309572
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
* Common properties of all MTD devices

Optional properties:
- label: user-defined MTD device name. Can be used to assign user
  friendly names to MTD devices (instead of the flash model or flash
  controller based name) in order to ease flash device identification
  and/or describe what they are used for.

Example:

	flash@0 {
		label = "System-firmware";

		/* flash type specific properties */
	};