1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/crypto/allwinner,sun4i-a10-crypto.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Allwinner A10 Security System Device Tree Bindings 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14c66ec88fSEmmanuel Vadot compatible: 15c66ec88fSEmmanuel Vadot oneOf: 16c66ec88fSEmmanuel Vadot - const: allwinner,sun4i-a10-crypto 17c66ec88fSEmmanuel Vadot - items: 18c66ec88fSEmmanuel Vadot - const: allwinner,sun5i-a13-crypto 19c66ec88fSEmmanuel Vadot - const: allwinner,sun4i-a10-crypto 20c66ec88fSEmmanuel Vadot - items: 21c66ec88fSEmmanuel Vadot - const: allwinner,sun6i-a31-crypto 22c66ec88fSEmmanuel Vadot - const: allwinner,sun4i-a10-crypto 23c66ec88fSEmmanuel Vadot - items: 24c66ec88fSEmmanuel Vadot - const: allwinner,sun7i-a20-crypto 25c66ec88fSEmmanuel Vadot - const: allwinner,sun4i-a10-crypto 266be33864SEmmanuel Vadot - const: allwinner,sun8i-a33-crypto 27c66ec88fSEmmanuel Vadot - items: 286be33864SEmmanuel Vadot - const: allwinner,sun8i-v3s-crypto 29c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-a33-crypto 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot reg: 32c66ec88fSEmmanuel Vadot maxItems: 1 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel Vadot interrupts: 35c66ec88fSEmmanuel Vadot maxItems: 1 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot clocks: 38c66ec88fSEmmanuel Vadot items: 39c66ec88fSEmmanuel Vadot - description: Bus Clock 40c66ec88fSEmmanuel Vadot - description: Module Clock 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot clock-names: 43c66ec88fSEmmanuel Vadot items: 44c66ec88fSEmmanuel Vadot - const: ahb 45c66ec88fSEmmanuel Vadot - const: mod 46c66ec88fSEmmanuel Vadot 47*e67e8565SEmmanuel Vadot dmas: 48*e67e8565SEmmanuel Vadot items: 49*e67e8565SEmmanuel Vadot - description: RX DMA Channel 50*e67e8565SEmmanuel Vadot - description: TX DMA Channel 51*e67e8565SEmmanuel Vadot 52*e67e8565SEmmanuel Vadot dma-names: 53*e67e8565SEmmanuel Vadot items: 54*e67e8565SEmmanuel Vadot - const: rx 55*e67e8565SEmmanuel Vadot - const: tx 56*e67e8565SEmmanuel Vadot 57c66ec88fSEmmanuel Vadot resets: 58c66ec88fSEmmanuel Vadot maxItems: 1 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadot reset-names: 61c66ec88fSEmmanuel Vadot const: ahb 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadotrequired: 64c66ec88fSEmmanuel Vadot - compatible 65c66ec88fSEmmanuel Vadot - reg 66c66ec88fSEmmanuel Vadot - interrupts 67c66ec88fSEmmanuel Vadot - clocks 68c66ec88fSEmmanuel Vadot - clock-names 69c66ec88fSEmmanuel Vadot 70c66ec88fSEmmanuel Vadotif: 71c66ec88fSEmmanuel Vadot properties: 72c66ec88fSEmmanuel Vadot compatible: 73c66ec88fSEmmanuel Vadot contains: 746be33864SEmmanuel Vadot enum: 756be33864SEmmanuel Vadot - allwinner,sun6i-a31-crypto 766be33864SEmmanuel Vadot - allwinner,sun8i-a33-crypto 77c66ec88fSEmmanuel Vadot 78c66ec88fSEmmanuel Vadotthen: 79c66ec88fSEmmanuel Vadot required: 80c66ec88fSEmmanuel Vadot - resets 81c66ec88fSEmmanuel Vadot - reset-names 82c66ec88fSEmmanuel Vadot 83c66ec88fSEmmanuel VadotadditionalProperties: false 84c66ec88fSEmmanuel Vadot 85c66ec88fSEmmanuel Vadotexamples: 86c66ec88fSEmmanuel Vadot - | 87c66ec88fSEmmanuel Vadot crypto: crypto-engine@1c15000 { 88c66ec88fSEmmanuel Vadot compatible = "allwinner,sun4i-a10-crypto"; 89c66ec88fSEmmanuel Vadot reg = <0x01c15000 0x1000>; 90c66ec88fSEmmanuel Vadot interrupts = <86>; 91c66ec88fSEmmanuel Vadot clocks = <&ahb_gates 5>, <&ss_clk>; 92c66ec88fSEmmanuel Vadot clock-names = "ahb", "mod"; 93c66ec88fSEmmanuel Vadot }; 94c66ec88fSEmmanuel Vadot 95c66ec88fSEmmanuel Vadot... 96