From 6b85c20d46812bdbc062b863261c3e5100e30556 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 8 May 2018 08:14:56 +0200 Subject: dts: update to v4.17-rc1 Signed-off-by: Sascha Hauer --- dts/Bindings/rng/imx-rng.txt | 20 ++++++++++++++++++++ dts/Bindings/rng/imx-rngc.txt | 21 --------------------- dts/Bindings/rng/ks-sa-rng.txt | 21 +++++++++++++++++++++ dts/Bindings/rng/omap_rng.txt | 7 ++++++- dts/Bindings/rng/st,stm32-rng.txt | 4 ++++ 5 files changed, 51 insertions(+), 22 deletions(-) create mode 100644 dts/Bindings/rng/imx-rng.txt delete mode 100644 dts/Bindings/rng/imx-rngc.txt create mode 100644 dts/Bindings/rng/ks-sa-rng.txt (limited to 'dts/Bindings/rng') diff --git a/dts/Bindings/rng/imx-rng.txt b/dts/Bindings/rng/imx-rng.txt new file mode 100644 index 0000000000..405c2b00cc --- /dev/null +++ b/dts/Bindings/rng/imx-rng.txt @@ -0,0 +1,20 @@ +Freescale RNGA/RNGB/RNGC (Random Number Generator Versions A, B and C) + +Required properties: +- compatible : should be one of + "fsl,imx21-rnga" + "fsl,imx31-rnga" (backward compatible with "fsl,imx21-rnga") + "fsl,imx25-rngb" + "fsl,imx35-rngc" +- reg : offset and length of the register set of this block +- interrupts : the interrupt number for the RNG block +- clocks : the RNG clk source + +Example: + +rng@53fb0000 { + compatible = "fsl,imx25-rngb"; + reg = <0x53fb0000 0x4000>; + interrupts = <22>; + clocks = <&trng_clk>; +}; diff --git a/dts/Bindings/rng/imx-rngc.txt b/dts/Bindings/rng/imx-rngc.txt deleted file mode 100644 index 93c7174a7b..0000000000 --- a/dts/Bindings/rng/imx-rngc.txt +++ /dev/null @@ -1,21 +0,0 @@ -Freescale RNGC (Random Number Generator Version C) - -The driver also supports version B, which is mostly compatible -to version C. - -Required properties: -- compatible : should be one of - "fsl,imx25-rngb" - "fsl,imx35-rngc" -- reg : offset and length of the register set of this block -- interrupts : the interrupt number for the RNGC block -- clocks : the RNGC clk source - -Example: - -rng@53fb0000 { - compatible = "fsl,imx25-rngb"; - reg = <0x53fb0000 0x4000>; - interrupts = <22>; - clocks = <&trng_clk>; -}; diff --git a/dts/Bindings/rng/ks-sa-rng.txt b/dts/Bindings/rng/ks-sa-rng.txt new file mode 100644 index 0000000000..b7a65b4879 --- /dev/null +++ b/dts/Bindings/rng/ks-sa-rng.txt @@ -0,0 +1,21 @@ +Keystone SoC Hardware Random Number Generator(HWRNG) Module + +On Keystone SoCs HWRNG module is a submodule of the Security Accelerator. + +- compatible: should be "ti,keystone-rng" +- ti,syscon-sa-cfg: phandle to syscon node of the SA configuration registers. + This registers are shared between hwrng and crypto drivers. +- clocks: phandle to the reference clocks for the subsystem +- clock-names: functional clock name. Should be set to "fck" +- reg: HWRNG module register space + +Example: +/* K2HK */ + +rng@24000 { + compatible = "ti,keystone-rng"; + ti,syscon-sa-cfg = <&sa_config>; + clocks = <&clksa>; + clock-names = "fck"; + reg = <0x24000 0x1000>; +}; diff --git a/dts/Bindings/rng/omap_rng.txt b/dts/Bindings/rng/omap_rng.txt index 9cf7876ab4..ea434ce50f 100644 --- a/dts/Bindings/rng/omap_rng.txt +++ b/dts/Bindings/rng/omap_rng.txt @@ -13,7 +13,12 @@ Required properties: - interrupts : the interrupt number for the RNG module. Used for "ti,omap4-rng" and "inside-secure,safexcel-eip76" - clocks: the trng clock source. Only mandatory for the - "inside-secure,safexcel-eip76" compatible. + "inside-secure,safexcel-eip76" compatible, the second clock is + needed for the Armada 7K/8K SoCs +- clock-names: mandatory if there is a second clock, in this case the + name must be "core" for the first clock and "reg" for the second + one + Example: /* AM335x */ diff --git a/dts/Bindings/rng/st,stm32-rng.txt b/dts/Bindings/rng/st,stm32-rng.txt index 47f04176f9..1dfa7d51e0 100644 --- a/dts/Bindings/rng/st,stm32-rng.txt +++ b/dts/Bindings/rng/st,stm32-rng.txt @@ -11,6 +11,10 @@ Required properties: - interrupts : The designated IRQ line for the RNG - clocks : The clock needed to enable the RNG +Optional properties: +- resets : The reset to properly start RNG +- clock-error-detect : Enable the clock detection management + Example: rng: rng@50060800 { -- cgit v1.2.3