platform_external_dtc/tests/obsolete-chosen-interrupt-controller.dts
David Gibson e4ffc1443d dtc: Convert check for obsolete /chosen property
This converts the test for the obsolete "interrupt-controller"
property in /chosen to the new framework.  That was the only thing
left in the old-style check_chosen() function, so that function is
removed, too.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-12-07 07:43:53 -06:00

13 lines
170 B
Text

/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
PIC: pic@0 {
reg = <0x0 0x10>;
interrupt-controller;
};
chosen {
interrupt-controller = <&PIC>;
};
};