x86: dts: Add device-tree labels for rtc and reset
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:58:43 +0000 (21:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:11 +0000 (13:02 +0800)
Add labels for these nodes so that board DT files can reference them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/reset.dtsi
arch/x86/dts/rtc.dtsi

index f979d83757ce44c6e8ff0a57293a2a407a3254dd..555d0dd96088210c0d0ca11f00db1050599bfb11 100644 (file)
@@ -1,5 +1,5 @@
 / {
-       reset {
+       reset: reset {
                compatible = "x86,reset";
                u-boot,dm-pre-reloc;
        };
index 1797e042daf052940233e568991bb82ea8039def..d0bbd84e5095453402be0dd10016b541b875156c 100644 (file)
@@ -1,5 +1,5 @@
 / {
-       rtc {
+       rtc: rtc {
                compatible = "motorola,mc146818";
                u-boot,dm-pre-reloc;
                reg = <0x70 2>;