Browse Source

arm64: dts: ti: k3-j721e-main: Add the trng node

The trng node is part of sa2ul register space. Add
the node so the hardware random number generation
is enabled.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Keerthy 6 years ago
parent
commit
f0dd36df62
1 changed files with 10 additions and 0 deletions
  1. 10 0
      arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

+ 10 - 0
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

@@ -514,6 +514,9 @@
 		power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
 		clocks = <&k3_clks 264 0>, <&k3_clks 264 1>, <&k3_clks 264 2>;
 		clock-names = "x2_clk", "pka_in_clk", "x1_clk";
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges = <0x0 0x04E00000 0x00 0x04E00000 0x0 0x30000>;
 
 		status = "okay";
 		ti,psil-base = <0x4000>;
@@ -541,6 +544,13 @@
 			ti,needs-epib;
 			ti,psd-size = <64>;
 		};
+
+		main_eip76d_trng: trng@4e10000 {
+			compatible = "inside-secure,safexcel-eip76";
+			reg = <0x0 0x4e10000 0x0 0x7d>;
+			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&k3_clks 264 1>;
+		};
 	};
 
 	main_pmx0: pinmux@11c000 {