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