]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: exynos: Add DT nodes for PRNG in Exynos5 SoCs
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 11 Dec 2017 08:54:15 +0000 (09:54 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 11 Dec 2017 18:43:12 +0000 (19:43 +0100)
Add nodes for Pseudo Random Number Generator in dts files describing
Exynos5 chips.

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 3472245894510c4954af8e791942892720352afa..6cc5c37a9b2a60c37d4617163b28c942eda2404b 100644 (file)
                        interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               prng: rng@10830400 {
+                     compatible = "samsung,exynos5250-prng";
+                     reg = <0x10830400 0x200>;
+               };
+
                g2d: g2d@10850000 {
                        compatible = "samsung,exynos5250-g2d";
                        reg = <0x10850000 0x1000>;
index 232d8801d9e01b66f4cc55eec484edfcb02bea18..e55748798845efcac1ce10ee8c097a932acbdacd 100644 (file)
        pinctrl-0 = <&i2c3_bus>;
 };
 
+&prng {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &pwm {
        clocks = <&clock CLK_PWM>;
        clock-names = "timers";
index 7b34970e6ac72515366b680dce0d0b5e825e80a6..f5541000606bbb0a4eb3f859df468de9e58ea70a 100644 (file)
        clock-names = "fin_pll", "mct";
 };
 
+&prng {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &pwm {
        clocks = <&clock CLK_PWM>;
        clock-names = "timers";
index a44aec34850213f7cd4258102f9e7e960342a92e..3611f5c05235b8b0db6ea0e0e954c1f17ef7b0d2 100644 (file)
        clock-names = "fin_pll", "mct";
 };
 
+&prng {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &pwm {
        clocks = <&clock CLK_PWM>;
        clock-names = "timers";