2
0

096-arc-add-model-property-in-dts.patch 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. From f1e53ac0a99e3754465bd87ae1a6fdbfb8340d15 Mon Sep 17 00:00:00 2001
  2. From: Alexey Brodkin <abrodkin@synopsys.com>
  3. Date: Mon, 15 Aug 2016 14:42:44 +0300
  4. Subject: [PATCH] arc: Add "model" properly in device tree description of all
  5. boards
  6. As it was discussed quite some time ago (see
  7. https://lkml.org/lkml/2015/11/5/862) it's a good practice to add
  8. "model" property in .dts. Moreover as per ePAPR "model" property is
  9. required and should look like "manufacturer,model" so we do here.
  10. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
  11. Cc: Vineet Gupta <vgupta@synopsys.com>
  12. Cc: Jonas Gorski <jonas.gorski@gmail.com>
  13. Cc: Arnd Bergmann <arnd@arndb.de>
  14. Cc: Rob Herring <robh@kernel.org>
  15. Cc: Christian Ruppert <christian.ruppert@alitech.com>
  16. ---
  17. arch/arc/boot/dts/abilis_tb100_dvk.dts | 1 +
  18. arch/arc/boot/dts/abilis_tb101_dvk.dts | 1 +
  19. arch/arc/boot/dts/axs101.dts | 1 +
  20. arch/arc/boot/dts/axs103.dts | 1 +
  21. arch/arc/boot/dts/axs103_idu.dts | 1 +
  22. arch/arc/boot/dts/nsim_700.dts | 1 +
  23. arch/arc/boot/dts/nsim_hs.dts | 1 +
  24. arch/arc/boot/dts/nsim_hs_idu.dts | 1 +
  25. arch/arc/boot/dts/nsimosci.dts | 1 +
  26. arch/arc/boot/dts/nsimosci_hs.dts | 1 +
  27. arch/arc/boot/dts/nsimosci_hs_idu.dts | 1 +
  28. arch/arc/boot/dts/vdk_hs38.dts | 1 +
  29. arch/arc/boot/dts/vdk_hs38_smp.dts | 1 +
  30. 13 files changed, 13 insertions(+)
  31. --- a/arch/arc/boot/dts/abilis_tb100_dvk.dts
  32. +++ b/arch/arc/boot/dts/abilis_tb100_dvk.dts
  33. @@ -24,6 +24,7 @@
  34. /include/ "abilis_tb100.dtsi"
  35. / {
  36. + model = "abilis,tb100";
  37. chosen {
  38. bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
  39. };
  40. --- a/arch/arc/boot/dts/abilis_tb101_dvk.dts
  41. +++ b/arch/arc/boot/dts/abilis_tb101_dvk.dts
  42. @@ -24,6 +24,7 @@
  43. /include/ "abilis_tb101.dtsi"
  44. / {
  45. + model = "abilis,tb101";
  46. chosen {
  47. bootargs = "earlycon=uart8250,mmio32,0xff100000,9600n8 console=ttyS0,9600n8";
  48. };
  49. --- a/arch/arc/boot/dts/axs101.dts
  50. +++ b/arch/arc/boot/dts/axs101.dts
  51. @@ -13,6 +13,7 @@
  52. /include/ "axs10x_mb.dtsi"
  53. / {
  54. + model = "snps,axs101";
  55. compatible = "snps,axs101", "snps,arc-sdp";
  56. chosen {
  57. --- a/arch/arc/boot/dts/axs103.dts
  58. +++ b/arch/arc/boot/dts/axs103.dts
  59. @@ -16,6 +16,7 @@
  60. /include/ "axs10x_mb.dtsi"
  61. / {
  62. + model = "snps,axs103";
  63. compatible = "snps,axs103", "snps,arc-sdp";
  64. chosen {
  65. --- a/arch/arc/boot/dts/axs103_idu.dts
  66. +++ b/arch/arc/boot/dts/axs103_idu.dts
  67. @@ -16,6 +16,7 @@
  68. /include/ "axs10x_mb.dtsi"
  69. / {
  70. + model = "snps,axs103-smp";
  71. compatible = "snps,axs103", "snps,arc-sdp";
  72. chosen {
  73. --- a/arch/arc/boot/dts/nsim_700.dts
  74. +++ b/arch/arc/boot/dts/nsim_700.dts
  75. @@ -10,6 +10,7 @@
  76. /include/ "skeleton.dtsi"
  77. / {
  78. + model = "snps,nsim";
  79. compatible = "snps,nsim";
  80. clock-frequency = <80000000>; /* 80 MHZ */
  81. #address-cells = <1>;
  82. --- a/arch/arc/boot/dts/nsim_hs.dts
  83. +++ b/arch/arc/boot/dts/nsim_hs.dts
  84. @@ -10,6 +10,7 @@
  85. /include/ "skeleton.dtsi"
  86. / {
  87. + model = "snps,nsim_hs";
  88. compatible = "snps,nsim_hs";
  89. #address-cells = <2>;
  90. #size-cells = <2>;
  91. --- a/arch/arc/boot/dts/nsim_hs_idu.dts
  92. +++ b/arch/arc/boot/dts/nsim_hs_idu.dts
  93. @@ -10,6 +10,7 @@
  94. /include/ "skeleton.dtsi"
  95. / {
  96. + model = "snps,nsim_hs-smp";
  97. compatible = "snps,nsim_hs";
  98. interrupt-parent = <&core_intc>;
  99. --- a/arch/arc/boot/dts/nsimosci.dts
  100. +++ b/arch/arc/boot/dts/nsimosci.dts
  101. @@ -10,6 +10,7 @@
  102. /include/ "skeleton.dtsi"
  103. / {
  104. + model = "snps,nsimosci";
  105. compatible = "snps,nsimosci";
  106. clock-frequency = <20000000>; /* 20 MHZ */
  107. #address-cells = <1>;
  108. --- a/arch/arc/boot/dts/nsimosci_hs.dts
  109. +++ b/arch/arc/boot/dts/nsimosci_hs.dts
  110. @@ -10,6 +10,7 @@
  111. /include/ "skeleton.dtsi"
  112. / {
  113. + model = "snps,nsimosci_hs";
  114. compatible = "snps,nsimosci_hs";
  115. clock-frequency = <20000000>; /* 20 MHZ */
  116. #address-cells = <1>;
  117. --- a/arch/arc/boot/dts/nsimosci_hs_idu.dts
  118. +++ b/arch/arc/boot/dts/nsimosci_hs_idu.dts
  119. @@ -10,6 +10,7 @@
  120. /include/ "skeleton.dtsi"
  121. / {
  122. + model = "snps,nsimosci_hs-smp";
  123. compatible = "snps,nsimosci_hs";
  124. clock-frequency = <5000000>; /* 5 MHZ */
  125. #address-cells = <1>;
  126. --- a/arch/arc/boot/dts/vdk_hs38.dts
  127. +++ b/arch/arc/boot/dts/vdk_hs38.dts
  128. @@ -13,6 +13,7 @@
  129. /include/ "vdk_axs10x_mb.dtsi"
  130. / {
  131. + model = "snps,vdk_archs";
  132. compatible = "snps,axs103";
  133. chosen {
  134. --- a/arch/arc/boot/dts/vdk_hs38_smp.dts
  135. +++ b/arch/arc/boot/dts/vdk_hs38_smp.dts
  136. @@ -13,6 +13,7 @@
  137. /include/ "vdk_axs10x_mb.dtsi"
  138. / {
  139. + model = "snps,vdk_archs-smp";
  140. compatible = "snps,axs103";
  141. chosen {