xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/st,sti-irq-syscfg.txt (revision 535af610a4fdace6d50960c0ad9be0597eea7a1b)
1STMicroelectronics STi System Configuration Controlled IRQs
2-----------------------------------------------------------
3
4On STi based systems; External, CTI (Core Sight), PMU (Performance Management),
5and PL310 L2 Cache IRQs are controlled using System Configuration registers.
6This driver is used to unmask them prior to use.
7
8Required properties:
9- compatible	: Should be "st,stih407-irq-syscfg"
10- st,syscfg	: Phandle to Cortex-A9 IRQ system config registers
11- st,irq-device	: Array of IRQs to enable - should be 2 in length
12- st,fiq-device	: Array of FIQs to enable - should be 2 in length
13
14Optional properties:
15- st,invert-ext	: External IRQs can be inverted at will.  This property inverts
16		  these IRQs using bitwise logic.  A number of defines have been
17		  provided for convenience:
18			ST_IRQ_SYSCFG_EXT_1_INV
19			ST_IRQ_SYSCFG_EXT_2_INV
20			ST_IRQ_SYSCFG_EXT_3_INV
21Example:
22
23irq-syscfg {
24	compatible    = "st,stih407-irq-syscfg";
25	st,syscfg     = <&syscfg_cpu>;
26	st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
27			<ST_IRQ_SYSCFG_PMU_1>;
28	st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
29			<ST_IRQ_SYSCFG_DISABLED>;
30};
31