powerpc/fsl: Add property for 'era' in SEC dts crypto node
authorVakul Garg <vakul@freescale.com>
Thu, 11 Apr 2013 03:45:23 +0000 (09:15 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 11 Apr 2013 13:26:20 +0000 (08:26 -0500)
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: Vakul Garg <vakul@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/fsl/p1023si-post.dtsi
arch/powerpc/boot/dts/fsl/pq3-sec4.4-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-sec4.0-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-sec4.2-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-sec5.0-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-sec5.2-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-sec5.3-0.dtsi

index 941fa15..f1105bf 100644 (file)
 
        crypto: crypto@300000 {
                compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
+               fsl,sec-era = <3>;
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x30000 0x10000>;
index ffadcb5..bb3d826 100644 (file)
@@ -34,6 +34,7 @@
 
 crypto@30000 {
        compatible = "fsl,sec-v4.4", "fsl,sec-v4.0";
+       fsl,sec-era = <3>;
        #address-cells = <1>;
        #size-cells = <1>;
        ranges           = <0x0 0x30000 0x10000>;
index 0cbbac3..02bee5f 100644 (file)
@@ -34,6 +34,7 @@
 
 crypto: crypto@300000 {
        compatible = "fsl,sec-v4.0";
+       fsl,sec-era = <1>;
        #address-cells = <1>;
        #size-cells = <1>;
        reg = <0x300000 0x10000>;
index 7990e0d..7f7574e 100644 (file)
@@ -34,6 +34,7 @@
 
 crypto: crypto@300000 {
        compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
+       fsl,sec-era = <3>;
        #address-cells = <1>;
        #size-cells = <1>;
        reg              = <0x300000 0x10000>;
index ffd458f..e298efb 100644 (file)
@@ -34,6 +34,7 @@
 
 crypto: crypto@300000 {
        compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
+       fsl,sec-era = <5>;
        #address-cells = <1>;
        #size-cells = <1>;
        reg              = <0x300000 0x10000>;
index 7b2ab8a..33ff09d 100644 (file)
@@ -34,6 +34,7 @@
 
 crypto: crypto@300000 {
        compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0";
+       fsl,sec-era = <5>;
        #address-cells = <1>;
        #size-cells = <1>;
        reg              = <0x300000 0x10000>;
index 0339825..0877822 100644 (file)
@@ -34,6 +34,7 @@
 
 crypto: crypto@300000 {
        compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0";
+       fsl,sec-era = <4>;
        #address-cells = <1>;
        #size-cells = <1>;
        reg              = <0x300000 0x10000>;