renesas,irqc.txt 1.4 KB
Newer Older
1
DT bindings for the R-Mobile/R-Car/RZ/G interrupt controller
2 3 4 5 6

Required properties:

- compatible: has to be "renesas,irqc-<soctype>", "renesas,irqc" as fallback.
  Examples with soctypes are:
7
    - "renesas,irqc-r8a73a4" (R-Mobile APE6)
8 9
    - "renesas,irqc-r8a7743" (RZ/G1M)
    - "renesas,irqc-r8a7745" (RZ/G1E)
10
    - "renesas,irqc-r8a7790" (R-Car H2)
11 12 13 14
    - "renesas,irqc-r8a7791" (R-Car M2-W)
    - "renesas,irqc-r8a7792" (R-Car V2H)
    - "renesas,irqc-r8a7793" (R-Car M2-N)
    - "renesas,irqc-r8a7794" (R-Car E2)
15
    - "renesas,intc-ex-r8a7795" (R-Car H3)
16
    - "renesas,intc-ex-r8a7796" (R-Car M3-W)
17
    - "renesas,intc-ex-r8a77965" (R-Car M3-N)
18 19
    - "renesas,intc-ex-r8a77970" (R-Car V3M)
    - "renesas,intc-ex-r8a77995" (R-Car D3)
20 21
- #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
  interrupts.txt in this directory
22
- clocks: Must contain a reference to the functional clock.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Optional properties:

- any properties, listed in interrupts.txt, and any standard resource allocation
  properties

Example:

	irqc0: interrupt-controller@e61c0000 {
		compatible = "renesas,irqc-r8a7790", "renesas,irqc";
		#interrupt-cells = <2>;
		interrupt-controller;
		reg = <0 0xe61c0000 0 0x200>;
		interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
			     <0 1 IRQ_TYPE_LEVEL_HIGH>,
			     <0 2 IRQ_TYPE_LEVEL_HIGH>,
			     <0 3 IRQ_TYPE_LEVEL_HIGH>;
40
		clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
41
	};