diff options
| author | Jonas Karlman <[email protected]> | 2024-02-17 00:22:36 +0000 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2024-03-14 11:40:48 +0800 |
| commit | 1bc79dce57af1ea5b56d0ea465c3bc596f7a6be1 (patch) | |
| tree | 99c1dd973292a4b7fd7491664777dbc381af23be /drivers | |
| parent | f41738d0f101fc07c79aea6093650ab2ed4bf8c4 (diff) | |
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 <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/rng/rockchip_rng.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/rng/rockchip_rng.c b/drivers/rng/rockchip_rng.c index ce390864262..2426648fbd5 100644 --- a/drivers/rng/rockchip_rng.c +++ b/drivers/rng/rockchip_rng.c @@ -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, }, { |
