提交 a2adb1ae 编写于 作者: V Vakul Garg 提交者: Kumar Gala

powerpc/fsl: Add property for 'era' in SEC dts crypto node

The crypto node now contains a new property 'fsl,sec-era'.
This is required so that applications can retrieve era info without
having to be able to read SEC's register space.
Signed-off-by: NVakul Garg <vakul@freescale.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 e161d5aa
...@@ -148,6 +148,7 @@ ...@@ -148,6 +148,7 @@
crypto: crypto@300000 { crypto: crypto@300000 {
compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
fsl,sec-era = <3>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
crypto@30000 { crypto@30000 {
compatible = "fsl,sec-v4.4", "fsl,sec-v4.0"; compatible = "fsl,sec-v4.4", "fsl,sec-v4.0";
fsl,sec-era = <3>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x30000 0x10000>; ranges = <0x0 0x30000 0x10000>;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
crypto: crypto@300000 { crypto: crypto@300000 {
compatible = "fsl,sec-v4.0"; compatible = "fsl,sec-v4.0";
fsl,sec-era = <1>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x300000 0x10000>; reg = <0x300000 0x10000>;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
crypto: crypto@300000 { crypto: crypto@300000 {
compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
fsl,sec-era = <3>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x300000 0x10000>; reg = <0x300000 0x10000>;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
crypto: crypto@300000 { crypto: crypto@300000 {
compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
fsl,sec-era = <5>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x300000 0x10000>; reg = <0x300000 0x10000>;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
crypto: crypto@300000 { crypto: crypto@300000 {
compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0"; compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0";
fsl,sec-era = <5>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x300000 0x10000>; reg = <0x300000 0x10000>;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
crypto: crypto@300000 { crypto: crypto@300000 {
compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0"; compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0";
fsl,sec-era = <4>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x300000 0x10000>; reg = <0x300000 0x10000>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册