]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: at91: sama5d2: add trng node
authorMike Williams <mike@mikebwilliams.com>
Fri, 6 May 2016 13:31:25 +0000 (15:31 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 6 May 2016 13:35:28 +0000 (15:35 +0200)
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>
arch/arm/boot/dts/sama5d2.dtsi

index 84eed47ffb0ad21c919718baf2c257c3dd5de148..8fc78ff6cbc081eeda1a0dfdf8e54ceb2a351a95 100644 (file)
                                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";