From: Nicolas Ferre Subject: [PATCH RESEND v2 4/4] ARM: at91/dt: add trng node to at91sam9g45 Date: Thu, 20 Nov 2014 10:43:25 +0100 Message-ID: <575b40c1f59408602161bb459ba5c90e5a1c19c3.1416475860.git.nicolas.ferre@atmel.com> References: Mime-Version: 1.0 Content-Type: text/plain Cc: , , Boris BREZILLON , Alexandre Belloni , Jean-Christophe PLAGNIOL-VILLARD , , , , , To: , Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org From: Boris Brezillon Add a DT node for the TRNG (True Random Number Generator) block. Keep this block enabled as it does not depend on any external connection, and thus should be available on all boards. Signed-off-by: Boris Brezillon Acked-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9g45.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index d3f65130a1f8..6c0637a4bda5 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi @@ -940,6 +940,13 @@ status = "disabled"; }; + trng@fffcc000 { + compatible = "atmel,at91sam9g45-trng"; + reg = <0xfffcc000 0x4000>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&trng_clk>; + }; + i2c0: i2c@fff84000 { compatible = "atmel,at91sam9g10-i2c"; reg = <0xfff84000 0x100>; -- 2.1.3