Merge "ARM: dts: msm: Enable QRNG driver for lahaina"

This commit is contained in:
qctecmdr 2019-12-20 11:39:32 -08:00 • committed by Gerrit - the friendly Code Review server
commit 06692b39bd
2 changed files with 28 additions and 0 deletions

18
bindings/prng/msm-rng.txt Normal file
View file

@ -0,0 +1,18 @@
* RNG (Random Number Generator)
Required properties:
- compatible : Should be "qcom,msm-rng"
- reg : Offset and length of the register set for the device
Optional property:
- qcom,msm-rng-iface-clk : If the device uses iface-clk.
- qcom,no-qrng-config : Flag to decide whether the driver do the hardware configuration or not.
Example:
qcom,msm-rng@f9bff000 {
compatible = "qcom,msm-rng";
reg = <0xf9bff000 0x200>;
qcom,msm-rng-iface-clk;
qcom,no-qrng-config;
};

View file

@ -2621,6 +2621,16 @@
clock-names = "eud_ahb2phy_clk";
status = "ok"
};
qcom_rng: qrng@10d3000 {
compatible = "qcom,msm-rng";
reg = <0x10d3000 0x1000>;
qcom,no-qrng-config;
interconnect-names = "data_path";
interconnects = <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_HWKM>;
clock-names = "km_clk_src";
clocks = <&clock_rpmh RPMH_HWKM_CLK>;
};
};
#include "lahaina-regulators.dtsi"