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

Rick Altherr raltherr at google.com
Wed Apr 5 07:53:29 AEST 2017


Signed-off-by: Rick Altherr <raltherr at google.com>
---

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

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 at 1e6e2078 {
+				compatible = "timeriomem_rng";
+				reg = <0x1e6e2078 0x4>;
+				period = <1>;
+			};
+
 			adc: adc at 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..4f29dcfcc134 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -1009,6 +1009,18 @@
 				reg = <0x1e6e202c 0x4>;
 			};
 
+			hwrng at 1e6e2078 {
+				compatible = "timeriomem_rng";
+				reg = <0x1e6e2078 0x4>;
+				period = <1>;
+			};
+
 			gfx: display at 1e6e6000 {
 				compatible = "aspeed,ast2500-gfx", "syscon";
 				reg = <0x1e6e6000 0x1000>;
-- 
2.12.2.715.g7642488e1d-goog



More information about the openbmc mailing list