Path: blob/main/sys/contrib/device-tree/Bindings/crypto/hisilicon,hip07-sec.txt
48375 views
* Hisilicon hip07 Security Accelerator (SEC)12Required properties:3- compatible: Must contain one of4- "hisilicon,hip06-sec"5- "hisilicon,hip07-sec"6- reg: Memory addresses and lengths of the memory regions through which7this device is controlled.8Region 0 has registers to control the backend processing engines.9Region 1 has registers for functionality common to all queues.10Regions 2-18 have registers for the 16 individual queues which are isolated11both in hardware and within the driver.12- interrupts: Interrupt specifiers.13Refer to interrupt-controller/interrupts.txt for generic interrupt client node14bindings.15Interrupt 0 is for the SEC unit error queue.16Interrupt 2N + 1 is the completion interrupt for queue N.17Interrupt 2N + 2 is the error interrupt for queue N.18- dma-coherent: The driver assumes coherent dma is possible.1920Optional properties:21- iommus: The SEC units are behind smmu-v3 iommus.22Refer to iommu/arm,smmu-v3.txt for more information.2324Example:2526p1_sec_a: crypto@400d2000000 {27compatible = "hisilicon,hip07-sec";28reg = <0x400 0xd0000000 0x0 0x10000290x400 0xd2000000 0x0 0x10000300x400 0xd2010000 0x0 0x10000310x400 0xd2020000 0x0 0x10000320x400 0xd2030000 0x0 0x10000330x400 0xd2040000 0x0 0x10000340x400 0xd2050000 0x0 0x10000350x400 0xd2060000 0x0 0x10000360x400 0xd2070000 0x0 0x10000370x400 0xd2080000 0x0 0x10000380x400 0xd2090000 0x0 0x10000390x400 0xd20a0000 0x0 0x10000400x400 0xd20b0000 0x0 0x10000410x400 0xd20c0000 0x0 0x10000420x400 0xd20d0000 0x0 0x10000430x400 0xd20e0000 0x0 0x10000440x400 0xd20f0000 0x0 0x10000450x400 0xd2100000 0x0 0x10000>;46interrupt-parent = <&p1_mbigen_sec_a>;47iommus = <&p1_smmu_alg_a 0x600>;48dma-coherent;49interrupts = <576 4>,50<577 1>, <578 4>,51<579 1>, <580 4>,52<581 1>, <582 4>,53<583 1>, <584 4>,54<585 1>, <586 4>,55<587 1>, <588 4>,56<589 1>, <590 4>,57<591 1>, <592 4>,58<593 1>, <594 4>,59<595 1>, <596 4>,60<597 1>, <598 4>,61<599 1>, <600 4>,62<601 1>, <602 4>,63<603 1>, <604 4>,64<605 1>, <606 4>,65<607 1>, <608 4>;66};676869