]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 de3e57d24613020d28a7e9bc73f00cbac9050f2f..19e45b9c663a41ee94c09ace592c388ea197cbc8 100644 (file)
@@ -7,6 +7,8 @@
 #include "skeleton.dtsi"
 
 / {
+       model = "abilis,tb100";
+
        aliases {
                console = &uart0;
        };
index 13873be320bc3fc45a4b4257821022226d37f04e..fc9fa93b74c46c60168e0b3351d9e66ebf586003 100644 (file)
@@ -9,6 +9,8 @@
 
 
 / {
+       model = "snps,axs101";
+
        chosen {
                stdout-path = &uart0;
        };
index 81778c89839e81055e9b339895a6a134896a3508..6e2dd00fc37e4fe976ff4775b120c81727a63730 100644 (file)
@@ -9,6 +9,8 @@
 
 
 / {
+       model = "snps,axs103";
+
        chosen {
                stdout-path = &uart0;
        };
index 5e853e3a728e9180e366bf51a45e71bca2348a0e..ebe538d06f8358b3ac327d6eb4fd845c19c05a72 100644 (file)
@@ -7,6 +7,8 @@
 #include "skeleton.dtsi"
 
 / {
+       model = "snps,emdk";
+
        #address-cells = <1>;
        #size-cells = <1>;
 
index 673bc5b26ae36ceb63c44e840033fd6bf286521b..f024b96925e440c956674833ab954f9fe6688554 100644 (file)
@@ -8,6 +8,8 @@
 #include "dt-bindings/clock/snps,hsdk-cgu.h"
 
 / {
+       model = "snps,hsdk";
+
        #address-cells = <1>;
        #size-cells = <1>;
 
index 9c1c7aa0eb44ce821e2321b913b63980908f354b..243ecb178e46319f1c36b03c806e7e22fc107b86 100644 (file)
@@ -7,6 +7,8 @@
 #include "skeleton.dtsi"
 
 / {
+       model = "snps,nsim";
+
        aliases {
                console = &arcuart0;
        };