083-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. From a0aef7fbab0d8b5a0d445c74990e5233beda246e Mon Sep 17 00:00:00 2001
  2. From: Jon Mason <jonmason@broadcom.com>
  3. Date: Wed, 21 Oct 2015 18:46:04 -0400
  4. Subject: [PATCH] ARM: dts: bcm5301x: Add BCM SVK DT files
  5. Add device tree files for Broadcom Northstar based SVKs. Since the
  6. bcm5301x.dtsi already exists, all that is necessary is the dts files to
  7. enable the UARTs. With these files, the SVKs are able to boot to shell.
  8. Signed-off-by: Jon Mason <jonmason@broadcom.com>
  9. ---
  10. arch/arm/boot/dts/Makefile | 5 +++-
  11. arch/arm/boot/dts/bcm94708.dts | 56 +++++++++++++++++++++++++++++++++++
  12. arch/arm/boot/dts/bcm94709.dts | 56 +++++++++++++++++++++++++++++++++++
  13. arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
  14. 4 files changed, 179 insertions(+), 1 deletion(-)
  15. create mode 100644 arch/arm/boot/dts/bcm94708.dts
  16. create mode 100644 arch/arm/boot/dts/bcm94709.dts
  17. create mode 100644 arch/arm/boot/dts/bcm953012k.dts
  18. --- a/arch/arm/boot/dts/Makefile
  19. +++ b/arch/arm/boot/dts/Makefile
  20. @@ -73,7 +73,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
  21. bcm4709-asus-rt-ac87u.dtb \
  22. bcm4709-buffalo-wxr-1900dhp.dtb \
  23. bcm4709-netgear-r7000.dtb \
  24. - bcm4709-netgear-r8000.dtb
  25. + bcm4709-netgear-r8000.dtb \
  26. + bcm94708.dtb \
  27. + bcm94709.dtb \
  28. + bcm953012k.dtb
  29. dtb-$(CONFIG_ARCH_BCM_63XX) += \
  30. bcm963138dvt.dtb
  31. dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
  32. --- /dev/null
  33. +++ b/arch/arm/boot/dts/bcm94708.dts
  34. @@ -0,0 +1,56 @@
  35. +/*
  36. + * BSD LICENSE
  37. + *
  38. + * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
  39. + *
  40. + * Redistribution and use in source and binary forms, with or without
  41. + * modification, are permitted provided that the following conditions
  42. + * are met:
  43. + *
  44. + * * Redistributions of source code must retain the above copyright
  45. + * notice, this list of conditions and the following disclaimer.
  46. + * * Redistributions in binary form must reproduce the above copyright
  47. + * notice, this list of conditions and the following disclaimer in
  48. + * the documentation and/or other materials provided with the
  49. + * distribution.
  50. + * * Neither the name of Broadcom Corporation nor the names of its
  51. + * contributors may be used to endorse or promote products derived
  52. + * from this software without specific prior written permission.
  53. + *
  54. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  55. + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  56. + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  57. + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  58. + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  59. + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  60. + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  61. + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  62. + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  63. + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  64. + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  65. + */
  66. +
  67. +/dts-v1/;
  68. +
  69. +#include "bcm4708.dtsi"
  70. +
  71. +/ {
  72. + model = "NorthStar SVK (BCM94708)";
  73. + compatible = "brcm,bcm94708", "brcm,bcm4708";
  74. +
  75. + aliases {
  76. + serial0 = &uart0;
  77. + };
  78. +
  79. + chosen {
  80. + stdout-path = "serial0:115200n8";
  81. + };
  82. +
  83. + memory {
  84. + reg = <0x00000000 0x08000000>;
  85. + };
  86. +};
  87. +
  88. +&uart0 {
  89. + status = "okay";
  90. +};
  91. --- /dev/null
  92. +++ b/arch/arm/boot/dts/bcm94709.dts
  93. @@ -0,0 +1,56 @@
  94. +/*
  95. + * BSD LICENSE
  96. + *
  97. + * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
  98. + *
  99. + * Redistribution and use in source and binary forms, with or without
  100. + * modification, are permitted provided that the following conditions
  101. + * are met:
  102. + *
  103. + * * Redistributions of source code must retain the above copyright
  104. + * notice, this list of conditions and the following disclaimer.
  105. + * * Redistributions in binary form must reproduce the above copyright
  106. + * notice, this list of conditions and the following disclaimer in
  107. + * the documentation and/or other materials provided with the
  108. + * distribution.
  109. + * * Neither the name of Broadcom Corporation nor the names of its
  110. + * contributors may be used to endorse or promote products derived
  111. + * from this software without specific prior written permission.
  112. + *
  113. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  114. + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  115. + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  116. + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  117. + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  118. + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  119. + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  120. + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  121. + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  122. + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  123. + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  124. + */
  125. +
  126. +/dts-v1/;
  127. +
  128. +#include "bcm4708.dtsi"
  129. +
  130. +/ {
  131. + model = "NorthStar SVK (BCM94709)";
  132. + compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
  133. +
  134. + aliases {
  135. + serial0 = &uart0;
  136. + };
  137. +
  138. + chosen {
  139. + stdout-path = "serial0:115200n8";
  140. + };
  141. +
  142. + memory {
  143. + reg = <0x00000000 0x08000000>;
  144. + };
  145. +};
  146. +
  147. +&uart0 {
  148. + status = "okay";
  149. +};
  150. --- /dev/null
  151. +++ b/arch/arm/boot/dts/bcm953012k.dts
  152. @@ -0,0 +1,63 @@
  153. +/*
  154. + * BSD LICENSE
  155. + *
  156. + * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
  157. + *
  158. + * Redistribution and use in source and binary forms, with or without
  159. + * modification, are permitted provided that the following conditions
  160. + * are met:
  161. + *
  162. + * * Redistributions of source code must retain the above copyright
  163. + * notice, this list of conditions and the following disclaimer.
  164. + * * Redistributions in binary form must reproduce the above copyright
  165. + * notice, this list of conditions and the following disclaimer in
  166. + * the documentation and/or other materials provided with the
  167. + * distribution.
  168. + * * Neither the name of Broadcom Corporation nor the names of its
  169. + * contributors may be used to endorse or promote products derived
  170. + * from this software without specific prior written permission.
  171. + *
  172. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  173. + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  174. + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  175. + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  176. + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  177. + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  178. + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  179. + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  180. + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  181. + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  182. + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  183. + */
  184. +
  185. +/dts-v1/;
  186. +
  187. +#include "bcm4708.dtsi"
  188. +
  189. +/ {
  190. + model = "NorthStar SVK (BCM953012K)";
  191. + compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
  192. +
  193. + aliases {
  194. + serial0 = &uart0;
  195. + serial1 = &uart1;
  196. + };
  197. +
  198. + chosen {
  199. + stdout-path = "serial0:115200n8";
  200. + };
  201. +
  202. + memory {
  203. + reg = <0x00000000 0x10000000>;
  204. + };
  205. +};
  206. +
  207. +&uart0 {
  208. + clock-frequency = <62499840>;
  209. + status = "okay";
  210. +};
  211. +
  212. +&uart1 {
  213. + clock-frequency = <62499840>;
  214. + status = "okay";
  215. +};