mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
fae6bd7090
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>
25 lines
434 B
Plaintext
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;
|
|
};
|
|
};
|