Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml
Extension
.yaml
Size
1394 bytes
Lines
83
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rng/brcm,bcm2835.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: BCM2835/6368 Random number generator

maintainers:
  - Stefan Wahren <stefan.wahren@i2se.com>
  - Florian Fainelli <f.fainelli@gmail.com>
  - Herbert Xu <herbert@gondor.apana.org.au>

properties:
  compatible:
    enum:
      - brcm,bcm2835-rng
      - brcm,bcm-nsp-rng
      - brcm,bcm5301x-rng
      - brcm,bcm6368-rng

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    const: ipsec

  resets:
    maxItems: 1

  reset-names:
    const: ipsec

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg

if:
  properties:
    compatible:
      enum:
        - brcm,bcm6368-rng
then:
  required:
    - clocks
    - clock-names
    - resets
    - reset-names

additionalProperties: false

examples:
  - |
    rng@7e104000 {
        compatible = "brcm,bcm2835-rng";
        reg = <0x7e104000 0x10>;
        interrupts = <2 29>;
    };

  - |
    rng@18033000 {
        compatible = "brcm,bcm-nsp-rng";
        reg = <0x18033000 0x14>;
    };

Annotation

Implementation Notes