linux/arch/arm/boot/dts/armv7-m.dtsi
Joachim Eastwood fae6bd7090 ARM: dts: armv7-m: add unit name to interrupt-controller
Add unit name to nvic to remove the following warning:
 Warning (unit_address_vs_reg): Node /nv-interrupt-controller has a reg or ranges property, but no unit name

Also correct the node name to 'interrupt-controller'
while changing the line.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Stefan Agner <stefan@agner.ch>
2016-04-04 16:12:40 +02:00

25 lines
434 B
Plaintext

#include "skeleton.dtsi"
/ {
nvic: interrupt-controller@e000e100 {
compatible = "arm,armv7m-nvic";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0xe000e100 0xc00>;
};
systick: timer@e000e010 {
compatible = "arm,armv7m-systick";
reg = <0xe000e010 0x10>;
status = "disabled";
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
interrupt-parent = <&nvic>;
ranges;
};
};