diff options
author | Duc Dang <dhdang@apm.com> | 2015-10-05 16:36:10 -0700 |
---|---|---|
committer | Duc Dang <dhdang@apm.com> | 2015-11-17 13:11:53 -0800 |
commit | e6ae03c4ba43a0623e333e2e8627c5647a71ae58 (patch) | |
tree | 544a8a6f949e77b7c224cee870c568ca3b08e463 /arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | |
parent | b0e7a85a97413fb47f6ba40ac5497cfa40758664 (diff) | |
download | linux-e6ae03c4ba43a0623e333e2e8627c5647a71ae58.tar.bz2 |
arm64: dts: Add RNG device tree nodes for APM X-Gene v2 platform
This patch adds device tree nodes to enable driver for True Random
Number Generator (TRNG) on APM X-Gene v2 platforms.
Signed-off-by: Duc Dang <dhdang@apm.com>
Diffstat (limited to 'arch/arm64/boot/dts/apm/apm-shadowcat.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi index ddf1e86fa67e..630ed4a4ef1b 100644 --- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi +++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi @@ -199,6 +199,19 @@ csr-mask = <0x3>; clock-output-names = "xge1clk"; }; + + rngpkaclk: rngpkaclk@17000000 { + compatible = "apm,xgene-device-clock"; + #clock-cells = <1>; + clocks = <&socplldiv2 0>; + reg = <0x0 0x17000000 0x0 0x2000>; + reg-names = "csr-reg"; + csr-offset = <0xc>; + csr-mask = <0x10>; + enable-offset = <0x10>; + enable-mask = <0x10>; + clock-output-names = "rngpkaclk"; + }; }; scu: system-clk-controller@17000000 { @@ -306,5 +319,12 @@ local-mac-address = [00 01 73 00 00 02]; phy-connection-type = "xgmii"; }; + + rng: rng@10520000 { + compatible = "apm,xgene-rng"; + reg = <0x0 0x10520000 0x0 0x100>; + interrupts = <0x0 0x41 0x4>; + clocks = <&rngpkaclk 0>; + }; }; }; |