mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / imx28-m28evk.dts
blob7d64301529c76dd611521f36c3b2e95c749666f2
1 /*
3  * Copyright (C) 2012 Marek Vasut <marex@denx.de>
4  *
5  * The code contained herein is licensed under the GNU General Public
6  * License. You may obtain a copy of the GNU General Public License
7  * Version 2 or later at the following locations:
8  *
9  * http://www.opensource.org/licenses/gpl-license.html
10  * http://www.gnu.org/copyleft/gpl.html
11  */
13 /dts-v1/;
14 #include "imx28-m28.dtsi"
16 / {
17         model = "Aries/DENX M28EVK";
18         compatible = "aries,m28evk", "denx,m28evk", "fsl,imx28";
20         apb@80000000 {
21                 apbh@80000000 {
22                         ssp0: spi@80010000 {
23                                 compatible = "fsl,imx28-mmc";
24                                 pinctrl-names = "default";
25                                 pinctrl-0 = <&mmc0_8bit_pins_a
26                                              &mmc0_cd_cfg
27                                              &mmc0_sck_cfg>;
28                                 bus-width = <8>;
29                                 wp-gpios = <&gpio3 10 0>;
30                                 vmmc-supply = <&reg_vddio_sd0>;
31                                 status = "okay";
32                         };
34                         ssp2: spi@80014000 {
35                                 #address-cells = <1>;
36                                 #size-cells = <0>;
37                                 compatible = "fsl,imx28-spi";
38                                 pinctrl-names = "default";
39                                 pinctrl-0 = <&spi2_pins_a>;
40                                 status = "okay";
42                                 flash: m25p80@0 {
43                                         #address-cells = <1>;
44                                         #size-cells = <1>;
45                                         compatible = "m25p80", "jedec,spi-nor";
46                                         spi-max-frequency = <40000000>;
47                                         reg = <0>;
48                                 };
49                         };
51                         pinctrl@80018000 {
52                                 pinctrl-names = "default";
53                                 pinctrl-0 = <&hog_pins_a>;
55                                 hog_pins_a: hog@0 {
56                                         reg = <0>;
57                                         fsl,pinmux-ids = <
58                                                 MX28_PAD_PWM3__GPIO_3_28
59                                                 MX28_PAD_AUART2_CTS__GPIO_3_10
60                                                 MX28_PAD_AUART2_RTS__GPIO_3_11
61                                                 MX28_PAD_AUART3_RX__GPIO_3_12
62                                                 MX28_PAD_AUART3_TX__GPIO_3_13
63                                         >;
64                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
65                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
66                                         fsl,pull-up = <MXS_PULL_DISABLE>;
67                                 };
69                                 lcdif_pins_m28: lcdif-m28@0 {
70                                         reg = <0>;
71                                         fsl,pinmux-ids = <
72                                                 MX28_PAD_LCD_DOTCLK__LCD_DOTCLK
73                                                 MX28_PAD_LCD_ENABLE__LCD_ENABLE
74                                         >;
75                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
76                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
77                                         fsl,pull-up = <MXS_PULL_DISABLE>;
78                                 };
79                         };
81                         lcdif@80030000 {
82                                 pinctrl-names = "default";
83                                 pinctrl-0 = <&lcdif_24bit_pins_a
84                                              &lcdif_pins_m28>;
85                                 display = <&display0>;
86                                 status = "okay";
88                                 display0: display0 {
89                                         bits-per-pixel = <16>;
90                                         bus-width = <18>;
92                                         display-timings {
93                                                 native-mode = <&timing0>;
94                                                 timing0: timing0 {
95                                                         clock-frequency = <33260000>;
96                                                         hactive = <800>;
97                                                         vactive = <480>;
98                                                         hback-porch = <0>;
99                                                         hfront-porch = <256>;
100                                                         vback-porch = <0>;
101                                                         vfront-porch = <45>;
102                                                         hsync-len = <1>;
103                                                         vsync-len = <1>;
104                                                         hsync-active = <0>;
105                                                         vsync-active = <0>;
106                                                         de-active = <1>;
107                                                         pixelclk-active = <1>;
108                                                 };
109                                         };
110                                 };
111                         };
113                         can0: can@80032000 {
114                                 pinctrl-names = "default";
115                                 pinctrl-0 = <&can0_pins_a>;
116                                 status = "okay";
117                         };
119                         can1: can@80034000 {
120                                 pinctrl-names = "default";
121                                 pinctrl-0 = <&can1_pins_a>;
122                                 status = "okay";
123                         };
124                 };
126                 apbx@80040000 {
127                         saif0: saif@80042000 {
128                                 pinctrl-names = "default";
129                                 pinctrl-0 = <&saif0_pins_a>;
130                                 status = "okay";
131                         };
133                         saif1: saif@80046000 {
134                                 pinctrl-names = "default";
135                                 pinctrl-0 = <&saif1_pins_a>;
136                                 fsl,saif-master = <&saif0>;
137                                 status = "okay";
138                         };
140                         i2c0: i2c@80058000 {
141                                 sgtl5000: codec@a {
142                                         compatible = "fsl,sgtl5000";
143                                         reg = <0x0a>;
144                                         #sound-dai-cells = <0>;
145                                         VDDA-supply = <&reg_3p3v>;
146                                         VDDIO-supply = <&reg_3p3v>;
147                                         clocks = <&saif0>;
148                                 };
150                                 eeprom: eeprom@51 {
151                                         compatible = "atmel,24c128";
152                                         reg = <0x51>;
153                                         pagesize = <32>;
154                                 };
155                         };
157                         lradc@80050000 {
158                                 status = "okay";
159                                 fsl,lradc-touchscreen-wires = <4>;
160                         };
162                         duart: serial@80074000 {
163                                 pinctrl-names = "default";
164                                 pinctrl-0 = <&duart_pins_a>;
165                                 status = "okay";
166                         };
168                         usbphy0: usbphy@8007c000 {
169                                 status = "okay";
170                         };
172                         usbphy1: usbphy@8007e000 {
173                                 status = "okay";
174                         };
176                         auart0: serial@8006a000 {
177                                 pinctrl-names = "default";
178                                 pinctrl-0 = <&auart0_pins_a>;
179                                 status = "okay";
180                         };
182                         auart1: serial@8006c000 {
183                                 pinctrl-names = "default";
184                                 pinctrl-0 = <&auart1_pins_a>;
185                                 status = "okay";
186                         };
188                         auart2: serial@8006e000 {
189                                 pinctrl-names = "default";
190                                 pinctrl-0 = <&auart2_2pins_b>;
191                                 status = "okay";
192                         };
194                         pwm: pwm@80064000 {
195                                 pinctrl-names = "default";
196                                 pinctrl-0 = <&pwm4_pins_a>;
197                                 status = "okay";
198                         };
199                 };
200         };
202         ahb@80080000 {
203                 usb0: usb@80080000 {
204                         vbus-supply = <&reg_usb0_vbus>;
205                         pinctrl-names = "default";
206                         pinctrl-0 = <&usb0_pins_a>;
207                         status = "okay";
208                 };
210                 usb1: usb@80090000 {
211                         vbus-supply = <&reg_usb1_vbus>;
212                         pinctrl-names = "default";
213                         pinctrl-0 = <&usb1_pins_a>;
214                         status = "okay";
215                 };
217                 mac0: ethernet@800f0000 {
218                         phy-mode = "rmii";
219                         pinctrl-names = "default";
220                         pinctrl-0 = <&mac0_pins_a>;
221                         clocks = <&clks 57>, <&clks 57>;
222                         clock-names = "ipg", "ahb";
223                         status = "okay";
224                 };
226                 mac1: ethernet@800f4000 {
227                         phy-mode = "rmii";
228                         pinctrl-names = "default";
229                         pinctrl-0 = <&mac1_pins_a>;
230                         status = "okay";
231                 };
232         };
234         backlight {
235                 compatible = "pwm-backlight";
236                 pwms = <&pwm 4 5000000>;
237                 brightness-levels = <0 4 8 16 32 64 128 255>;
238                 default-brightness-level = <6>;
239         };
241         regulators {
242                 reg_vddio_sd0: regulator@1 {
243                         compatible = "regulator-fixed";
244                         reg = <1>;
245                         regulator-name = "vddio-sd0";
246                         regulator-min-microvolt = <3300000>;
247                         regulator-max-microvolt = <3300000>;
248                         gpio = <&gpio3 28 0>;
249                 };
251                 reg_usb0_vbus: regulator@2 {
252                         compatible = "regulator-fixed";
253                         reg = <2>;
254                         regulator-name = "usb0_vbus";
255                         regulator-min-microvolt = <5000000>;
256                         regulator-max-microvolt = <5000000>;
257                         gpio = <&gpio3 12 0>;
258                 };
260                 reg_usb1_vbus: regulator@3 {
261                         compatible = "regulator-fixed";
262                         reg = <3>;
263                         regulator-name = "usb1_vbus";
264                         regulator-min-microvolt = <5000000>;
265                         regulator-max-microvolt = <5000000>;
266                         gpio = <&gpio3 13 0>;
267                 };
268         };
270         sound {
271                 compatible = "denx,m28evk-sgtl5000",
272                              "fsl,mxs-audio-sgtl5000";
273                 model = "m28evk-sgtl5000";
274                 saif-controllers = <&saif0 &saif1>;
275                 audio-codec = <&sgtl5000>;
276         };