Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231134 > unrolled thread

[PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes

Started byChen-Yu Tsai <wens@csie.org>
First post2015-09-23 06:40 +0200
Last post2015-09-24 19:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes Chen-Yu Tsai <wens@csie.org> - 2015-09-23 06:40 +0200
    Re: [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine  clock and device nodes Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-24 19:30 +0200

#1231134 — [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes

FromChen-Yu Tsai <wens@csie.org>
Date2015-09-23 06:40 +0200
Subject[PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes
Message-ID<qbK0y-1OO-5@gated-at.bofh.it>
A33 has the same "Security System" crypto engine as A10/A20, but with a
separate reset control.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun8i-a33.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
index 3457edb3bf50..001d8402ca18 100644
--- a/arch/arm/boot/dts/sun8i-a33.dtsi
+++ b/arch/arm/boot/dts/sun8i-a33.dtsi
@@ -99,6 +99,14 @@
 					"ahb1_sat";
 		};
 
+		ss_clk: clk@01c2009c {
+			#clock-cells = <0>;
+			compatible = "allwinner,sun4i-a10-mod0-clk";
+			reg = <0x01c2009c 0x4>;
+			clocks = <&osc24M>, <&pll6 0>;
+			clock-output-names = "ss";
+		};
+
 		mbus_clk: clk@01c2015c {
 			#clock-cells = <0>;
 			compatible = "allwinner,sun8i-a23-mbus-clk";
@@ -109,6 +117,16 @@
 	};
 
 	soc@01c00000 {
+		crypto: crypto-engine@01c15000 {
+			compatible = "allwinner,sun4i-a10-crypto";
+			reg = <0x01c15000 0x1000>;
+			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ahb1_gates 5>, <&ss_clk>;
+			clock-names = "ahb", "mod";
+			resets = <&ahb1_rst 5>;
+			reset-names = "ahb";
+		};
+
 		usb_otg: usb@01c19000 {
 			compatible = "allwinner,sun8i-a33-musb";
 			reg = <0x01c19000 0x0400>;
-- 
2.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1232285 — Re: [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2015-09-24 19:30 +0200
SubjectRe: [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes
Message-ID<qcivh-1fu-29@gated-at.bofh.it>
In reply to#1231134

[Multipart message — attachments visible in raw view] — view raw

1;3803;0c
On Wed, Sep 23, 2015 at 12:34:39PM +0800, Chen-Yu Tsai wrote:
> A33 has the same "Security System" crypto engine as A10/A20, but with a
> separate reset control.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks!

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web