1778bd992SJonathan Cameron* Hisilicon hip07 Security Accelerator (SEC) 2778bd992SJonathan Cameron 3778bd992SJonathan CameronRequired properties: 4778bd992SJonathan Cameron- compatible: Must contain one of 5778bd992SJonathan Cameron - "hisilicon,hip06-sec" 6778bd992SJonathan Cameron - "hisilicon,hip07-sec" 7778bd992SJonathan Cameron- reg: Memory addresses and lengths of the memory regions through which 8778bd992SJonathan Cameron this device is controlled. 9778bd992SJonathan Cameron Region 0 has registers to control the backend processing engines. 10778bd992SJonathan Cameron Region 1 has registers for functionality common to all queues. 11778bd992SJonathan Cameron Regions 2-18 have registers for the 16 individual queues which are isolated 12778bd992SJonathan Cameron both in hardware and within the driver. 13778bd992SJonathan Cameron- interrupts: Interrupt specifiers. 14778bd992SJonathan Cameron Refer to interrupt-controller/interrupts.txt for generic interrupt client node 15778bd992SJonathan Cameron bindings. 16778bd992SJonathan Cameron Interrupt 0 is for the SEC unit error queue. 17778bd992SJonathan Cameron Interrupt 2N + 1 is the completion interrupt for queue N. 18778bd992SJonathan Cameron Interrupt 2N + 2 is the error interrupt for queue N. 19778bd992SJonathan Cameron- dma-coherent: The driver assumes coherent dma is possible. 20778bd992SJonathan Cameron 21778bd992SJonathan CameronOptional properties: 22778bd992SJonathan Cameron- iommus: The SEC units are behind smmu-v3 iommus. 23778bd992SJonathan Cameron Refer to iommu/arm,smmu-v3.txt for more information. 24778bd992SJonathan Cameron 25778bd992SJonathan CameronExample: 26778bd992SJonathan Cameron 27*27ade939SJonathan Cameronp1_sec_a: crypto@400d2000000 { 28778bd992SJonathan Cameron compatible = "hisilicon,hip07-sec"; 29778bd992SJonathan Cameron reg = <0x400 0xd0000000 0x0 0x10000 30778bd992SJonathan Cameron 0x400 0xd2000000 0x0 0x10000 31778bd992SJonathan Cameron 0x400 0xd2010000 0x0 0x10000 32778bd992SJonathan Cameron 0x400 0xd2020000 0x0 0x10000 33778bd992SJonathan Cameron 0x400 0xd2030000 0x0 0x10000 34778bd992SJonathan Cameron 0x400 0xd2040000 0x0 0x10000 35778bd992SJonathan Cameron 0x400 0xd2050000 0x0 0x10000 36778bd992SJonathan Cameron 0x400 0xd2060000 0x0 0x10000 37778bd992SJonathan Cameron 0x400 0xd2070000 0x0 0x10000 38778bd992SJonathan Cameron 0x400 0xd2080000 0x0 0x10000 39778bd992SJonathan Cameron 0x400 0xd2090000 0x0 0x10000 40778bd992SJonathan Cameron 0x400 0xd20a0000 0x0 0x10000 41778bd992SJonathan Cameron 0x400 0xd20b0000 0x0 0x10000 42778bd992SJonathan Cameron 0x400 0xd20c0000 0x0 0x10000 43778bd992SJonathan Cameron 0x400 0xd20d0000 0x0 0x10000 44778bd992SJonathan Cameron 0x400 0xd20e0000 0x0 0x10000 45778bd992SJonathan Cameron 0x400 0xd20f0000 0x0 0x10000 46778bd992SJonathan Cameron 0x400 0xd2100000 0x0 0x10000>; 47778bd992SJonathan Cameron interrupt-parent = <&p1_mbigen_sec_a>; 48778bd992SJonathan Cameron iommus = <&p1_smmu_alg_a 0x600>; 49778bd992SJonathan Cameron dma-coherent; 50778bd992SJonathan Cameron interrupts = <576 4>, 51778bd992SJonathan Cameron <577 1>, <578 4>, 52778bd992SJonathan Cameron <579 1>, <580 4>, 53778bd992SJonathan Cameron <581 1>, <582 4>, 54778bd992SJonathan Cameron <583 1>, <584 4>, 55778bd992SJonathan Cameron <585 1>, <586 4>, 56778bd992SJonathan Cameron <587 1>, <588 4>, 57778bd992SJonathan Cameron <589 1>, <590 4>, 58778bd992SJonathan Cameron <591 1>, <592 4>, 59778bd992SJonathan Cameron <593 1>, <594 4>, 60778bd992SJonathan Cameron <595 1>, <596 4>, 61778bd992SJonathan Cameron <597 1>, <598 4>, 62778bd992SJonathan Cameron <599 1>, <600 4>, 63778bd992SJonathan Cameron <601 1>, <602 4>, 64778bd992SJonathan Cameron <603 1>, <604 4>, 65778bd992SJonathan Cameron <605 1>, <606 4>, 66778bd992SJonathan Cameron <607 1>, <608 4>; 67778bd992SJonathan Cameron}; 68