imx6q-b850v3.dts 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. /*
  2. * Copyright 2015 Timesys Corporation.
  3. * Copyright 2015 General Electric Company
  4. *
  5. * This file is dual-licensed: you can use it either under the terms
  6. * of the GPL or the X11 license, at your option. Note that this dual
  7. * licensing only applies to this file, and not this project as a
  8. * whole.
  9. *
  10. * a) This file is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License
  12. * version 2 as published by the Free Software Foundation.
  13. *
  14. * This file is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * Or, alternatively,
  20. *
  21. * b) Permission is hereby granted, free of charge, to any person
  22. * obtaining a copy of this software and associated documentation
  23. * files (the "Software"), to deal in the Software without
  24. * restriction, including without limitation the rights to use,
  25. * copy, modify, merge, publish, distribute, sublicense, and/or
  26. * sell copies of the Software, and to permit persons to whom the
  27. * Software is furnished to do so, subject to the following
  28. * conditions:
  29. *
  30. * The above copyright notice and this permission notice shall be
  31. * included in all copies or substantial portions of the Software.
  32. *
  33. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  34. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  35. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  36. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  37. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  38. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  39. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  40. * OTHER DEALINGS IN THE SOFTWARE.
  41. */
  42. /dts-v1/;
  43. #include "imx6q-bx50v3.dtsi"
  44. / {
  45. model = "General Electric B850v3";
  46. compatible = "ge,imx6q-b850v3", "advantech,imx6q-ba16", "fsl,imx6q";
  47. chosen {
  48. stdout-path = &uart3;
  49. };
  50. };
  51. &ldb {
  52. fsl,dual-channel;
  53. status = "okay";
  54. lvds0: lvds-channel@0 {
  55. fsl,data-mapping = "spwg";
  56. fsl,data-width = <24>;
  57. status = "okay";
  58. port@4 {
  59. reg = <4>;
  60. lvds0_out: endpoint {
  61. remote-endpoint = <&stdp4028_in>;
  62. };
  63. };
  64. };
  65. };
  66. &i2c2 {
  67. pca9547_ddc: mux@70 {
  68. compatible = "nxp,pca9547";
  69. reg = <0x70>;
  70. #address-cells = <1>;
  71. #size-cells = <0>;
  72. mux2_i2c1: i2c@0 {
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. reg = <0x0>;
  76. };
  77. mux2_i2c2: i2c@1 {
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. reg = <0x1>;
  81. };
  82. mux2_i2c3: i2c@2 {
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. reg = <0x2>;
  86. };
  87. mux2_i2c4: i2c@3 {
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. reg = <0x3>;
  91. };
  92. mux2_i2c5: i2c@4 {
  93. #address-cells = <1>;
  94. #size-cells = <0>;
  95. reg = <0x4>;
  96. };
  97. mux2_i2c6: i2c@5 {
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. reg = <0x5>;
  101. };
  102. mux2_i2c7: i2c@6 {
  103. #address-cells = <1>;
  104. #size-cells = <0>;
  105. reg = <0x6>;
  106. };
  107. mux2_i2c8: i2c@7 {
  108. #address-cells = <1>;
  109. #size-cells = <0>;
  110. reg = <0x7>;
  111. };
  112. };
  113. };
  114. &hdmi {
  115. ddc-i2c-bus = <&mux2_i2c1>;
  116. };
  117. &mux1_i2c1 {
  118. ads7830@4a {
  119. compatible = "ti,ads7830";
  120. reg = <0x4a>;
  121. };
  122. };
  123. &mux2_i2c2 {
  124. clock-frequency = <100000>;
  125. stdp2690@72 {
  126. compatible = "megachips,stdp2690-ge-b850v3-fw";
  127. reg = <0x72>;
  128. ports {
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. port@0 {
  132. reg = <0>;
  133. stdp2690_in: endpoint {
  134. remote-endpoint = <&stdp4028_out>;
  135. };
  136. };
  137. port@1 {
  138. reg = <1>;
  139. stdp2690_out: endpoint {
  140. /* Connector for external display */
  141. };
  142. };
  143. };
  144. };
  145. stdp4028@73 {
  146. compatible = "megachips,stdp4028-ge-b850v3-fw";
  147. reg = <0x73>;
  148. interrupt-parent = <&gpio2>;
  149. interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
  150. ports {
  151. #address-cells = <1>;
  152. #size-cells = <0>;
  153. port@0 {
  154. reg = <0>;
  155. stdp4028_in: endpoint {
  156. remote-endpoint = <&lvds0_out>;
  157. };
  158. };
  159. port@1 {
  160. reg = <1>;
  161. stdp4028_out: endpoint {
  162. remote-endpoint = <&stdp2690_in>;
  163. };
  164. };
  165. };
  166. };
  167. };
  168. &pca9539 {
  169. gpio-line-names = "AMB_P_INT1#", "AMB_P_INT2#", "BT_EN", "WLAN_EN",
  170. "REMOTE_ON_PML#", "SM_D_ACT", "DP1_RST#", "DP2_RST#",
  171. "", "", "", "",
  172. "", "", "", "";
  173. P10-hog {
  174. gpio-hog;
  175. gpios = <8 0>;
  176. output-low;
  177. line-name = "PCA9539-P10";
  178. };
  179. P11-hog {
  180. gpio-hog;
  181. gpios = <9 0>;
  182. output-low;
  183. line-name = "PCA9539-P11";
  184. };
  185. };
  186. &pci_root {
  187. /* PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch */
  188. bridge@1,0 {
  189. compatible = "pci10b5,8605";
  190. reg = <0x00010000 0 0 0 0>;
  191. #address-cells = <3>;
  192. #size-cells = <2>;
  193. #interrupt-cells = <1>;
  194. bridge@2,1 {
  195. compatible = "pci10b5,8605";
  196. reg = <0x00020800 0 0 0 0>;
  197. #address-cells = <3>;
  198. #size-cells = <2>;
  199. #interrupt-cells = <1>;
  200. /* Intel Corporation I210 Gigabit Network Connection */
  201. ethernet@3,0 {
  202. compatible = "pci8086,1533";
  203. reg = <0x00030000 0 0 0 0>;
  204. };
  205. };
  206. bridge@2,2 {
  207. compatible = "pci10b5,8605";
  208. reg = <0x00021000 0 0 0 0>;
  209. #address-cells = <3>;
  210. #size-cells = <2>;
  211. #interrupt-cells = <1>;
  212. /* Intel Corporation I210 Gigabit Network Connection */
  213. switch_nic: ethernet@4,0 {
  214. compatible = "pci8086,1533";
  215. reg = <0x00040000 0 0 0 0>;
  216. };
  217. };
  218. };
  219. };
  220. &switch_ports {
  221. port@0 {
  222. reg = <0>;
  223. label = "eneport1";
  224. phy-handle = <&switchphy0>;
  225. };
  226. port@1 {
  227. reg = <1>;
  228. label = "eneport2";
  229. phy-handle = <&switchphy1>;
  230. };
  231. port@2 {
  232. reg = <2>;
  233. label = "enix";
  234. phy-handle = <&switchphy2>;
  235. };
  236. port@3 {
  237. reg = <3>;
  238. label = "enid";
  239. phy-handle = <&switchphy3>;
  240. };
  241. port@4 {
  242. reg = <4>;
  243. label = "cpu";
  244. ethernet = <&switch_nic>;
  245. phy-handle = <&switchphy4>;
  246. };
  247. };