191-dt-sun4i-add-ss-to-a10.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 56ba8c5814a859dd94667643a3bc22984efd1521 Mon Sep 17 00:00:00 2001
  2. From: LABBE Corentin <clabbe.montjoie@gmail.com>
  3. Date: Fri, 17 Jul 2015 16:39:38 +0200
  4. Subject: [PATCH] ARM: sun4i: dt: Add Security System to A10 SoC DTS
  5. The Security System is a hardware cryptographic accelerator that support
  6. AES/MD5/SHA1/DES/3DES/PRNG algorithms.
  7. It could be found on many Allwinner SoC.
  8. This patch enable the Security System on the Allwinner A10 SoC Device-tree.
  9. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
  10. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  11. ---
  12. arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++++++++
  13. 1 file changed, 8 insertions(+)
  14. --- a/arch/arm/boot/dts/sun4i-a10.dtsi
  15. +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
  16. @@ -591,6 +591,14 @@
  17. status = "disabled";
  18. };
  19. + crypto: crypto-engine@01c15000 {
  20. + compatible = "allwinner,sun4i-a10-crypto";
  21. + reg = <0x01c15000 0x1000>;
  22. + interrupts = <86>;
  23. + clocks = <&ahb_gates 5>, <&ss_clk>;
  24. + clock-names = "ahb", "mod";
  25. + };
  26. +
  27. spi2: spi@01c17000 {
  28. compatible = "allwinner,sun4i-a10-spi";
  29. reg = <0x01c17000 0x1000>;