summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/interrupt-controller/google,goldfish-pic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/interrupt-controller/google,goldfish-pic.txt')
-rw-r--r--dts/Bindings/interrupt-controller/google,goldfish-pic.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/dts/Bindings/interrupt-controller/google,goldfish-pic.txt b/dts/Bindings/interrupt-controller/google,goldfish-pic.txt
new file mode 100644
index 0000000..35f7527
--- /dev/null
+++ b/dts/Bindings/interrupt-controller/google,goldfish-pic.txt
@@ -0,0 +1,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>;
+ };