Skip to content

Commit

Permalink
rockchip: px30: add support for HW RNG for Odroid Go Advance
Browse files Browse the repository at this point in the history
The Odroid Go Advance has a hardware random number generator present.
The device does not have an upstream Linux driver, but does have a
U-Boot driver. Add the appropriate node so that the hardware RNG can be
used in U-Boot.

Signed-off-by: Chris Morgan <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
  • Loading branch information
macromorgan authored and keveryang committed Dec 24, 2021
1 parent fe3dde3 commit b774be9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
serial2 = &uart2;
spi0 = &sfc;
};

rng: rng@ff0b0000 {
compatible = "rockchip,cryptov2-rng";
reg = <0x0 0xff0b0000 0x0 0x4000>;
status = "okay";
};
};

/* U-Boot clk driver for px30 cannot set GPU_CLK */
Expand Down

0 comments on commit b774be9

Please sign in to comment.