18c2ecf20Sopenharmony_ciMarvell SEI (System Error Interrupt) Controller
28c2ecf20Sopenharmony_ci-----------------------------------------------
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciMarvell SEI (System Error Interrupt) controller is an interrupt
58c2ecf20Sopenharmony_ciaggregator. It receives interrupts from several sources and aggregates
68c2ecf20Sopenharmony_cithem to a single interrupt line (an SPI) on the parent interrupt
78c2ecf20Sopenharmony_cicontroller.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciThis interrupt controller can handle up to 64 SEIs, a set comes from the
108c2ecf20Sopenharmony_ciAP and is wired while a second set comes from the CPs by the mean of
118c2ecf20Sopenharmony_ciMSIs.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciRequired properties:
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci- compatible: should be one of:
168c2ecf20Sopenharmony_ci              * "marvell,ap806-sei"
178c2ecf20Sopenharmony_ci- reg: SEI registers location and length.
188c2ecf20Sopenharmony_ci- interrupts: identifies the parent IRQ that will be triggered.
198c2ecf20Sopenharmony_ci- #interrupt-cells: number of cells to define an SEI wired interrupt
208c2ecf20Sopenharmony_ci                    coming from the AP, should be 1. The cell is the IRQ
218c2ecf20Sopenharmony_ci                    number.
228c2ecf20Sopenharmony_ci- interrupt-controller: identifies the node as an interrupt controller
238c2ecf20Sopenharmony_ci                        for AP interrupts.
248c2ecf20Sopenharmony_ci- msi-controller: identifies the node as an MSI controller for the CPs
258c2ecf20Sopenharmony_ci                  interrupts.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciExample:
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci        sei: interrupt-controller@3f0200 {
308c2ecf20Sopenharmony_ci                compatible = "marvell,ap806-sei";
318c2ecf20Sopenharmony_ci                reg = <0x3f0200 0x40>;
328c2ecf20Sopenharmony_ci                interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
338c2ecf20Sopenharmony_ci                #interrupt-cells = <1>;
348c2ecf20Sopenharmony_ci                interrupt-controller;
358c2ecf20Sopenharmony_ci                msi-controller;
368c2ecf20Sopenharmony_ci        };
37