Commit e6ae03c4 authored by Duc Dang's avatar Duc Dang

arm64: dts: Add RNG device tree nodes for APM X-Gene v2 platform

This patch adds device tree nodes to enable driver for True Random
Number Generator (TRNG) on APM X-Gene v2 platforms.
Signed-off-by: default avatarDuc Dang <dhdang@apm.com>
parent b0e7a85a
...@@ -199,6 +199,19 @@ xge1clk: xge1clk@1f62c000 { ...@@ -199,6 +199,19 @@ xge1clk: xge1clk@1f62c000 {
csr-mask = <0x3>; csr-mask = <0x3>;
clock-output-names = "xge1clk"; clock-output-names = "xge1clk";
}; };
rngpkaclk: rngpkaclk@17000000 {
compatible = "apm,xgene-device-clock";
#clock-cells = <1>;
clocks = <&socplldiv2 0>;
reg = <0x0 0x17000000 0x0 0x2000>;
reg-names = "csr-reg";
csr-offset = <0xc>;
csr-mask = <0x10>;
enable-offset = <0x10>;
enable-mask = <0x10>;
clock-output-names = "rngpkaclk";
};
}; };
scu: system-clk-controller@17000000 { scu: system-clk-controller@17000000 {
...@@ -306,5 +319,12 @@ xgenet1: ethernet@1f620000 { ...@@ -306,5 +319,12 @@ xgenet1: ethernet@1f620000 {
local-mac-address = [00 01 73 00 00 02]; local-mac-address = [00 01 73 00 00 02];
phy-connection-type = "xgmii"; phy-connection-type = "xgmii";
}; };
rng: rng@10520000 {
compatible = "apm,xgene-rng";
reg = <0x0 0x10520000 0x0 0x100>;
interrupts = <0x0 0x41 0x4>;
clocks = <&rngpkaclk 0>;
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment