arm64: dts: marvell: add TRNG description for Armada 8K CP
authorRomain Perier <romain.perier@free-electrons.com>
Fri, 16 Sep 2016 10:08:56 +0000 (12:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2016 02:27:53 +0000 (10:27 +0800)
This commits adds the devicetree description of the SafeXcel IP-76 TRNG
found in the two Armada CP110.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi

index e5e3ed678b6f1d37ecb71ff27d4135fb483dbd8f..5f0ea59e2d1fefed58f8a863cda91459b4c62ff2 100644 (file)
                                clocks = <&cpm_syscon0 1 21>;
                                status = "disabled";
                        };
+
+                       cpm_trng: trng@760000 {
+                               compatible = "marvell,armada-8k-rng", "inside-secure,safexcel-eip76";
+                               reg = <0x760000 0x7d>;
+                               interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&cpm_syscon0 1 25>;
+                               status = "okay";
+                       };
                };
 
                cpm_pcie0: pcie@f2600000 {
index 842fb333285c97e558ebc4f15556dfab327b73e7..db2d2a4dcea00c9279cad665c31f343c8c1a1615 100644 (file)
                                clocks = <&cps_syscon0 1 21>;
                                status = "disabled";
                        };
+
+                       cps_trng: trng@760000 {
+                               compatible = "marvell,armada-8k-rng", "inside-secure,safexcel-eip76";
+                               reg = <0x760000 0x7d>;
+                               interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&cps_syscon0 1 25>;
+                               status = "okay";
+                       };
                };
 
                cps_pcie0: pcie@f4600000 {