The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/mtd/partitions/linksys,ns-partitions.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/mtd/partitions/linksys,ns-partitions.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Linksys Northstar partitioning
    8 
    9 description: |
   10   Linksys devices based on Broadcom Northstar architecture often use two
   11   firmware partitions. One is used for regular booting, the other is treated as
   12   fallback.
   13 
   14   This binding allows defining all fixed partitions and marking those containing
   15   firmware. System can use that information e.g. for booting or flashing
   16   purposes.
   17 
   18 maintainers:
   19   - Rafał Miłecki <rafal@milecki.pl>
   20 
   21 properties:
   22   compatible:
   23     const: linksys,ns-partitions
   24 
   25   "#address-cells":
   26     enum: [ 1, 2 ]
   27 
   28   "#size-cells":
   29     enum: [ 1, 2 ]
   30 
   31 patternProperties:
   32   "^partition@[0-9a-f]+$":
   33     $ref: "partition.yaml#"
   34     properties:
   35       compatible:
   36         items:
   37           - const: linksys,ns-firmware
   38           - const: brcm,trx
   39     unevaluatedProperties: false
   40 
   41 required:
   42   - "#address-cells"
   43   - "#size-cells"
   44 
   45 additionalProperties: false
   46 
   47 examples:
   48   - |
   49     partitions {
   50         compatible = "linksys,ns-partitions";
   51         #address-cells = <1>;
   52         #size-cells = <1>;
   53 
   54         partition@0 {
   55             label = "boot";
   56             reg = <0x0 0x100000>;
   57             read-only;
   58         };
   59 
   60         partition@100000 {
   61             label = "nvram";
   62             reg = <0x100000 0x100000>;
   63         };
   64 
   65         partition@200000 {
   66             compatible = "linksys,ns-firmware", "brcm,trx";
   67             reg = <0x200000 0xf00000>;
   68         };
   69 
   70         partition@1100000 {
   71             compatible = "linksys,ns-firmware", "brcm,trx";
   72             reg = <0x1100000 0xf00000>;
   73         };
   74     };

Cache object: 93d5f2e002a6a23fef779ca41698dce8


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.