ARM: dts: sun8i: v3s: Enable crypto engine
Subsystems (3)
v3 cover ARM: dts: sun8i: v3s: Enable crypto engine
Add support for crypto engine (sun4i-ss) for Allwinner V3s. Functionality like A33 so add only compatible and enable in device tree.
Regards.
Changes since v2:
- reduced to device tree only with A33 compatibility
Changes since v1:
- splitting to patch series
martin Cerveny (2):
dt-bindings: crypto: Add compatible for V3s
ARM: dts: sun8i: v3s: Enable crypto engine
.../bindings/crypto/allwinner,sun4i-a10-crypto.yaml | 3 +++ arch/arm/boot/dts/sun8i-v3s.dtsi | 11 +++++++++++ 2 files changed, 14 insertions(+)
Signature · 1 line
2.17.1
PATCH v3 1/2 dt-bindings: crypto: Add compatible for V3s
Allwinner V3s has crypto engine similar to that in A33. So add compatible.
--- .../devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml +3 -0
@@ -25,6 +25,9 @@ properties: - const: allwinner,sun4i-a10-crypto - items: - const: allwinner,sun8i-a33-crypto + - items: + - const: allwinner,sun8i-v3s-crypto + - const: allwinner,sun8i-a33-crypto reg: maxItems: 1
Signature · 1 line
2.17.1
PATCH v3 2/2 ARM: dts: sun8i: v3s: Enable crypto engine
In reply to Martin CervenyV3s contains crypto engine that is compatible with A33. Add device tree node.
--- arch/arm/boot/dts/sun8i-v3s.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/sun8i-v3s.dtsi +11 -0
@@ -234,6 +234,17 @@ #size-cells = <0>; }; + crypto@1c15000 { + compatible = "allwinner,sun8i-v3s-crypto", + "allwinner,sun8i-a33-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>;
Signature · 1 line
2.17.1
Maxime Ripard
AppliedQuoted 5 lines · Martin Cerveny
Add support for crypto engine (sun4i-ss) for Allwinner V3s. Functionality like A33 so add only compatible and enable in device tree.
Regards.
Applied, thanks
Maxime