diff options
author | NĂcolas F. R. A. Prado <nfraprado@protonmail.com> | 2020-02-22 21:00:59 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-02-27 14:43:50 +0100 |
commit | 73c3d1da3519defab71a7aa62963d0af72cd590f (patch) | |
tree | 3383e30aecdfba673f6c1a22123b430efd83ad70 /Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml | |
parent | dt-bindings: mmc: Convert Cadence SD/SDIO/eMMC controller to json-schema (diff) | |
download | linux-73c3d1da3519defab71a7aa62963d0af72cd590f.tar.xz linux-73c3d1da3519defab71a7aa62963d0af72cd590f.zip |
dt-bindings: rng: Convert BCM2835 to DT schema
Convert BCM2835/6368 Random number generator bindings to DT schema.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@protonmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml new file mode 100644 index 000000000000..42d9a38e4e1a --- /dev/null +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml @@ -0,0 +1,59 @@ +# 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 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + rng { + compatible = "brcm,bcm2835-rng"; + reg = <0x7e104000 0x10>; + interrupts = <2 29>; + }; + + - | + rng@18033000 { + compatible = "brcm,bcm-nsp-rng"; + reg = <0x18033000 0x14>; + }; + + - | + rng@10004180 { + compatible = "brcm,bcm6368-rng"; + reg = <0x10004180 0x14>; + + clocks = <&periph_clk 18>; + clock-names = "ipsec"; + }; |