diff --git a/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi b/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi index 5e3e3d2d06b4..b82a4242e683 100644 --- a/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesonaxg.dtsi @@ -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 */ + diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 200dab5136a7..bc60803bf425 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -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