hc
2023-10-25 6c2073b7aa40e29d0eca7d571dd7bc590c7ecaa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Android Goldfish PIC
 
Android Goldfish programmable interrupt device used by Android
emulator.
 
Required properties:
 
- compatible : should contain "google,goldfish-pic"
- reg        : <registers mapping>
- interrupts : <interrupt mapping>
 
Example for mips when used in cascade mode:
 
        cpuintc {
                #interrupt-cells = <0x1>;
                #address-cells = <0>;
                interrupt-controller;
                compatible = "mti,cpu-interrupt-controller";
        };
 
        interrupt-controller@1f000000 {
                compatible = "google,goldfish-pic";
                reg = <0x1f000000 0x1000>;
 
                interrupt-controller;
                #interrupt-cells = <0x1>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <0x2>;
        };