Jelajahi Sumber

arm64: dts: Add IPROC RNG200 DT node for NS2

We have IPROC RNG200 hardware random number generation in
NS2 SoC, lets enable it for NS2 in NS2 DT.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Pramod KUMAR <pramodku@broadcom.com>
Reviewed-by: Vikram Prakash <vikramp@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Anup Patel 10 tahun lalu
induk
melakukan
e8a6e265f5
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      arch/arm64/boot/dts/broadcom/ns2.dtsi

+ 5 - 0
arch/arm64/boot/dts/broadcom/ns2.dtsi

@@ -187,5 +187,10 @@
 			clock-frequency = <23961600>;
 			status = "disabled";
 		};
+
+		hwrng: hwrng@66220000 {
+			compatible = "brcm,iproc-rng200";
+			reg = <0x66220000 0x28>;
+		};
 	};
 };