51 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/rng/ti,keystone-rng.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Keystone SoC Hardware Random Number Generator8 9maintainers:10 - Nishanth Menon <nm@ti.com>11 - Santosh Shilimkar <ssantosh@kernel.org>12 13properties:14 compatible:15 const: ti,keystone-rng16 17 clocks:18 maxItems: 119 20 clock-names:21 items:22 - const: fck23 24 reg:25 maxItems: 126 27 ti,syscon-sa-cfg:28 $ref: /schemas/types.yaml#/definitions/phandle29 description: |30 Phandle to syscon node of the SA configuration registers. These31 registers are shared between HWRNG and crypto drivers.32 33required:34 - compatible35 - clocks36 - clock-names37 - reg38 - ti,syscon-sa-cfg39 40additionalProperties: false41 42examples:43 - |44 rng@24000 {45 compatible = "ti,keystone-rng";46 ti,syscon-sa-cfg = <&sa_config>;47 clocks = <&clksa>;48 clock-names = "fck";49 reg = <0x24000 0x1000>;50 };51