diff options
author | Rob Herring <robh@kernel.org> | 2018-04-26 03:35:54 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-04-27 23:56:55 +0200 |
commit | b48e7dad437323812d963e4d92906eac9e55b449 (patch) | |
tree | 7f6a090e0515388c43af163069c5408d2bd16fcf /Documentation/devicetree/bindings/rng | |
parent | dt-bindings: move various timer bindings to timer/ directory (diff) | |
download | linux-b48e7dad437323812d963e4d92906eac9e55b449.tar.xz linux-b48e7dad437323812d963e4d92906eac9e55b449.zip |
dt-bindings: move various RNG bindings to rng/ directory
Bindings are supposed to be organized by device class/function. Move
bindings for various RNGs to rng/ binding directory.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rng')
-rw-r--r-- | Documentation/devicetree/bindings/rng/samsung,exynos4-rng.txt | 19 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt | 30 |
2 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.txt b/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.txt new file mode 100644 index 000000000000..a13fbdb4bd88 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.txt @@ -0,0 +1,19 @@ +Exynos Pseudo Random Number Generator + +Required properties: + +- compatible : One of: + - "samsung,exynos4-rng" for Exynos4210 and Exynos4412 + - "samsung,exynos5250-prng" for Exynos5250+ +- reg : Specifies base physical address and size of the registers map. +- clocks : Phandle to clock-controller plus clock-specifier pair. +- clock-names : "secss" as a clock name. + +Example: + + rng@10830400 { + compatible = "samsung,exynos4-rng"; + reg = <0x10830400 0x200>; + clocks = <&clock CLK_SSS>; + clock-names = "secss"; + }; diff --git a/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt b/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt new file mode 100644 index 000000000000..b0b211194c71 --- /dev/null +++ b/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt @@ -0,0 +1,30 @@ +HWRNG support for the n2_rng driver + +Required properties: +- reg : base address to sample from +- compatible : should contain one of the following + RNG versions: + - 'SUNW,n2-rng' for Niagara 2 Platform (SUN UltraSPARC T2 CPU) + - 'SUNW,vf-rng' for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU) + - 'SUNW,kt-rng' for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4), (UltraSPARC KT/Niagara 3 - development names) + more recent systems (after Oracle acquisition of SUN) + - 'ORCL,m4-rng' for SPARC T5/M5 + - 'ORCL,m7-rng' for SPARC T7/M7 + +Examples: +/* linux LDOM on SPARC T5-2 */ +Node 0xf029a4f4 + .node: f029a4f4 + rng-#units: 00000002 + compatible: 'ORCL,m4-rng' + reg: 0000000e + name: 'random-number-generator' + +/* solaris on SPARC M7-8 */ +Node 0xf028c08c + rng-#units: 00000003 + compatible: 'ORCL,m7-rng' + reg: 0000000e + name: 'random-number-generator' + +PS: see as well prtconfs.git by DaveM |