Skip to content

Commit 532a943

Browse files
kael-krobherring
authored andcommitted
dt-bindings: rng: sparc_sun_oracle_rng: convert to DT schema
Convert the Devicetree binding documentation for: * SUNW,n2-rng * SUNW,vf-rng * SUNW,kt-rng * ORCL,m4-rng * ORCL,m7-rng from plain text to YAML. Signed-off-by: Kael D'Alcamo <[email protected]> Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 33b6c8e commit 532a943

File tree

2 files changed

+50
-30
lines changed

2 files changed

+50
-30
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rng/SUNW,n2-rng.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: SUN UltraSPARC HWRNG
8+
9+
maintainers:
10+
- David S. Miller <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- SUNW,n2-rng # for Niagara 2 Platform (SUN UltraSPARC T2 CPU)
16+
- SUNW,vf-rng # for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU)
17+
# for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4),
18+
# (UltraSPARC KT/Niagara 3 - development names)
19+
# more recent systems (after Oracle acquisition of SUN)
20+
- SUNW,kt-rng
21+
- ORCL,m4-rng # for SPARC T5/M5
22+
- ORCL,m7-rng # for SPARC T7/M7
23+
24+
reg:
25+
maxItems: 1
26+
27+
"rng-#units":
28+
description: Number of RNG units
29+
$ref: /schemas/types.yaml#/definitions/uint32
30+
minimum: 1
31+
32+
required:
33+
- compatible
34+
- reg
35+
36+
additionalProperties: false
37+
38+
# PS: see as well prtconfs.git by DaveM
39+
examples:
40+
- |
41+
bus {
42+
#address-cells = <1>;
43+
#size-cells = <0>;
44+
45+
rng@e {
46+
compatible = "ORCL,m4-rng";
47+
reg = <0xe>;
48+
rng-#units = <2>;
49+
};
50+
};

Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)