rockchip: dts: rv1126: modify rng & crypto node

The RNG driver is separate from the Crypto driver.

Change-Id: I51b39e337106988d5444246a53e46c27644effb0
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This commit is contained in:
Lin Jinhan 2021-01-29 16:56:47 +08:00 committed by Jianhong Chen
parent 395a594bd5
commit f54f4b43d9
2 changed files with 14 additions and 20 deletions

View File

@ -15,14 +15,6 @@
u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, &nandc, &emmc; u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, &nandc, &emmc;
}; };
crypto: crypto@ff500000 {
compatible = "rockchip,rv1126-crypto";
reg = <0xff500000 0x10000>;
clock-names = "sclk_crypto", "sclk_crypto_apk";
clocks = <&cru CLK_CRYPTO_CORE>, <&cru CLK_CRYPTO_PKA>;
clock-frequency = <200000000>, <300000000>;
};
secure_otp: secure_otp@0xff5d0000 { secure_otp: secure_otp@0xff5d0000 {
compatible = "rockchip,rv1126-secure-otp"; compatible = "rockchip,rv1126-secure-otp";
reg = <0xff5d0000 0x4000>; reg = <0xff5d0000 0x4000>;
@ -275,6 +267,11 @@
status = "okay"; status = "okay";
}; };
&rng {
u-boot,dm-spl;
status = "okay";
};
&clk_out_ethernetm1_pins{ &clk_out_ethernetm1_pins{
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
status = "okay"; status = "okay";

View File

@ -995,20 +995,17 @@
status = "disabled"; status = "disabled";
}; };
crypto: crypto@ff500000 {
compatible = "rockchip,rv1126-crypto";
reg = <0xff500000 0x10000>;
clock-names = "sclk_crypto", "sclk_crypto_apk";
clocks = <&cru CLK_CRYPTO_CORE>, <&cru CLK_CRYPTO_PKA>;
clock-frequency = <200000000>, <300000000>;
};
rng: rng@ff500000 { rng: rng@ff500000 {
compatible = "rockchip,cryptov2-rng"; compatible = "rockchip,cryptov2-rng";
reg = <0xff500000 0x4000>; reg = <0xff500000 0x2000>;
clocks = <&cru CLK_CRYPTO_CORE>, <&cru CLK_CRYPTO_PKA>,
<&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
clock-names = "clk_crypto", "clk_crypto_apk",
"aclk_crypto", "hclk_crypto";
assigned-clocks = <&cru CLK_CRYPTO_CORE>, <&cru CLK_CRYPTO_PKA>,
<&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>;
assigned-clock-rates = <150000000>, <150000000>,
<200000000>, <100000000>;
power-domains = <&power RV1126_PD_CRYPTO>;
resets = <&cru SRST_CRYPTO_CORE>;
reset-names = "reset";
status = "disabled"; status = "disabled";
}; };