mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 14:25:56 +00:00
rng: rockchip: Use same compatible as linux
Replace the rockchip,cryptov1-rng compatible with compatibles used in the linux device tree for RK3288, RK3328 and RK3399 to ease sync of SoC device tree from linux. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
f41738d0f1
commit
1bc79dce57
3 changed files with 11 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
};
|
||||
|
||||
rng: rng@ff060000 {
|
||||
compatible = "rockchip,cryptov1-rng";
|
||||
compatible = "rockchip,rk3328-crypto";
|
||||
reg = <0x0 0xff060000 0x0 0x4000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
};
|
||||
|
||||
rng: rng@ff8b8000 {
|
||||
compatible = "rockchip,cryptov1-rng";
|
||||
compatible = "rockchip,rk3399-crypto";
|
||||
reg = <0x0 0xff8b8000 0x0 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -301,7 +301,15 @@ static const struct dm_rng_ops rockchip_rng_ops = {
|
|||
|
||||
static const struct udevice_id rockchip_rng_match[] = {
|
||||
{
|
||||
.compatible = "rockchip,cryptov1-rng",
|
||||
.compatible = "rockchip,rk3288-crypto",
|
||||
.data = (ulong)&rk_cryptov1_soc_data,
|
||||
},
|
||||
{
|
||||
.compatible = "rockchip,rk3328-crypto",
|
||||
.data = (ulong)&rk_cryptov1_soc_data,
|
||||
},
|
||||
{
|
||||
.compatible = "rockchip,rk3399-crypto",
|
||||
.data = (ulong)&rk_cryptov1_soc_data,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue