Browse Source

ARM: dts: at91: sama5d2: add trng node

Add node to support SAMA5D2 hardware random number generator.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
[nicolas.ferre@atmel.com: reduce the register map size]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Mike Williams 9 years ago
parent
commit
02eb8d6827
1 changed files with 7 additions and 0 deletions
  1. 7 0
      arch/arm/boot/dts/sama5d2.dtsi

+ 7 - 0
arch/arm/boot/dts/sama5d2.dtsi

@@ -1168,6 +1168,13 @@
 				status = "disabled";
 			};
 
+			trng@fc01c000 {
+				compatible = "atmel,at91sam9g45-trng";
+				reg = <0xfc01c000 0x100>;
+				interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
+				clocks = <&trng_clk>;
+			};
+
 			aic: interrupt-controller@fc020000 {
 				#interrupt-cells = <3>;
 				compatible = "atmel,sama5d2-aic";