Guest User

Untitled

a guest
Jan 25th, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.89 KB | None | 0 0
  1.  
  2. /*
  3. * Copyright 2013-2015 Freescale Semiconductor, Inc.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. */
  10.  
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. #include "imx6dl-pinfunc.h"
  13. #include "imx6qdl.dtsi"
  14.  
  15. / {
  16. aliases {
  17. i2c3 = &i2c4;
  18. };
  19.  
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23.  
  24. cpu0: cpu@0 {
  25. compatible = "arm,cortex-a9";
  26. device_type = "cpu";
  27. reg = <0>;
  28. next-level-cache = <&L2>;
  29. operating-points = <
  30. /* kHz uV */
  31. 996000 1250000
  32. 792000 1175000
  33. 396000 1150000
  34. >;
  35. fsl,soc-operating-points = <
  36. /* ARM kHz SOC-PU uV */
  37. 996000 1175000
  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. <&clks IMX6QDL_CLK_PLL1>,
  48. <&clks IMX6QDL_PLL1_BYPASS>,
  49. <&clks IMX6QDL_PLL1_BYPASS_SRC>;
  50. clock-names = "arm", "pll2_pfd2_396m", "step",
  51. "pll1_sw", "pll1_sys", "pll1",
  52. "pll1_bypass", "pll1_bypass_src";
  53. arm-supply = <&reg_arm>;
  54. pu-supply = <&reg_pu>;
  55. soc-supply = <&reg_soc>;
  56. };
  57.  
  58. cpu@1 {
  59. compatible = "arm,cortex-a9";
  60. device_type = "cpu";
  61. reg = <1>;
  62. next-level-cache = <&L2>;
  63. };
  64. };
  65.  
  66. reserved-memory {
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. ranges;
  70.  
  71. /* global autoconfigured region for contiguous allocations */
  72. linux,cma {
  73. compatible = "shared-dma-pool";
  74. reusable;
  75. size = <0x14000000>;
  76. linux,cma-default;
  77. };
  78. };
  79.  
  80. soc {
  81. busfreq {
  82. compatible = "fsl,imx_busfreq";
  83. clocks = <&clks IMX6QDL_CLK_PLL2_BUS>, <&clks IMX6QDL_CLK_PLL2_PFD2_396M>,
  84. <&clks IMX6QDL_CLK_PLL2_198M>, <&clks IMX6QDL_CLK_ARM>,
  85. <&clks IMX6QDL_CLK_PLL3_USB_OTG>, <&clks IMX6QDL_CLK_PERIPH>,
  86. <&clks IMX6QDL_CLK_PERIPH_PRE>, <&clks IMX6QDL_CLK_PERIPH_CLK2>,
  87. <&clks IMX6QDL_CLK_PERIPH_CLK2_SEL>, <&clks IMX6QDL_CLK_OSC>,
  88. <&clks IMX6QDL_CLK_AXI_ALT_SEL>, <&clks IMX6QDL_CLK_AXI_SEL> ,
  89. <&clks IMX6QDL_CLK_PLL3_PFD1_540M>;
  90. clock-names = "pll2_bus", "pll2_pfd2_396m", "pll2_198m", "arm", "pll3_usb_otg", "periph",
  91. "periph_pre", "periph_clk2", "periph_clk2_sel", "osc", "axi_alt_sel", "axi_sel", "pll3_pfd1_540m";
  92. interrupts = <0 107 0x04>, <0 112 0x4>;
  93. interrupt-names = "irq_busfreq_0", "irq_busfreq_1";
  94. fsl,max_ddr_freq = <400000000>;
  95. };
  96.  
  97. gpu@00130000 {
  98. compatible = "fsl,imx6dl-gpu", "fsl,imx6q-gpu";
  99. reg = <0x00130000 0x4000>, <0x00134000 0x4000>,
  100. <0x0 0x0>, <0x0 0x8000000>;
  101. reg-names = "iobase_3d", "iobase_2d",
  102. "phys_baseaddr", "contiguous_mem";
  103. interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>,
  104. <0 10 IRQ_TYPE_LEVEL_HIGH>;
  105. interrupt-names = "irq_3d", "irq_2d";
  106. clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>, <&clks IMX6QDL_CLK_OPENVG_AXI>,
  107. <&clks IMX6QDL_CLK_GPU3D_AXI>, <&clks IMX6QDL_CLK_GPU2D_CORE>,
  108. <&clks IMX6QDL_CLK_GPU3D_CORE>, <&clks IMX6QDL_CLK_DUMMY>;
  109. clock-names = "gpu2d_axi_clk", "openvg_axi_clk",
  110. "gpu3d_axi_clk", "gpu2d_clk",
  111. "gpu3d_clk", "gpu3d_shader_clk";
  112. resets = <&src 0>, <&src 3>;
  113. reset-names = "gpu3d", "gpu2d";
  114. power-domains = <&gpc 1>;
  115. };
  116.  
  117. ocram: sram@00905000 {
  118. compatible = "mmio-sram";
  119. reg = <0x00905000 0x1B000>;
  120. clocks = <&clks IMX6QDL_CLK_OCRAM>;
  121. };
  122.  
  123. aips1: aips-bus@02000000 {
  124. iomuxc: iomuxc@020e0000 {
  125. compatible = "fsl,imx6dl-iomuxc";
  126. };
  127.  
  128. dcic2: dcic@020e8000 {
  129. clocks = <&clks IMX6QDL_CLK_DCIC1 >,
  130. <&clks IMX6QDL_CLK_DCIC2>; /* DCIC2 depend on DCIC1 clock in imx6dl*/
  131. clock-names = "dcic", "disp-axi";
  132. };
  133.  
  134. pxp: pxp@020f0000 {
  135. compatible = "fsl,imx6dl-pxp-dma";
  136. reg = <0x020f0000 0x4000>;
  137. interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
  138. clocks = <&clks IMX6QDL_CLK_IPU2>, <&clks IMX6QDL_CLK_DUMMY>;
  139. clock-names = "pxp-axi", "disp-axi";
  140. status = "disabled";
  141. };
  142.  
  143. epdc: epdc@020f4000 {
  144. compatible = "fsl,imx6dl-epdc";
  145. reg = <0x020f4000 0x4000>;
  146. interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
  147. clocks = <&clks IMX6QDL_CLK_IPU2>, <&clks IMX6QDL_CLK_IPU2_DI1>;
  148. clock-names = "epdc_axi", "epdc_pix";
  149. };
  150.  
  151. lcdif: lcdif@020f8000 {
  152. reg = <0x020f8000 0x4000>;
  153. interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
  154. };
  155. };
  156.  
  157. aips2: aips-bus@02100000 {
  158. mipi_dsi: mipi@021e0000 {
  159. compatible = "fsl,imx6dl-mipi-dsi";
  160. reg = <0x021e0000 0x4000>;
  161. interrupts = <0 102 0x04>;
  162. gpr = <&gpr>;
  163. clocks = <&clks IMX6QDL_CLK_HSI_TX>, <&clks IMX6QDL_CLK_VIDEO_27M>;
  164. clock-names = "mipi_pllref_clk", "mipi_cfg_clk";
  165. status = "disabled";
  166. };
  167.  
  168. i2c4: i2c@021f8000 {
  169. #address-cells = <1>;
  170. #size-cells = <0>;
  171. compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
  172. reg = <0x021f8000 0x4000>;
  173. interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
  174. clocks = <&clks IMX6DL_CLK_I2C4>;
  175. status = "disabled";
  176. };
  177. };
  178. };
  179. };
  180.  
  181. &ldb {
  182. compatible = "fsl,imx6dl-ldb", "fsl,imx53-ldb";
  183. clocks = <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>,
  184. <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
  185. <&clks IMX6QDL_CLK_IPU2_DI0_SEL>,
  186. <&clks IMX6QDL_CLK_LDB_DI0_DIV_3_5>, <&clks IMX6QDL_CLK_LDB_DI1_DIV_3_5>,
  187. <&clks IMX6QDL_CLK_LDB_DI0_DIV_7>, <&clks IMX6QDL_CLK_LDB_DI1_DIV_7>,
  188. <&clks IMX6QDL_CLK_LDB_DI0_DIV_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_DIV_SEL>;
  189. clock-names = "ldb_di0", "ldb_di1",
  190. "di0_sel", "di1_sel",
  191. "di2_sel",
  192. "ldb_di0_div_3_5", "ldb_di1_div_3_5",
  193. "ldb_di0_div_7", "ldb_di1_div_7",
  194. "ldb_di0_div_sel", "ldb_di1_div_sel";
  195. };
  196.  
  197. &vpu {
  198. compatible = "fsl,imx6dl-vpu", "cnm,coda960";
  199. };
  200.  
  201. &vpu_fsl {
  202. iramsize = <0>;
  203. };
Advertisement
Add Comment
Please, Sign In to add comment