xref: /linux/Documentation/devicetree/bindings/rng/omap_rng.yaml (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
19ae9c51bSJayesh Choudhary# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
29ae9c51bSJayesh Choudhary%YAML 1.2
39ae9c51bSJayesh Choudhary---
49ae9c51bSJayesh Choudhary$id: http://devicetree.org/schemas/rng/omap_rng.yaml#
59ae9c51bSJayesh Choudhary$schema: http://devicetree.org/meta-schemas/core.yaml#
69ae9c51bSJayesh Choudhary
79ae9c51bSJayesh Choudharytitle: OMAP SoC and Inside-Secure HWRNG Module
89ae9c51bSJayesh Choudhary
99ae9c51bSJayesh Choudharymaintainers:
109ae9c51bSJayesh Choudhary  - Jayesh Choudhary <j-choudhary@ti.com>
119ae9c51bSJayesh Choudhary
129ae9c51bSJayesh Choudharyproperties:
139ae9c51bSJayesh Choudhary  compatible:
149ae9c51bSJayesh Choudhary    enum:
159ae9c51bSJayesh Choudhary      - ti,omap2-rng
169ae9c51bSJayesh Choudhary      - ti,omap4-rng
179ae9c51bSJayesh Choudhary      - inside-secure,safexcel-eip76
189ae9c51bSJayesh Choudhary
199ae9c51bSJayesh Choudhary  ti,hwmods:
209ae9c51bSJayesh Choudhary    const: rng
219ae9c51bSJayesh Choudhary    deprecated: true
229ae9c51bSJayesh Choudhary    description: Name of the hwmod associated with the RNG module
239ae9c51bSJayesh Choudhary
249ae9c51bSJayesh Choudhary  reg:
259ae9c51bSJayesh Choudhary    maxItems: 1
269ae9c51bSJayesh Choudhary
279ae9c51bSJayesh Choudhary  interrupts:
289ae9c51bSJayesh Choudhary    maxItems: 1
299ae9c51bSJayesh Choudhary
309ae9c51bSJayesh Choudhary  clocks:
319ae9c51bSJayesh Choudhary    minItems: 1
329ae9c51bSJayesh Choudhary    items:
33*47aab533SBjorn Helgaas      - description: EIP150 gateable clock
34*47aab533SBjorn Helgaas      - description: Main gateable clock
359ae9c51bSJayesh Choudhary
369ae9c51bSJayesh Choudhary  clock-names:
379ae9c51bSJayesh Choudhary    minItems: 1
389ae9c51bSJayesh Choudhary    items:
399ae9c51bSJayesh Choudhary      - const: core
409ae9c51bSJayesh Choudhary      - const: reg
419ae9c51bSJayesh Choudhary
429ae9c51bSJayesh Choudhary
439ae9c51bSJayesh ChoudharyallOf:
449ae9c51bSJayesh Choudhary  - if:
459ae9c51bSJayesh Choudhary      properties:
469ae9c51bSJayesh Choudhary        compatible:
479ae9c51bSJayesh Choudhary          contains:
489ae9c51bSJayesh Choudhary            enum:
499ae9c51bSJayesh Choudhary              - ti,omap4-rng
509ae9c51bSJayesh Choudhary              - inside-secure,safexcel-eip76
519ae9c51bSJayesh Choudhary
529ae9c51bSJayesh Choudhary    then:
539ae9c51bSJayesh Choudhary      required:
549ae9c51bSJayesh Choudhary        - interrupts
559ae9c51bSJayesh Choudhary
569ae9c51bSJayesh Choudhary
579ae9c51bSJayesh Choudharyrequired:
589ae9c51bSJayesh Choudhary  - compatible
599ae9c51bSJayesh Choudhary  - reg
609ae9c51bSJayesh Choudhary
619ae9c51bSJayesh ChoudharyadditionalProperties: false
629ae9c51bSJayesh Choudhary
639ae9c51bSJayesh Choudharyexamples:
649ae9c51bSJayesh Choudhary  - |
659ae9c51bSJayesh Choudhary    /* AM335x */
669ae9c51bSJayesh Choudhary    rng: rng@48310000 {
679ae9c51bSJayesh Choudhary            compatible = "ti,omap4-rng";
689ae9c51bSJayesh Choudhary            ti,hwmods = "rng";
699ae9c51bSJayesh Choudhary            reg = <0x48310000 0x2000>;
709ae9c51bSJayesh Choudhary            interrupts = <111>;
719ae9c51bSJayesh Choudhary    };
729ae9c51bSJayesh Choudhary  - |
739ae9c51bSJayesh Choudhary    /* SafeXcel IP-76 */
749ae9c51bSJayesh Choudhary    trng: rng@f2760000 {
759ae9c51bSJayesh Choudhary            compatible = "inside-secure,safexcel-eip76";
769ae9c51bSJayesh Choudhary            reg = <0xf2760000 0x7d>;
779ae9c51bSJayesh Choudhary            interrupts = <0 59 4>;
789ae9c51bSJayesh Choudhary            clocks = <&cpm_syscon0 1 25>;
799ae9c51bSJayesh Choudhary    };
809ae9c51bSJayesh Choudhary
819ae9c51bSJayesh Choudhary...
82