GNU Linux-libre 4.9.331-gnu1
[releases.git] / arch / arm / boot / dts / imx6dl.dtsi
1
2 /*
3  * Copyright 2013 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                 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                         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
54                 cpu@1 {
55                         compatible = "arm,cortex-a9";
56                         device_type = "cpu";
57                         reg = <1>;
58                         next-level-cache = <&L2>;
59                 };
60         };
61
62         soc {
63                 ocram: sram@00900000 {
64                         compatible = "mmio-sram";
65                         reg = <0x00900000 0x20000>;
66                         ranges = <0 0x00900000 0x20000>;
67                         #address-cells = <1>;
68                         #size-cells = <1>;
69                         clocks = <&clks IMX6QDL_CLK_OCRAM>;
70                 };
71
72                 aips1: aips-bus@02000000 {
73                         iomuxc: iomuxc@020e0000 {
74                                 compatible = "fsl,imx6dl-iomuxc";
75                         };
76
77                         pxp: pxp@020f0000 {
78                                 reg = <0x020f0000 0x4000>;
79                                 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
80                         };
81
82                         epdc: epdc@020f4000 {
83                                 reg = <0x020f4000 0x4000>;
84                                 interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
85                         };
86
87                         lcdif: lcdif@020f8000 {
88                                 reg = <0x020f8000 0x4000>;
89                                 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
90                         };
91                 };
92
93                 aips2: aips-bus@02100000 {
94                         i2c4: i2c@021f8000 {
95                                 #address-cells = <1>;
96                                 #size-cells = <0>;
97                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
98                                 reg = <0x021f8000 0x4000>;
99                                 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
100                                 clocks = <&clks IMX6DL_CLK_I2C4>;
101                                 status = "disabled";
102                         };
103                 };
104         };
105
106         display-subsystem {
107                 compatible = "fsl,imx-display-subsystem";
108                 ports = <&ipu1_di0>, <&ipu1_di1>;
109         };
110
111         gpu-subsystem {
112                 compatible = "fsl,imx-gpu-subsystem";
113                 cores = <&gpu_2d>, <&gpu_3d>;
114         };
115 };
116
117 &gpio1 {
118         gpio-ranges = <&iomuxc  0 131 2>, <&iomuxc  2 137 8>, <&iomuxc 10 189 2>,
119                       <&iomuxc 12 194 1>, <&iomuxc 13 193 1>, <&iomuxc 14 192 1>,
120                       <&iomuxc 15 191 1>, <&iomuxc 16 185 2>, <&iomuxc 18 184 1>,
121                       <&iomuxc 19 187 1>, <&iomuxc 20 183 1>, <&iomuxc 21 188 1>,
122                       <&iomuxc 22 123 3>, <&iomuxc 25 121 1>, <&iomuxc 26 127 1>,
123                       <&iomuxc 27 126 1>, <&iomuxc 28 128 1>, <&iomuxc 29 130 1>,
124                       <&iomuxc 30 129 1>, <&iomuxc 31 122 1>;
125 };
126
127 &gpio2 {
128         gpio-ranges = <&iomuxc  0 161 8>, <&iomuxc  8 208 8>, <&iomuxc 16  74 1>,
129                       <&iomuxc 17  73 1>, <&iomuxc 18  72 1>, <&iomuxc 19  71 1>,
130                       <&iomuxc 20  70 1>, <&iomuxc 21  69 1>, <&iomuxc 22  68 1>,
131                       <&iomuxc 23  79 2>, <&iomuxc 25 118 2>, <&iomuxc 27 117 1>,
132                       <&iomuxc 28 113 4>;
133 };
134
135 &gpio3 {
136         gpio-ranges = <&iomuxc  0 97  2>, <&iomuxc 2 105 8>, <&iomuxc 10 99 6>,
137                       <&iomuxc 16 81 16>;
138 };
139
140 &gpio4 {
141         gpio-ranges = <&iomuxc  5 136 1>, <&iomuxc  6 145 1>, <&iomuxc  7 150 1>,
142                       <&iomuxc  8 146 1>, <&iomuxc  9 151 1>, <&iomuxc 10 147 1>,
143                       <&iomuxc 11 152 1>, <&iomuxc 12 148 1>, <&iomuxc 13 153 1>,
144                       <&iomuxc 14 149 1>, <&iomuxc 15 154 1>, <&iomuxc 16  39 7>,
145                       <&iomuxc 23  56 1>, <&iomuxc 24  61 7>, <&iomuxc 31  46 1>;
146 };
147
148 &gpio5 {
149         gpio-ranges = <&iomuxc  0 120 1>, <&iomuxc  2 77 1>, <&iomuxc  4 76 1>,
150                       <&iomuxc  5  47 9>, <&iomuxc 14 57 4>, <&iomuxc 18 37 1>,
151                       <&iomuxc 19  36 1>, <&iomuxc 20 35 1>, <&iomuxc 21 38 1>,
152                       <&iomuxc 22  29 6>, <&iomuxc 28 19 4>;
153 };
154
155 &gpio6 {
156         gpio-ranges = <&iomuxc  0  23 6>, <&iomuxc  6  75 1>, <&iomuxc  7 156 1>,
157                       <&iomuxc  8 155 1>, <&iomuxc  9 170 1>, <&iomuxc 10 169 1>,
158                       <&iomuxc 11 157 1>, <&iomuxc 14 158 3>, <&iomuxc 17 204 1>,
159                       <&iomuxc 18 203 1>, <&iomuxc 19 182 1>, <&iomuxc 20 177 4>,
160                       <&iomuxc 24 175 1>, <&iomuxc 25 171 1>, <&iomuxc 26 181 1>,
161                       <&iomuxc 27 172 3>, <&iomuxc 30 176 1>, <&iomuxc 31  78 1>;
162 };
163
164 &gpio7 {
165         gpio-ranges = <&iomuxc 0 202 1>, <&iomuxc  1 201 1>, <&iomuxc  2 196 1>,
166                       <&iomuxc 3 195 1>, <&iomuxc  4 197 4>, <&iomuxc  8 205 1>,
167                       <&iomuxc 9 207 1>, <&iomuxc 10 206 1>, <&iomuxc 11 133 3>;
168 };
169
170 &gpt {
171         compatible = "fsl,imx6dl-gpt";
172 };
173
174 &hdmi {
175         compatible = "fsl,imx6dl-hdmi";
176 };
177
178 &ldb {
179         clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
180                  <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
181                  <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
182         clock-names = "di0_pll", "di1_pll",
183                       "di0_sel", "di1_sel",
184                       "di0", "di1";
185 };
186
187 &vpu {
188         compatible = "fsl,imx6dl-vpu", "cnm,coda960";
189 };