xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/hisilicon,hip06-sec.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/crypto/hisilicon,hip06-sec.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Hisilicon hip06/hip07 Security Accelerator
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Jonathan Cameron <Jonathan.Cameron@huawei.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotproperties:
13*ae5de77eSEmmanuel Vadot  compatible:
14*ae5de77eSEmmanuel Vadot    enum:
15*ae5de77eSEmmanuel Vadot      - hisilicon,hip06-sec
16*ae5de77eSEmmanuel Vadot      - hisilicon,hip07-sec
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel Vadot  reg:
19*ae5de77eSEmmanuel Vadot    items:
20*ae5de77eSEmmanuel Vadot      - description: Registers for backend processing engines
21*ae5de77eSEmmanuel Vadot      - description: Registers for common functionality
22*ae5de77eSEmmanuel Vadot      - description: Registers for queue 0
23*ae5de77eSEmmanuel Vadot      - description: Registers for queue 1
24*ae5de77eSEmmanuel Vadot      - description: Registers for queue 2
25*ae5de77eSEmmanuel Vadot      - description: Registers for queue 3
26*ae5de77eSEmmanuel Vadot      - description: Registers for queue 4
27*ae5de77eSEmmanuel Vadot      - description: Registers for queue 5
28*ae5de77eSEmmanuel Vadot      - description: Registers for queue 6
29*ae5de77eSEmmanuel Vadot      - description: Registers for queue 7
30*ae5de77eSEmmanuel Vadot      - description: Registers for queue 8
31*ae5de77eSEmmanuel Vadot      - description: Registers for queue 9
32*ae5de77eSEmmanuel Vadot      - description: Registers for queue 10
33*ae5de77eSEmmanuel Vadot      - description: Registers for queue 11
34*ae5de77eSEmmanuel Vadot      - description: Registers for queue 12
35*ae5de77eSEmmanuel Vadot      - description: Registers for queue 13
36*ae5de77eSEmmanuel Vadot      - description: Registers for queue 14
37*ae5de77eSEmmanuel Vadot      - description: Registers for queue 15
38*ae5de77eSEmmanuel Vadot
39*ae5de77eSEmmanuel Vadot  interrupts:
40*ae5de77eSEmmanuel Vadot    items:
41*ae5de77eSEmmanuel Vadot      - description: SEC unit error queue interrupt
42*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 0
43*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 0
44*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 1
45*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 1
46*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 2
47*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 2
48*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 3
49*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 3
50*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 4
51*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 4
52*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 5
53*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 5
54*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 6
55*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 6
56*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 7
57*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 7
58*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 8
59*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 8
60*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 9
61*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 9
62*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 10
63*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 10
64*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 11
65*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 11
66*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 12
67*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 12
68*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 13
69*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 13
70*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 14
71*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 14
72*ae5de77eSEmmanuel Vadot      - description: Completion interrupt for queue 15
73*ae5de77eSEmmanuel Vadot      - description: Error interrupt for queue 15
74*ae5de77eSEmmanuel Vadot
75*ae5de77eSEmmanuel Vadot  dma-coherent: true
76*ae5de77eSEmmanuel Vadot
77*ae5de77eSEmmanuel Vadot  iommus:
78*ae5de77eSEmmanuel Vadot    maxItems: 1
79*ae5de77eSEmmanuel Vadot
80*ae5de77eSEmmanuel Vadotrequired:
81*ae5de77eSEmmanuel Vadot  - compatible
82*ae5de77eSEmmanuel Vadot  - reg
83*ae5de77eSEmmanuel Vadot  - interrupts
84*ae5de77eSEmmanuel Vadot  - dma-coherent
85*ae5de77eSEmmanuel Vadot
86*ae5de77eSEmmanuel VadotadditionalProperties: false
87*ae5de77eSEmmanuel Vadot
88*ae5de77eSEmmanuel Vadotexamples:
89*ae5de77eSEmmanuel Vadot  - |
90*ae5de77eSEmmanuel Vadot    bus {
91*ae5de77eSEmmanuel Vadot        #address-cells = <2>;
92*ae5de77eSEmmanuel Vadot        #size-cells = <2>;
93*ae5de77eSEmmanuel Vadot
94*ae5de77eSEmmanuel Vadot        crypto@400d2000000 {
95*ae5de77eSEmmanuel Vadot            compatible = "hisilicon,hip07-sec";
96*ae5de77eSEmmanuel Vadot            reg = <0x400 0xd0000000 0x0 0x10000
97*ae5de77eSEmmanuel Vadot                  0x400 0xd2000000 0x0 0x10000
98*ae5de77eSEmmanuel Vadot                  0x400 0xd2010000 0x0 0x10000
99*ae5de77eSEmmanuel Vadot                  0x400 0xd2020000 0x0 0x10000
100*ae5de77eSEmmanuel Vadot                  0x400 0xd2030000 0x0 0x10000
101*ae5de77eSEmmanuel Vadot                  0x400 0xd2040000 0x0 0x10000
102*ae5de77eSEmmanuel Vadot                  0x400 0xd2050000 0x0 0x10000
103*ae5de77eSEmmanuel Vadot                  0x400 0xd2060000 0x0 0x10000
104*ae5de77eSEmmanuel Vadot                  0x400 0xd2070000 0x0 0x10000
105*ae5de77eSEmmanuel Vadot                  0x400 0xd2080000 0x0 0x10000
106*ae5de77eSEmmanuel Vadot                  0x400 0xd2090000 0x0 0x10000
107*ae5de77eSEmmanuel Vadot                  0x400 0xd20a0000 0x0 0x10000
108*ae5de77eSEmmanuel Vadot                  0x400 0xd20b0000 0x0 0x10000
109*ae5de77eSEmmanuel Vadot                  0x400 0xd20c0000 0x0 0x10000
110*ae5de77eSEmmanuel Vadot                  0x400 0xd20d0000 0x0 0x10000
111*ae5de77eSEmmanuel Vadot                  0x400 0xd20e0000 0x0 0x10000
112*ae5de77eSEmmanuel Vadot                  0x400 0xd20f0000 0x0 0x10000
113*ae5de77eSEmmanuel Vadot                  0x400 0xd2100000 0x0 0x10000>;
114*ae5de77eSEmmanuel Vadot            interrupts = <576 4>,
115*ae5de77eSEmmanuel Vadot                        <577 1>, <578 4>,
116*ae5de77eSEmmanuel Vadot                        <579 1>, <580 4>,
117*ae5de77eSEmmanuel Vadot                        <581 1>, <582 4>,
118*ae5de77eSEmmanuel Vadot                        <583 1>, <584 4>,
119*ae5de77eSEmmanuel Vadot                        <585 1>, <586 4>,
120*ae5de77eSEmmanuel Vadot                        <587 1>, <588 4>,
121*ae5de77eSEmmanuel Vadot                        <589 1>, <590 4>,
122*ae5de77eSEmmanuel Vadot                        <591 1>, <592 4>,
123*ae5de77eSEmmanuel Vadot                        <593 1>, <594 4>,
124*ae5de77eSEmmanuel Vadot                        <595 1>, <596 4>,
125*ae5de77eSEmmanuel Vadot                        <597 1>, <598 4>,
126*ae5de77eSEmmanuel Vadot                        <599 1>, <600 4>,
127*ae5de77eSEmmanuel Vadot                        <601 1>, <602 4>,
128*ae5de77eSEmmanuel Vadot                        <603 1>, <604 4>,
129*ae5de77eSEmmanuel Vadot                        <605 1>, <606 4>,
130*ae5de77eSEmmanuel Vadot                        <607 1>, <608 4>;
131*ae5de77eSEmmanuel Vadot            dma-coherent;
132*ae5de77eSEmmanuel Vadot            iommus = <&p1_smmu_alg_a 0x600>;
133*ae5de77eSEmmanuel Vadot        };
134*ae5de77eSEmmanuel Vadot    };
135