Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml
Extension
.yaml
Size
2199 bytes
Lines
71
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Memory controller (MEMC) for Broadcom STB

maintainers:
  - Florian Fainelli <f.fainelli@gmail.com>

properties:
  compatible:
    oneOf:
      - description: Revision > 2.1 controllers
        items:
          - enum:
              - brcm,brcmstb-memc-ddr-rev-b.2.2
              - brcm,brcmstb-memc-ddr-rev-b.2.3
              - brcm,brcmstb-memc-ddr-rev-b.2.5
              - brcm,brcmstb-memc-ddr-rev-b.2.6
              - brcm,brcmstb-memc-ddr-rev-b.2.7
              - brcm,brcmstb-memc-ddr-rev-b.2.8
              - brcm,brcmstb-memc-ddr-rev-b.3.0
              - brcm,brcmstb-memc-ddr-rev-b.3.1
              - brcm,brcmstb-memc-ddr-rev-c.1.0
              - brcm,brcmstb-memc-ddr-rev-c.1.1
              - brcm,brcmstb-memc-ddr-rev-c.1.2
              - brcm,brcmstb-memc-ddr-rev-c.1.3
              - brcm,brcmstb-memc-ddr-rev-c.1.4
          - const: brcm,brcmstb-memc-ddr-rev-b.2.1
          - const: brcm,brcmstb-memc-ddr
      - description: Revision 2.1 controllers
        items:
          - const: brcm,brcmstb-memc-ddr-rev-b.2.1
          - const: brcm,brcmstb-memc-ddr
      - description: Revision 2.0 controllers
        items:
          - const: brcm,brcmstb-memc-ddr-rev-b.2.0
          - const: brcm,brcmstb-memc-ddr
      - description: Revision 1.x controllers
        items:
          - const: brcm,brcmstb-memc-ddr-rev-b.1.x
          - const: brcm,brcmstb-memc-ddr
      - description: Revision 0.x controllers
        items:
          - const: brcm,brcmstb-memc-ddr-rev-a.0.0
          - const: brcm,brcmstb-memc-ddr

  reg:
    maxItems: 1

  clock-frequency:
    description: DDR PHY frequency in Hz

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    memory-controller@9902000 {
        compatible = "brcm,brcmstb-memc-ddr-rev-c.1.1",
                     "brcm,brcmstb-memc-ddr-rev-b.2.1",
                     "brcm,brcmstb-memc-ddr";
        reg = <0x9902000 0x600>;
        clock-frequency = <2133000000>;
    };

Annotation

Implementation Notes