030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch 7.6 KB

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