imx6q.dtsi 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. /*
  2. * Copyright 2013 Freescale Semiconductor, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. *
  8. */
  9. #include <dt-bindings/interrupt-controller/irq.h>
  10. #include "imx6q-pinfunc.h"
  11. #include "imx6qdl.dtsi"
  12. / {
  13. aliases {
  14. ipu1 = &ipu2;
  15. spi4 = &ecspi5;
  16. };
  17. cpus {
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. cpu0: cpu@0 {
  21. compatible = "arm,cortex-a9";
  22. device_type = "cpu";
  23. reg = <0>;
  24. next-level-cache = <&L2>;
  25. operating-points = <
  26. /* kHz uV */
  27. 1200000 1275000
  28. 996000 1250000
  29. 852000 1250000
  30. 792000 1175000
  31. 396000 975000
  32. >;
  33. fsl,soc-operating-points = <
  34. /* ARM kHz SOC-PU uV */
  35. 1200000 1275000
  36. 996000 1250000
  37. 852000 1250000
  38. 792000 1175000
  39. 396000 1175000
  40. >;
  41. clock-latency = <61036>; /* two CLK32 periods */
  42. clocks = <&clks IMX6QDL_CLK_ARM>,
  43. <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
  44. <&clks IMX6QDL_CLK_STEP>,
  45. <&clks IMX6QDL_CLK_PLL1_SW>,
  46. <&clks IMX6QDL_CLK_PLL1_SYS>;
  47. clock-names = "arm", "pll2_pfd2_396m", "step",
  48. "pll1_sw", "pll1_sys";
  49. arm-supply = <&reg_arm>;
  50. pu-supply = <&reg_pu>;
  51. soc-supply = <&reg_soc>;
  52. };
  53. cpu@1 {
  54. compatible = "arm,cortex-a9";
  55. device_type = "cpu";
  56. reg = <1>;
  57. next-level-cache = <&L2>;
  58. };
  59. cpu@2 {
  60. compatible = "arm,cortex-a9";
  61. device_type = "cpu";
  62. reg = <2>;
  63. next-level-cache = <&L2>;
  64. };
  65. cpu@3 {
  66. compatible = "arm,cortex-a9";
  67. device_type = "cpu";
  68. reg = <3>;
  69. next-level-cache = <&L2>;
  70. };
  71. };
  72. soc {
  73. ocram: sram@00900000 {
  74. compatible = "mmio-sram";
  75. reg = <0x00900000 0x40000>;
  76. clocks = <&clks IMX6QDL_CLK_OCRAM>;
  77. };
  78. aips-bus@02000000 { /* AIPS1 */
  79. spba-bus@02000000 {
  80. ecspi5: ecspi@02018000 {
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
  84. reg = <0x02018000 0x4000>;
  85. interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
  86. clocks = <&clks IMX6Q_CLK_ECSPI5>,
  87. <&clks IMX6Q_CLK_ECSPI5>;
  88. clock-names = "ipg", "per";
  89. dmas = <&sdma 11 7 1>, <&sdma 12 7 2>;
  90. dma-names = "rx", "tx";
  91. status = "disabled";
  92. };
  93. };
  94. iomuxc: iomuxc@020e0000 {
  95. compatible = "fsl,imx6q-iomuxc";
  96. };
  97. };
  98. sata: sata@02200000 {
  99. compatible = "fsl,imx6q-ahci";
  100. reg = <0x02200000 0x4000>;
  101. interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
  102. clocks = <&clks IMX6QDL_CLK_SATA>,
  103. <&clks IMX6QDL_CLK_SATA_REF_100M>,
  104. <&clks IMX6QDL_CLK_AHB>;
  105. clock-names = "sata", "sata_ref", "ahb";
  106. status = "disabled";
  107. };
  108. gpu_vg: gpu@02204000 {
  109. compatible = "vivante,gc";
  110. reg = <0x02204000 0x4000>;
  111. interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
  112. clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>,
  113. <&clks IMX6QDL_CLK_GPU2D_CORE>;
  114. clock-names = "bus", "core";
  115. power-domains = <&gpc 1>;
  116. };
  117. ipu2: ipu@02800000 {
  118. #address-cells = <1>;
  119. #size-cells = <0>;
  120. compatible = "fsl,imx6q-ipu";
  121. reg = <0x02800000 0x400000>;
  122. interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>,
  123. <0 7 IRQ_TYPE_LEVEL_HIGH>;
  124. clocks = <&clks IMX6QDL_CLK_IPU2>,
  125. <&clks IMX6QDL_CLK_IPU2_DI0>,
  126. <&clks IMX6QDL_CLK_IPU2_DI1>;
  127. clock-names = "bus", "di0", "di1";
  128. resets = <&src 4>;
  129. ipu2_csi0: port@0 {
  130. reg = <0>;
  131. };
  132. ipu2_csi1: port@1 {
  133. reg = <1>;
  134. };
  135. ipu2_di0: port@2 {
  136. #address-cells = <1>;
  137. #size-cells = <0>;
  138. reg = <2>;
  139. ipu2_di0_disp0: disp0-endpoint {
  140. };
  141. ipu2_di0_hdmi: hdmi-endpoint {
  142. remote-endpoint = <&hdmi_mux_2>;
  143. };
  144. ipu2_di0_mipi: mipi-endpoint {
  145. remote-endpoint = <&mipi_mux_2>;
  146. };
  147. ipu2_di0_lvds0: lvds0-endpoint {
  148. remote-endpoint = <&lvds0_mux_2>;
  149. };
  150. ipu2_di0_lvds1: lvds1-endpoint {
  151. remote-endpoint = <&lvds1_mux_2>;
  152. };
  153. };
  154. ipu2_di1: port@3 {
  155. #address-cells = <1>;
  156. #size-cells = <0>;
  157. reg = <3>;
  158. ipu2_di1_hdmi: hdmi-endpoint {
  159. remote-endpoint = <&hdmi_mux_3>;
  160. };
  161. ipu2_di1_mipi: mipi-endpoint {
  162. remote-endpoint = <&mipi_mux_3>;
  163. };
  164. ipu2_di1_lvds0: lvds0-endpoint {
  165. remote-endpoint = <&lvds0_mux_3>;
  166. };
  167. ipu2_di1_lvds1: lvds1-endpoint {
  168. remote-endpoint = <&lvds1_mux_3>;
  169. };
  170. };
  171. };
  172. };
  173. display-subsystem {
  174. compatible = "fsl,imx-display-subsystem";
  175. ports = <&ipu1_di0>, <&ipu1_di1>, <&ipu2_di0>, <&ipu2_di1>;
  176. };
  177. gpu-subsystem {
  178. compatible = "fsl,imx-gpu-subsystem";
  179. cores = <&gpu_2d>, <&gpu_3d>, <&gpu_vg>;
  180. };
  181. };
  182. &hdmi {
  183. compatible = "fsl,imx6q-hdmi";
  184. port@2 {
  185. reg = <2>;
  186. hdmi_mux_2: endpoint {
  187. remote-endpoint = <&ipu2_di0_hdmi>;
  188. };
  189. };
  190. port@3 {
  191. reg = <3>;
  192. hdmi_mux_3: endpoint {
  193. remote-endpoint = <&ipu2_di1_hdmi>;
  194. };
  195. };
  196. };
  197. &ldb {
  198. clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
  199. <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
  200. <&clks IMX6QDL_CLK_IPU2_DI0_SEL>, <&clks IMX6QDL_CLK_IPU2_DI1_SEL>,
  201. <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
  202. clock-names = "di0_pll", "di1_pll",
  203. "di0_sel", "di1_sel", "di2_sel", "di3_sel",
  204. "di0", "di1";
  205. lvds-channel@0 {
  206. port@2 {
  207. reg = <2>;
  208. lvds0_mux_2: endpoint {
  209. remote-endpoint = <&ipu2_di0_lvds0>;
  210. };
  211. };
  212. port@3 {
  213. reg = <3>;
  214. lvds0_mux_3: endpoint {
  215. remote-endpoint = <&ipu2_di1_lvds0>;
  216. };
  217. };
  218. };
  219. lvds-channel@1 {
  220. port@2 {
  221. reg = <2>;
  222. lvds1_mux_2: endpoint {
  223. remote-endpoint = <&ipu2_di0_lvds1>;
  224. };
  225. };
  226. port@3 {
  227. reg = <3>;
  228. lvds1_mux_3: endpoint {
  229. remote-endpoint = <&ipu2_di1_lvds1>;
  230. };
  231. };
  232. };
  233. };
  234. &mipi_dsi {
  235. ports {
  236. port@2 {
  237. reg = <2>;
  238. mipi_mux_2: endpoint {
  239. remote-endpoint = <&ipu2_di0_mipi>;
  240. };
  241. };
  242. port@3 {
  243. reg = <3>;
  244. mipi_mux_3: endpoint {
  245. remote-endpoint = <&ipu2_di1_mipi>;
  246. };
  247. };
  248. };
  249. };
  250. &vpu {
  251. compatible = "fsl,imx6q-vpu", "cnm,coda960";
  252. };