summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/obsolete-chosen-interrupt-controller.dts
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/dtc/tests/obsolete-chosen-interrupt-controller.dts')
-rw-r--r--qemu/dtc/tests/obsolete-chosen-interrupt-controller.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/qemu/dtc/tests/obsolete-chosen-interrupt-controller.dts b/qemu/dtc/tests/obsolete-chosen-interrupt-controller.dts
new file mode 100644
index 000000000..36dd6e81d
--- /dev/null
+++ b/qemu/dtc/tests/obsolete-chosen-interrupt-controller.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ PIC: pic@0 {
+ reg = <0x0 0x10>;
+ interrupt-controller;
+ };
+ chosen {
+ interrupt-controller = <&PIC>;
+ };
+};