~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/partitions/nvmem-cells.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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/nvmem-cells.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Nvmem cells
  8 
  9 description: |
 10   Any partition containing the compatible "nvmem-cells" will register as a
 11   nvmem provider.
 12   Each direct subnodes represents a nvmem cell following the nvmem binding.
 13   Nvmem binding to declare nvmem-cells can be found in:
 14   Documentation/devicetree/bindings/nvmem/nvmem.yaml
 15 
 16 maintainers:
 17   - Ansuel Smith <ansuelsmth@gmail.com>
 18 
 19 allOf:
 20   - $ref: /schemas/mtd/partitions/partition.yaml#
 21   - $ref: /schemas/nvmem/nvmem.yaml#
 22   - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml#
 23 
 24 properties:
 25   compatible:
 26     const: nvmem-cells
 27 
 28 required:
 29   - compatible
 30 
 31 unevaluatedProperties: false
 32 
 33 examples:
 34   - |
 35     partitions {
 36       compatible = "fixed-partitions";
 37       #address-cells = <1>;
 38       #size-cells = <1>;
 39 
 40       /* ... */
 41 
 42       };
 43       art: art@1200000 {
 44         compatible = "nvmem-cells";
 45         reg = <0x1200000 0x0140000>;
 46         label = "art";
 47         read-only;
 48         #address-cells = <1>;
 49         #size-cells = <1>;
 50 
 51         macaddr_gmac1: macaddr_gmac1@0 {
 52           reg = <0x0 0x6>;
 53         };
 54 
 55         macaddr_gmac2: macaddr_gmac2@6 {
 56           reg = <0x6 0x6>;
 57         };
 58 
 59         pre_cal_24g: pre_cal_24g@1000 {
 60           reg = <0x1000 0x2f20>;
 61         };
 62 
 63         pre_cal_5g: pre_cal_5g@5000{
 64           reg = <0x5000 0x2f20>;
 65         };
 66       };
 67   - |
 68     partitions {
 69         compatible = "fixed-partitions";
 70         #address-cells = <1>;
 71         #size-cells = <1>;
 72 
 73         partition@0 {
 74             label = "bootloader";
 75             reg = <0x000000 0x100000>;
 76             read-only;
 77         };
 78 
 79         firmware@100000 {
 80             compatible = "brcm,trx";
 81             label = "firmware";
 82             reg = <0x100000 0xe00000>;
 83         };
 84 
 85         calibration@f00000 {
 86             compatible = "nvmem-cells";
 87             label = "calibration";
 88             reg = <0xf00000 0x100000>;
 89             #address-cells = <1>;
 90             #size-cells = <1>;
 91 
 92             wifi0@0 {
 93                 reg = <0x000000 0x080000>;
 94             };
 95 
 96             wifi1@80000 {
 97                 reg = <0x080000 0x080000>;
 98             };
 99         };
100     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php