Skip to content

Commit

Permalink
powerpc/fsl: Add property for 'era' in SEC dts crypto node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vakul Garg authored and Kumar Gala committed Apr 11, 2013
1 parent e161d5a commit a2adb1a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/p1023si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@

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>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/pq3-sec4.4-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-sec4.0-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-sec4.2-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-sec5.0-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-sec5.2-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-sec5.3-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit a2adb1a

Please sign in to comment.