summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-04-18 23:46:14 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-05-10 12:11:48 +0200
commita4d82940ff85a7e307953dfa715f65d5ab487e10 (patch)
tree51906e462cd0587fc22a322f08abbcb8a8813f69
parent16a7af2ecc2217ba8c317fdd2ca177bbc7b0a8d2 (diff)
dt-bindings: mtd: brcm,trx: Add brcm,trx-magic
This adds the description of an additional property which allows to specify a custom partition parser magic to detect a trx partition. Buffalo has multiple device which are using the trx format, but with different magic values. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210418214616.239574-2-hauke@hauke-m.de
-rw-r--r--Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt
index b677147ca4e1..c2175d3c82ec 100644
--- a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt
+++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt
@@ -28,6 +28,11 @@ detected by a software parsing TRX header.
Required properties:
- compatible : (required) must be "brcm,trx"
+Optional properties:
+
+- brcm,trx-magic: TRX magic, if it is different from the default magic
+ 0x30524448 as a u32.
+
Example:
flash@0 {