12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- From 0b99a4626c7e148df128c6a8cb686d500431189b Mon Sep 17 00:00:00 2001
- From: Jia Jie Ho <[email protected]>
- Date: Tue, 17 Jan 2023 09:54:43 +0800
- Subject: [PATCH 101/122] dt-bindings: rng: Add StarFive TRNG module
- Add documentation to describe Starfive true random number generator
- module.
- Co-developed-by: Jenny Zhang <[email protected]>
- Signed-off-by: Jenny Zhang <[email protected]>
- Signed-off-by: Jia Jie Ho <[email protected]>
- Reviewed-by: Krzysztof Kozlowski <[email protected]>
- Reviewed-by: Conor Dooley <[email protected]>
- ---
- .../bindings/rng/starfive,jh7110-trng.yaml | 55 +++++++++++++++++++
- 1 file changed, 55 insertions(+)
- create mode 100644 Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
- --- /dev/null
- +++ b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
- @@ -0,0 +1,55 @@
- +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
- +%YAML 1.2
- +---
- +$id: http://devicetree.org/schemas/rng/starfive,jh7110-trng.yaml#
- +$schema: http://devicetree.org/meta-schemas/core.yaml#
- +
- +title: StarFive SoC TRNG Module
- +
- +maintainers:
- + - Jia Jie Ho <[email protected]>
- +
- +properties:
- + compatible:
- + const: starfive,jh7110-trng
- +
- + reg:
- + maxItems: 1
- +
- + clocks:
- + items:
- + - description: Hardware reference clock
- + - description: AHB reference clock
- +
- + clock-names:
- + items:
- + - const: hclk
- + - const: ahb
- +
- + resets:
- + maxItems: 1
- +
- + interrupts:
- + maxItems: 1
- +
- +required:
- + - compatible
- + - reg
- + - clocks
- + - clock-names
- + - resets
- + - interrupts
- +
- +additionalProperties: false
- +
- +examples:
- + - |
- + rng: rng@1600C000 {
- + compatible = "starfive,jh7110-trng";
- + reg = <0x1600C000 0x4000>;
- + clocks = <&clk 15>, <&clk 16>;
- + clock-names = "hclk", "ahb";
- + resets = <&reset 3>;
- + interrupts = <30>;
- + };
- +...
|