st,sti-irq-syscfg.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. STMicroelectronics STi System Configuration Controlled IRQs
  2. -----------------------------------------------------------
  3. On STi based systems; External, CTI (Core Sight), PMU (Performance Management),
  4. and PL310 L2 Cache IRQs are controlled using System Configuration registers.
  5. This driver is used to unmask them prior to use.
  6. Required properties:
  7. - compatible : Should be set to one of:
  8. "st,stih415-irq-syscfg"
  9. "st,stih416-irq-syscfg"
  10. "st,stih407-irq-syscfg"
  11. "st,stid127-irq-syscfg"
  12. - st,syscfg : Phandle to Cortex-A9 IRQ system config registers
  13. - st,irq-device : Array of IRQs to enable - should be 2 in length
  14. - st,fiq-device : Array of FIQs to enable - should be 2 in length
  15. Optional properties:
  16. - st,invert-ext : External IRQs can be inverted at will. This property inverts
  17. these IRQs using bitwise logic. A number of defines have been
  18. provided for convenience:
  19. ST_IRQ_SYSCFG_EXT_1_INV
  20. ST_IRQ_SYSCFG_EXT_2_INV
  21. ST_IRQ_SYSCFG_EXT_3_INV
  22. Example:
  23. irq-syscfg {
  24. compatible = "st,stih416-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. st,invert-ext = <(ST_IRQ_SYSCFG_EXT_1_INV | ST_IRQ_SYSCFG_EXT_3_INV)>;
  31. };