From 967520800a8aa45003c1899157309dddbd0317b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 31 Mar 2023 17:49:58 +0200 Subject: bmips: bcm6362/bcm63268: enable HW RNG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target/linux/bmips/dts/bcm63268.dtsi | 12 ++++++++++++ target/linux/bmips/dts/bcm6362.dtsi | 12 ++++++++++++ 2 files changed, 24 insertions(+) (limited to 'target/linux/bmips/dts') 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>, -- cgit v1.2.3