xref: /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/rda,8810pl-intc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRDA Micro RDA8810PL Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe interrupt controller in RDA8810PL SoC is a custom interrupt controller
4*c66ec88fSEmmanuel Vadotwhich supports up to 32 interrupts.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot- compatible: Should be "rda,8810pl-intc".
9*c66ec88fSEmmanuel Vadot- reg: Specifies base physical address of the registers set.
10*c66ec88fSEmmanuel Vadot- interrupt-controller: Identifies the node as an interrupt controller.
11*c66ec88fSEmmanuel Vadot- #interrupt-cells: Specifies the number of cells needed to encode an
12*c66ec88fSEmmanuel Vadot  interrupt source. The value shall be 2.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotThe interrupt sources are as follows:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotID	Name
17*c66ec88fSEmmanuel Vadot------------
18*c66ec88fSEmmanuel Vadot0:	PULSE_DUMMY
19*c66ec88fSEmmanuel Vadot1:	I2C
20*c66ec88fSEmmanuel Vadot2:	NAND_NFSC
21*c66ec88fSEmmanuel Vadot3:	SDMMC1
22*c66ec88fSEmmanuel Vadot4:	SDMMC2
23*c66ec88fSEmmanuel Vadot5:	SDMMC3
24*c66ec88fSEmmanuel Vadot6:	SPI1
25*c66ec88fSEmmanuel Vadot7:	SPI2
26*c66ec88fSEmmanuel Vadot8:	SPI3
27*c66ec88fSEmmanuel Vadot9:	UART1
28*c66ec88fSEmmanuel Vadot10:	UART2
29*c66ec88fSEmmanuel Vadot11:	UART3
30*c66ec88fSEmmanuel Vadot12:	GPIO1
31*c66ec88fSEmmanuel Vadot13:	GPIO2
32*c66ec88fSEmmanuel Vadot14:	GPIO3
33*c66ec88fSEmmanuel Vadot15:	KEYPAD
34*c66ec88fSEmmanuel Vadot16:	TIMER
35*c66ec88fSEmmanuel Vadot17:	TIMEROS
36*c66ec88fSEmmanuel Vadot18:	COMREG0
37*c66ec88fSEmmanuel Vadot19:	COMREG1
38*c66ec88fSEmmanuel Vadot20:	USB
39*c66ec88fSEmmanuel Vadot21:	DMC
40*c66ec88fSEmmanuel Vadot22:	DMA
41*c66ec88fSEmmanuel Vadot23:	CAMERA
42*c66ec88fSEmmanuel Vadot24:	GOUDA
43*c66ec88fSEmmanuel Vadot25:	GPU
44*c66ec88fSEmmanuel Vadot26:	VPU_JPG
45*c66ec88fSEmmanuel Vadot27:	VPU_HOST
46*c66ec88fSEmmanuel Vadot28:	VOC
47*c66ec88fSEmmanuel Vadot29:	AUIFC0
48*c66ec88fSEmmanuel Vadot30:	AUIFC1
49*c66ec88fSEmmanuel Vadot31:	L2CC
50*c66ec88fSEmmanuel Vadot
51*c66ec88fSEmmanuel VadotExample:
52*c66ec88fSEmmanuel Vadot		apb@20800000 {
53*c66ec88fSEmmanuel Vadot			compatible = "simple-bus";
54*c66ec88fSEmmanuel Vadot			...
55*c66ec88fSEmmanuel Vadot			intc: interrupt-controller@0 {
56*c66ec88fSEmmanuel Vadot				compatible = "rda,8810pl-intc";
57*c66ec88fSEmmanuel Vadot				reg = <0x0 0x1000>;
58*c66ec88fSEmmanuel Vadot				interrupt-controller;
59*c66ec88fSEmmanuel Vadot				#interrupt-cells = <2>;
60*c66ec88fSEmmanuel Vadot			};
61*c66ec88fSEmmanuel Vadot		};
62