[PATCH 1/3] ARM: at91/dt: sama5d2: add trng node

Mike Williams mike at mikebwilliams.com
Tue May 3 09:44:22 PDT 2016


Add node to support SAMA5D2 hardware random number generator.
---
 arch/arm/boot/dts/sama5d2.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 78996bd..af9a5f8 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1127,6 +1127,13 @@
 				status = "disabled";
 			};
 
+			trng at fc01c000 {
+				compatible = "atmel,at91sam9g45-trng";
+				reg = <0xfc01c000 0x4000>;
+				interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
+				clocks = <&trng_clk>;
+			};
+
 			aic: interrupt-controller at fc020000 {
 				#interrupt-cells = <3>;
 				compatible = "atmel,sama5d2-aic";
-- 
2.5.0




More information about the linux-arm-kernel mailing list