IPQ40xx: Add PRNG support
Since we now have the driver for Qualcomm PRNG HW, lets use it and add the necessary clocks and nodes. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr>
This commit is contained in:
parent
033ec636fc
commit
cfec8d36ce
@ -60,6 +60,13 @@
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
|
||||
rng: rng@22000 {
|
||||
compatible = "qcom,prng";
|
||||
reg = <0x22000 0x140>;
|
||||
clocks = <&gcc GCC_PRNG_AHB_CLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
reset: gcc-reset@1800000 {
|
||||
compatible = "qcom,gcc-reset-ipq4019";
|
||||
reg = <0x1800000 0x60000>;
|
||||
|
@ -54,6 +54,10 @@ static int msm_enable(struct clk *clk)
|
||||
/* This clock is already initialized by SBL1 */
|
||||
return 0;
|
||||
break;
|
||||
case GCC_PRNG_AHB_CLK: /*PRNG*/
|
||||
/* This clock is already initialized by SBL1 */
|
||||
return 0;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user