2020-08-31 07:33:04

by Martin Cerveny

[permalink] [raw]
Subject: [PATCH v2 2/3] ARM: dts: sun8i: v3s: Enable crypto engine

V3s contains crypto engine that is compatible with "sun4i-ss".

Tested-by: Martin Cerveny <[email protected]>
Signed-off-by: Martin Cerveny <[email protected]>
---
arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
index e5312869c..4fec84c40 100644
--- a/arch/arm/boot/dts/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
@@ -234,6 +234,16 @@
#size-cells = <0>;
};

+ crypto: crypto@1c15000 {
+ compatible = "allwinner,sun8i-v3s-crypto";
+ reg = <0x01c15000 0x1000>;
+ interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>;
+ clock-names = "ahb", "mod";
+ resets = <&ccu RST_BUS_CE>;
+ reset-names = "ahb";
+ };
+
usb_otg: usb@1c19000 {
compatible = "allwinner,sun8i-h3-musb";
reg = <0x01c19000 0x0400>;
--
2.17.1


2020-09-01 09:34:22

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] ARM: dts: sun8i: v3s: Enable crypto engine

On Mon, Aug 31, 2020 at 09:31:00AM +0200, Martin Cerveny wrote:
> V3s contains crypto engine that is compatible with "sun4i-ss".
>
> Tested-by: Martin Cerveny <[email protected]>
> Signed-off-by: Martin Cerveny <[email protected]>
> ---
> arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
> index e5312869c..4fec84c40 100644
> --- a/arch/arm/boot/dts/sun8i-v3s.dtsi
> +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
> @@ -234,6 +234,16 @@
> #size-cells = <0>;
> };
>
> + crypto: crypto@1c15000 {

Do you really need a label here?

Maxime


Attachments:
(No filename) (694.00 B)
signature.asc (235.00 B)
Download all attachments