diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-12-18 12:35:46 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-02-12 23:15:09 +0100 |
commit | eafd53d3154af57d31a1307d9be356fdcfe642b6 (patch) | |
tree | 4ce18ac4be2b2754cad55262f0daa3016e8e5f52 /arch/arm64 | |
parent | ARM64: dts: meson: uart: fix address space range (diff) | |
download | linux-eafd53d3154af57d31a1307d9be356fdcfe642b6.tar.xz linux-eafd53d3154af57d31a1307d9be356fdcfe642b6.zip |
ARM64: meson-axg: enable hardware rng
Enable the hardware random generator
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 70c776ef7aa7..994106d2da6e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -234,6 +234,13 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>; + hwrng: rng { + compatible = "amlogic,meson-rng"; + reg = <0x0 0x18 0x0 0x4>; + clocks = <&clkc CLKID_RNG0>; + clock-names = "core"; + }; + pinctrl_periphs: pinctrl@480 { compatible = "amlogic,meson-axg-periphs-pinctrl"; #address-cells = <2>; |