mirror of https://github.com/torvalds/linux.git
dt-bindings: rng: microchip,pic32-rng: convert to DT schema
Convert the Devicetree binding documentation for microchip,pic32mzda-rng from plain text to YAML. Signed-off-by: Kael D'Alcamo <dev@kael-k.io> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
6af9914f7b
commit
59682835e1
|
|
@ -1,17 +0,0 @@
|
||||||
* Microchip PIC32 Random Number Generator
|
|
||||||
|
|
||||||
The PIC32 RNG provides a pseudo random number generator which can be seeded by
|
|
||||||
another true random number generator.
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
- compatible : should be "microchip,pic32mzda-rng"
|
|
||||||
- reg : Specifies base physical address and size of the registers.
|
|
||||||
- clocks: clock phandle.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
rng: rng@1f8e6000 {
|
|
||||||
compatible = "microchip,pic32mzda-rng";
|
|
||||||
reg = <0x1f8e6000 0x1000>;
|
|
||||||
clocks = <&PBCLK5>;
|
|
||||||
};
|
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/rng/microchip,pic32-rng.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Microchip PIC32 Random Number Generator
|
||||||
|
|
||||||
|
description: |
|
||||||
|
The PIC32 RNG provides a pseudo random number generator which can be seeded
|
||||||
|
by another true random number generator.
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Joshua Henderson <joshua.henderson@microchip.com>
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
enum:
|
||||||
|
- microchip,pic32mzda-rng
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- clocks
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
rng: rng@1f8e6000 {
|
||||||
|
compatible = "microchip,pic32mzda-rng";
|
||||||
|
reg = <0x1f8e6000 0x1000>;
|
||||||
|
clocks = <&PBCLK5>;
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue