[RESEND,linux,dev-4.7,v1] dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5

Message ID 20170405161611.22659-1-raltherr@google.com
State Accepted, archived
Headers show

Commit Message

Rick Altherr April 5, 2017, 4:16 p.m.
Signed-off-by: Rick Altherr <raltherr@google.com>
---

 arch/arm/boot/dts/aspeed-g4.dtsi | 6 ++++++
 arch/arm/boot/dts/aspeed-g5.dtsi | 6 ++++++
 2 files changed, 12 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index e5be87076a6b..ee735e92c3d9 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -840,6 +840,12 @@ 
 				reg = <0x1e6e202c 0x4>;
 			};
 
+			hwrng@1e6e2078 {
+				compatible = "timeriomem_rng";
+				reg = <0x1e6e2078 0x4>;
+				period = <1>;
+			};
+
 			adc: adc@1e6e9000 {
 				compatible = "aspeed,ast2400-adc";
 				reg = <0x1e6e9000 0xB0>;
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 48fd068251d6..df2712caa36d 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -1009,6 +1009,12 @@ 
 				reg = <0x1e6e202c 0x4>;
 			};
 
+			hwrng@1e6e2078 {
+				compatible = "timeriomem_rng";
+				reg = <0x1e6e2078 0x4>;
+				period = <1>;
+			};
+
 			gfx: display@1e6e6000 {
 				compatible = "aspeed,ast2500-gfx", "syscon";
 				reg = <0x1e6e6000 0x1000>;