ARC: Add model property to boards .dts
authorAlexey Brodkin <abrodkin@synopsys.com>
Tue, 2 Oct 2018 08:37:25 +0000 (11:37 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 5 Oct 2018 13:55:42 +0000 (16:55 +0300)
1. This way we sync with Linux kernel where we have model
   set for all ARC boards for quite some time, see [1]

2. Once we enable DISPLAY_BOARDINFO for ARC this info will
   be printed on boot givin some extra data-point about the board

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=618a9cd06dd471ac232f5b27325b24d26eba5571

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/dts/abilis_tb100.dts
arch/arc/dts/axs101.dts
arch/arc/dts/axs103.dts
arch/arc/dts/emdk.dts
arch/arc/dts/hsdk.dts
arch/arc/dts/nsim.dts

index de3e57d..19e45b9 100644 (file)
@@ -7,6 +7,8 @@
 #include "skeleton.dtsi"
 
 / {
+       model = "abilis,tb100";
+
        aliases {
                console = &uart0;
        };
index 13873be..fc9fa93 100644 (file)
@@ -9,6 +9,8 @@
 
 
 / {
+       model = "snps,axs101";
+
        chosen {
                stdout-path = &uart0;
        };
index 81778c8..6e2dd00 100644 (file)
@@ -9,6 +9,8 @@
 
 
 / {
+       model = "snps,axs103";
+
        chosen {
                stdout-path = &uart0;
        };
index 5e853e3..ebe538d 100644 (file)
@@ -7,6 +7,8 @@
 #include "skeleton.dtsi"
 
 / {
+       model = "snps,emdk";
+
        #address-cells = <1>;
        #size-cells = <1>;
 
index 673bc5b..f024b96 100644 (file)
@@ -8,6 +8,8 @@
 #include "dt-bindings/clock/snps,hsdk-cgu.h"
 
 / {
+       model = "snps,hsdk";
+
        #address-cells = <1>;
        #size-cells = <1>;
 
index 9c1c7aa..243ecb1 100644 (file)
@@ -7,6 +7,8 @@
 #include "skeleton.dtsi"
 
 / {
+       model = "snps,nsim";
+
        aliases {
                console = &arcuart0;
        };