Manivannan Sadhasivam | cdf6179 | 2018-12-10 23:05:39 +0530 | [diff] [blame] | 1 | RDA Micro RDA8810PL Interrupt Controller |
| 2 | |
| 3 | The interrupt controller in RDA8810PL SoC is a custom interrupt controller |
| 4 | which supports up to 32 interrupts. |
| 5 | |
| 6 | Required properties: |
| 7 | |
| 8 | - compatible: Should be "rda,8810pl-intc". |
| 9 | - reg: Specifies base physical address of the registers set. |
| 10 | - interrupt-controller: Identifies the node as an interrupt controller. |
| 11 | - #interrupt-cells: Specifies the number of cells needed to encode an |
| 12 | interrupt source. The value shall be 2. |
| 13 | |
| 14 | The interrupt sources are as follows: |
| 15 | |
| 16 | ID Name |
| 17 | ------------ |
| 18 | 0: PULSE_DUMMY |
| 19 | 1: I2C |
| 20 | 2: NAND_NFSC |
| 21 | 3: SDMMC1 |
| 22 | 4: SDMMC2 |
| 23 | 5: SDMMC3 |
| 24 | 6: SPI1 |
| 25 | 7: SPI2 |
| 26 | 8: SPI3 |
| 27 | 9: UART1 |
| 28 | 10: UART2 |
| 29 | 11: UART3 |
| 30 | 12: GPIO1 |
| 31 | 13: GPIO2 |
| 32 | 14: GPIO3 |
| 33 | 15: KEYPAD |
| 34 | 16: TIMER |
| 35 | 17: TIMEROS |
| 36 | 18: COMREG0 |
| 37 | 19: COMREG1 |
| 38 | 20: USB |
| 39 | 21: DMC |
| 40 | 22: DMA |
| 41 | 23: CAMERA |
| 42 | 24: GOUDA |
| 43 | 25: GPU |
| 44 | 26: VPU_JPG |
| 45 | 27: VPU_HOST |
| 46 | 28: VOC |
| 47 | 29: AUIFC0 |
| 48 | 30: AUIFC1 |
| 49 | 31: L2CC |
| 50 | |
| 51 | Example: |
| 52 | apb@20800000 { |
| 53 | compatible = "simple-bus"; |
| 54 | ... |
| 55 | intc: interrupt-controller@0 { |
| 56 | compatible = "rda,8810pl-intc"; |
| 57 | reg = <0x0 0x1000>; |
| 58 | interrupt-controller; |
| 59 | #interrupt-cells = <2>; |
| 60 | }; |
| 61 | }; |