From: Cédric Le Goater Date: Thu, 9 Feb 2017 09:21:08 +0000 (+0100) Subject: dt-bindings: mtd: add a common label property to all mtd devices X-Git-Tag: v4.11-rc1~181^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2bfc7452742617fe1182b742917e6e9032eae52c;p=karo-tx-linux.git 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: Cédric Le Goater Acked-by: Boris Brezillon Acked-by: Rob Herring Reviewed-by: Marek Vasut Signed-off-by: Brian Norris --- diff --git a/Documentation/devicetree/bindings/mtd/common.txt b/Documentation/devicetree/bindings/mtd/common.txt new file mode 100644 index 000000000000..fc068b923d7a --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/common.txt @@ -0,0 +1,15 @@ +* 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 */ + };