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 941fa159cefba2d2229ebcb2ccdbaa62467452ec..f1105bffa915672c2b8d1d65a362c8c0d64d0626 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 ffadcb563ada73e0a5ed0f9fcc7850823f6c58af..bb3d8266b5ceffc5a40090b018e75a1d8d9e7e54 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 0cbbac3295398edd034877e4adafe57a3102b356..02bee5fcbb9a65b2b40cd672b102cc6ddb4a64e4 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 7990e0d3d6f2d1078f13797bad752ca6da02651d..7f7574e5332371096699444ba4d0a8e929866e2c 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 ffd458fe3208ff6cd83094d29e1947165368ad40..e298efbb0f3e620db9a7579fbb810fe83273e01b 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 7b2ab8a8c1f480ff6b07a8307252248821a22606..33ff09d52e0554455e9008ee7884ca2ba9e715ce 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 0339825a0748a514bb097eac14855e6600574a58..08778221c194b126dd9f2df507576ba7217f5a7d 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>;