1 From 2fa7294175c76e1ec568aa75c1891fd908728c8d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 12 Mar 2021 14:49:18 +0100
4 Subject: [PATCH] dt-bindings: mtd: add binding for Linksys Northstar
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 Linksys on Broadcom Northstar devices uses fixed flash layout with
11 multiple firmware partitions.
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Reviewed-by: Rob Herring <robh@kernel.org>
15 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
16 Link: https://lore.kernel.org/linux-mtd/20210312134919.7767-1-zajec5@gmail.com
18 .../mtd/partitions/linksys,ns-partitions.yaml | 74 +++++++++++++++++++
19 1 file changed, 74 insertions(+)
20 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml
23 +++ b/Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml
25 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28 +$id: http://devicetree.org/schemas/mtd/partitions/linksys,ns-partitions.yaml#
29 +$schema: http://devicetree.org/meta-schemas/core.yaml#
31 +title: Linksys Northstar partitioning
34 + Linksys devices based on Broadcom Northstar architecture often use two
35 + firmware partitions. One is used for regular booting, the other is treated as
38 + This binding allows defining all fixed partitions and marking those containing
39 + firmware. System can use that information e.g. for booting or flashing
43 + - Rafał Miłecki <rafal@milecki.pl>
47 + const: linksys,ns-partitions
56 + "^partition@[0-9a-f]+$":
57 + $ref: "partition.yaml#"
61 + - const: linksys,ns-firmware
63 + unevaluatedProperties: false
69 +additionalProperties: false
74 + compatible = "linksys,ns-partitions";
75 + #address-cells = <1>;
80 + reg = <0x0 0x100000>;
86 + reg = <0x100000 0x100000>;
90 + compatible = "linksys,ns-firmware", "brcm,trx";
91 + reg = <0x200000 0xf00000>;
95 + compatible = "linksys,ns-firmware", "brcm,trx";
96 + reg = <0x1100000 0xf00000>;