aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2023-03-31 17:49:58 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2023-03-31 17:52:03 +0200
commit967520800a8aa45003c1899157309dddbd0317b5 (patch)
tree03b664fc6fe98c22e2234a077d415b5f44ab759d /target/linux
parent75e78bcaab847557ce1782eb2dea9dff9a029171 (diff)
downloadupstream-967520800a8aa45003c1899157309dddbd0317b5.tar.gz
upstream-967520800a8aa45003c1899157309dddbd0317b5.tar.bz2
upstream-967520800a8aa45003c1899157309dddbd0317b5.zip
bmips: bcm6362/bcm63268: enable HW RNG
This enables the HW Random Number Generator on the BCM6362 and BCM63268 SoCs, which is the same one used on BCM6368 SoC. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/bmips/dts/bcm63268.dtsi12
-rw-r--r--target/linux/bmips/dts/bcm6362.dtsi12
2 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/bmips/dts/bcm63268.dtsi b/target/linux/bmips/dts/bcm63268.dtsi
index 665b1bfecf..e30cdd862f 100644
--- a/target/linux/bmips/dts/bcm63268.dtsi
+++ b/target/linux/bmips/dts/bcm63268.dtsi
@@ -443,6 +443,18 @@
status = "disabled";
};
+ random: rng@10002880 {
+ compatible = "brcm,bcm6368-rng";
+ reg = <0x10002880 0x14>;
+
+ clocks = <&periph_clk BCM63268_CLK_IPSEC>;
+ clock-names = "ipsec";
+
+ resets = <&periph_rst BCM63268_RST_IPSEC>;
+
+ power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_IPSEC>;
+ };
+
ethernet: ethernet@1000d800 {
compatible = "brcm,bcm63268-enetsw";
reg = <0x1000d800 0x80>,
diff --git a/target/linux/bmips/dts/bcm6362.dtsi b/target/linux/bmips/dts/bcm6362.dtsi
index 4f1d23e001..d7fff43c44 100644
--- a/target/linux/bmips/dts/bcm6362.dtsi
+++ b/target/linux/bmips/dts/bcm6362.dtsi
@@ -476,6 +476,18 @@
status = "disabled";
};
+ random: rng@10002880 {
+ compatible = "brcm,bcm6368-rng";
+ reg = <0x10002880 0x14>;
+
+ clocks = <&periph_clk BCM6362_CLK_IPSEC>;
+ clock-names = "ipsec";
+
+ resets = <&periph_rst BCM6362_RST_IPSEC>;
+
+ power-domains = <&periph_pwr BCM6362_POWER_DOMAIN_IPSEC>;
+ };
+
ethernet: ethernet@1000d800 {
compatible = "brcm,bcm6362-enetsw";
reg = <0x1000d800 0x80>,