18c2ecf20Sopenharmony_ciSTMicroelectronics STi System Configuration Controlled IRQs
28c2ecf20Sopenharmony_ci-----------------------------------------------------------
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciOn STi based systems; External, CTI (Core Sight), PMU (Performance Management),
58c2ecf20Sopenharmony_ciand PL310 L2 Cache IRQs are controlled using System Configuration registers.
68c2ecf20Sopenharmony_ciThis driver is used to unmask them prior to use.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciRequired properties:
98c2ecf20Sopenharmony_ci- compatible	: Should be set to one of:
108c2ecf20Sopenharmony_ci			"st,stih415-irq-syscfg"
118c2ecf20Sopenharmony_ci			"st,stih416-irq-syscfg"
128c2ecf20Sopenharmony_ci			"st,stih407-irq-syscfg"
138c2ecf20Sopenharmony_ci			"st,stid127-irq-syscfg"
148c2ecf20Sopenharmony_ci- st,syscfg	: Phandle to Cortex-A9 IRQ system config registers
158c2ecf20Sopenharmony_ci- st,irq-device	: Array of IRQs to enable - should be 2 in length
168c2ecf20Sopenharmony_ci- st,fiq-device	: Array of FIQs to enable - should be 2 in length
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci- st,invert-ext	: External IRQs can be inverted at will.  This property inverts
208c2ecf20Sopenharmony_ci		  these IRQs using bitwise logic.  A number of defines have been
218c2ecf20Sopenharmony_ci		  provided for convenience:
228c2ecf20Sopenharmony_ci			ST_IRQ_SYSCFG_EXT_1_INV
238c2ecf20Sopenharmony_ci			ST_IRQ_SYSCFG_EXT_2_INV
248c2ecf20Sopenharmony_ci			ST_IRQ_SYSCFG_EXT_3_INV
258c2ecf20Sopenharmony_ciExample:
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciirq-syscfg {
288c2ecf20Sopenharmony_ci	compatible    = "st,stih416-irq-syscfg";
298c2ecf20Sopenharmony_ci	st,syscfg     = <&syscfg_cpu>;
308c2ecf20Sopenharmony_ci	st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
318c2ecf20Sopenharmony_ci			<ST_IRQ_SYSCFG_PMU_1>;
328c2ecf20Sopenharmony_ci	st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
338c2ecf20Sopenharmony_ci			<ST_IRQ_SYSCFG_DISABLED>;
348c2ecf20Sopenharmony_ci	st,invert-ext = <(ST_IRQ_SYSCFG_EXT_1_INV | ST_IRQ_SYSCFG_EXT_3_INV)>;
358c2ecf20Sopenharmony_ci};
36