ARM: dts: exynos: Add nodes for True Random Number Generator
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 12 Dec 2017 12:09:02 +0000 (13:09 +0100)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:16 +0000 (14:56 +0900)
Add nodes for the True Random Number Generator found in Samsung Exynos
5250+ SoCs.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5.dtsi
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/boot/dts/exynos5410.dtsi
arch/arm/boot/dts/exynos5420.dtsi

index 6cc5c37..b3c8428 100644 (file)
                      reg = <0x10830400 0x200>;
                };
 
+               trng: rng@10830600 {
+                     compatible = "samsung,exynos5250-trng";
+                     reg = <0x10830600 0x100>;
+               };
+
                g2d: g2d@10850000 {
                        compatible = "samsung,exynos5250-g2d";
                        reg = <0x10850000 0x1000>;
index a02d59d..5f78468 100644 (file)
        clock-names = "secss";
 };
 
+&trng {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 #include "exynos5250-pinctrl.dtsi"
index 7d6ae74..c4e0629 100644 (file)
                  3 0 0x07000000 0x20000>;
 };
 
+&trng {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &usbdrd3_0 {
        clocks = <&clock CLK_USBD300>;
        clock-names = "usbdrd30";
index 3611f5c..f7c2ba6 100644 (file)
        clock-names = "secss";
 };
 
+&trng {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &usbdrd3_0 {
        clocks = <&clock CLK_USBD300>;
        clock-names = "usbdrd30";