xref: /freebsd/sys/contrib/device-tree/Bindings/rng/omap_rng.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/rng/omap_rng.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: OMAP SoC and Inside-Secure HWRNG Module
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Jayesh Choudhary <j-choudhary@ti.com>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotproperties:
138cc087a1SEmmanuel Vadot  compatible:
148cc087a1SEmmanuel Vadot    enum:
158cc087a1SEmmanuel Vadot      - ti,omap2-rng
168cc087a1SEmmanuel Vadot      - ti,omap4-rng
178cc087a1SEmmanuel Vadot      - inside-secure,safexcel-eip76
188cc087a1SEmmanuel Vadot
198cc087a1SEmmanuel Vadot  ti,hwmods:
208cc087a1SEmmanuel Vadot    const: rng
218cc087a1SEmmanuel Vadot    deprecated: true
228cc087a1SEmmanuel Vadot    description: Name of the hwmod associated with the RNG module
238cc087a1SEmmanuel Vadot
248cc087a1SEmmanuel Vadot  reg:
258cc087a1SEmmanuel Vadot    maxItems: 1
268cc087a1SEmmanuel Vadot
278cc087a1SEmmanuel Vadot  interrupts:
288cc087a1SEmmanuel Vadot    maxItems: 1
298cc087a1SEmmanuel Vadot
308cc087a1SEmmanuel Vadot  clocks:
318cc087a1SEmmanuel Vadot    minItems: 1
328cc087a1SEmmanuel Vadot    items:
33*aa1a8ff2SEmmanuel Vadot      - description: EIP150 gateable clock
34*aa1a8ff2SEmmanuel Vadot      - description: Main gateable clock
358cc087a1SEmmanuel Vadot
368cc087a1SEmmanuel Vadot  clock-names:
378cc087a1SEmmanuel Vadot    minItems: 1
388cc087a1SEmmanuel Vadot    items:
398cc087a1SEmmanuel Vadot      - const: core
408cc087a1SEmmanuel Vadot      - const: reg
418cc087a1SEmmanuel Vadot
428cc087a1SEmmanuel Vadot
438cc087a1SEmmanuel VadotallOf:
448cc087a1SEmmanuel Vadot  - if:
458cc087a1SEmmanuel Vadot      properties:
468cc087a1SEmmanuel Vadot        compatible:
478cc087a1SEmmanuel Vadot          contains:
488cc087a1SEmmanuel Vadot            enum:
498cc087a1SEmmanuel Vadot              - ti,omap4-rng
508cc087a1SEmmanuel Vadot              - inside-secure,safexcel-eip76
518cc087a1SEmmanuel Vadot
528cc087a1SEmmanuel Vadot    then:
538cc087a1SEmmanuel Vadot      required:
548cc087a1SEmmanuel Vadot        - interrupts
558cc087a1SEmmanuel Vadot
568cc087a1SEmmanuel Vadot
578cc087a1SEmmanuel Vadotrequired:
588cc087a1SEmmanuel Vadot  - compatible
598cc087a1SEmmanuel Vadot  - reg
608cc087a1SEmmanuel Vadot
618cc087a1SEmmanuel VadotadditionalProperties: false
628cc087a1SEmmanuel Vadot
638cc087a1SEmmanuel Vadotexamples:
648cc087a1SEmmanuel Vadot  - |
658cc087a1SEmmanuel Vadot    /* AM335x */
668cc087a1SEmmanuel Vadot    rng: rng@48310000 {
678cc087a1SEmmanuel Vadot            compatible = "ti,omap4-rng";
688cc087a1SEmmanuel Vadot            ti,hwmods = "rng";
698cc087a1SEmmanuel Vadot            reg = <0x48310000 0x2000>;
708cc087a1SEmmanuel Vadot            interrupts = <111>;
718cc087a1SEmmanuel Vadot    };
728cc087a1SEmmanuel Vadot  - |
738cc087a1SEmmanuel Vadot    /* SafeXcel IP-76 */
748cc087a1SEmmanuel Vadot    trng: rng@f2760000 {
758cc087a1SEmmanuel Vadot            compatible = "inside-secure,safexcel-eip76";
768cc087a1SEmmanuel Vadot            reg = <0xf2760000 0x7d>;
778cc087a1SEmmanuel Vadot            interrupts = <0 59 4>;
788cc087a1SEmmanuel Vadot            clocks = <&cpm_syscon0 1 25>;
798cc087a1SEmmanuel Vadot    };
808cc087a1SEmmanuel Vadot
818cc087a1SEmmanuel Vadot...
82