* [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes
@ 2015-09-23 4:34 Chen-Yu Tsai
2015-09-24 17:22 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Chen-Yu Tsai @ 2015-09-23 4:34 UTC (permalink / raw)
To: linux-arm-kernel
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 at 01c2009c {
+ #clock-cells = <0>;
+ compatible = "allwinner,sun4i-a10-mod0-clk";
+ reg = <0x01c2009c 0x4>;
+ clocks = <&osc24M>, <&pll6 0>;
+ clock-output-names = "ss";
+ };
+
mbus_clk: clk at 01c2015c {
#clock-cells = <0>;
compatible = "allwinner,sun8i-a23-mbus-clk";
@@ -109,6 +117,16 @@
};
soc at 01c00000 {
+ crypto: crypto-engine at 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 at 01c19000 {
compatible = "allwinner,sun8i-a33-musb";
reg = <0x01c19000 0x0400>;
--
2.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes
2015-09-23 4:34 [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes Chen-Yu Tsai
@ 2015-09-24 17:22 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2015-09-24 17:22 UTC (permalink / raw)
To: linux-arm-kernel
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150924/69968290/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-24 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 4:34 [PATCH] ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes Chen-Yu Tsai
2015-09-24 17:22 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox