rng: enable hw random generator for meson AXG

PD#157034: enable hw random generator for meson AXG

Change-Id: Ie72368b25a1d028627d4212d31b49da33be3185f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
This commit is contained in:
Jiamin Ma
2017-12-15 20:42:07 +08:00
committed by Jianxin Pan
parent abdb7453fb
commit 231ce0586c
2 changed files with 10 additions and 1 deletions

View File

@@ -176,6 +176,15 @@
storage_get_enctype = <0x8200006B>;
storage_version = <0x8200006C>;
};
rng {
compatible = "amlogic,meson-rng";
status = "okay";
#address-cells = <2>;
#size-cells = <2>;
reg = <0x0 0xff634500 0x0 0x4>;
};
mailbox: mhu@c883c400 {
compatible = "amlogic, meson_mhu";
reg = <0x0 0xff63c400 0x0 0x4c>, /* MHU registers */
@@ -1090,3 +1099,4 @@
};
}; /* end of pinctrl_periphs */

View File

@@ -399,7 +399,6 @@ config HW_RANDOM_PIC32
config HW_RANDOM_MESON
tristate "Amlogic Meson Random Number Generator support"
depends on HW_RANDOM
depends on ARCH_MESON || COMPILE_TEST
default y
---help---
This driver provides kernel-side support for the Random Number