ARM: dts: imx28: move extra gpmi-nand pins into board dts
[deliverable/linux.git] / arch / arm / boot / dts / imx28-evk.dts
CommitLineData
bc3a59c1
DA
1/*
2 * Copyright 2012 Freescale Semiconductor, Inc.
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/dts-v1/;
13/include/ "imx28.dtsi"
14
15/ {
16 model = "Freescale i.MX28 Evaluation Kit";
17 compatible = "fsl,imx28-evk", "fsl,imx28";
18
19 memory {
20 reg = <0x40000000 0x08000000>;
21 };
22
23 apb@80000000 {
35d23047 24 apbh@80000000 {
7a8e5149
HS
25 gpmi-nand@8000c000 {
26 pinctrl-names = "default";
daefb696
SG
27 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg
28 &gpmi_pins_evk>;
7a8e5149
HS
29 status = "okay";
30 };
31
35d23047
SG
32 ssp0: ssp@80010000 {
33 compatible = "fsl,imx28-mmc";
34 pinctrl-names = "default";
35 pinctrl-0 = <&mmc0_8bit_pins_a
36 &mmc0_cd_cfg &mmc0_sck_cfg>;
37 bus-width = <8>;
38 wp-gpios = <&gpio2 12 0>;
64edbcdd 39 vmmc-supply = <&reg_vddio_sd0>;
35d23047
SG
40 status = "okay";
41 };
42
43 ssp1: ssp@80012000 {
44 compatible = "fsl,imx28-mmc";
45 bus-width = <8>;
46 wp-gpios = <&gpio0 28 0>;
35d23047 47 };
d54dbb50
SG
48
49 pinctrl@80018000 {
50 pinctrl-names = "default";
51 pinctrl-0 = <&hog_pins_a>;
52
53 hog_pins_a: hog-gpios@0 {
54 reg = <0>;
55 fsl,pinmux-ids = <
56 0x20d3 /* MX28_PAD_SSP1_CMD__GPIO_2_13 */
57 0x20f3 /* MX28_PAD_SSP1_DATA3__GPIO_2_15 */
58 0x40d3 /* MX28_PAD_ENET0_RX_CLK__GPIO_4_13 */
59 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */
60 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */
61 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
62 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
daefb696
SG
63 >;
64 fsl,drive-strength = <0>;
65 fsl,voltage = <1>;
66 fsl,pull-up = <0>;
67 };
68
69 gpmi_pins_evk: gpmi-nand-evk@0 {
70 reg = <0>;
71 fsl,pinmux-ids = <
72 0x0110 /* MX28_PAD_GPMI_CE1N__GPMI_CE1N */
73 0x0150 /* MX28_PAD_GPMI_RDY1__GPMI_READY1 */
d54dbb50
SG
74 >;
75 fsl,drive-strength = <0>;
76 fsl,voltage = <1>;
77 fsl,pull-up = <0>;
78 };
79 };
a915ee42
SG
80
81 lcdif@80030000 {
82 pinctrl-names = "default";
83 pinctrl-0 = <&lcdif_24bit_pins_a>;
84 panel-enable-gpios = <&gpio3 30 0>;
85 status = "okay";
86 };
6ca44acf
SG
87
88 can0: can@80032000 {
89 pinctrl-names = "default";
90 pinctrl-0 = <&can0_pins_a>;
91 status = "okay";
92 };
93
94 can1: can@80034000 {
95 pinctrl-names = "default";
96 pinctrl-0 = <&can1_pins_a>;
97 status = "okay";
98 };
35d23047
SG
99 };
100
bc3a59c1 101 apbx@80040000 {
530f1d41
SG
102 saif0: saif@80042000 {
103 pinctrl-names = "default";
104 pinctrl-0 = <&saif0_pins_a>;
105 status = "okay";
106 };
107
108 saif1: saif@80046000 {
109 pinctrl-names = "default";
110 pinctrl-0 = <&saif1_pins_a>;
111 fsl,saif-master = <&saif0>;
112 status = "okay";
113 };
114
2a96e391
SG
115 i2c0: i2c@80058000 {
116 pinctrl-names = "default";
117 pinctrl-0 = <&i2c0_pins_a>;
118 status = "okay";
530f1d41
SG
119
120 sgtl5000: codec@0a {
121 compatible = "fsl,sgtl5000";
122 reg = <0x0a>;
123 VDDA-supply = <&reg_3p3v>;
124 VDDIO-supply = <&reg_3p3v>;
125
126 };
2a96e391
SG
127 };
128
52f7176b
SG
129 pwm: pwm@80064000 {
130 pinctrl-names = "default";
131 pinctrl-0 = <&pwm2_pins_a>;
132 status = "okay";
133 };
134
bc3a59c1
DA
135 duart: serial@80074000 {
136 pinctrl-names = "default";
137 pinctrl-0 = <&duart_pins_a>;
138 status = "okay";
139 };
80d969e4
FE
140
141 auart0: serial@8006a000 {
142 pinctrl-names = "default";
143 pinctrl-0 = <&auart0_pins_a>;
144 status = "okay";
145 };
146
147 auart3: serial@80070000 {
148 pinctrl-names = "default";
149 pinctrl-0 = <&auart3_pins_a>;
150 status = "okay";
151 };
bc3a59c1
DA
152 };
153 };
154
155 ahb@80080000 {
156 mac0: ethernet@800f0000 {
157 phy-mode = "rmii";
158 pinctrl-names = "default";
159 pinctrl-0 = <&mac0_pins_a>;
c9987c81
SG
160 phy-supply = <&reg_fec_3v3>;
161 phy-reset-gpios = <&gpio4 13 0>;
162 phy-reset-duration = <100>;
bc3a59c1
DA
163 status = "okay";
164 };
165
166 mac1: ethernet@800f4000 {
167 phy-mode = "rmii";
168 pinctrl-names = "default";
169 pinctrl-0 = <&mac1_pins_a>;
170 status = "okay";
171 };
172 };
530f1d41
SG
173
174 regulators {
175 compatible = "simple-bus";
176
177 reg_3p3v: 3p3v {
178 compatible = "regulator-fixed";
179 regulator-name = "3P3V";
180 regulator-min-microvolt = <3300000>;
181 regulator-max-microvolt = <3300000>;
182 regulator-always-on;
183 };
64edbcdd
SG
184
185 reg_vddio_sd0: vddio-sd0 {
186 compatible = "regulator-fixed";
187 regulator-name = "vddio-sd0";
188 regulator-min-microvolt = <3300000>;
189 regulator-max-microvolt = <3300000>;
190 gpio = <&gpio3 28 0>;
191 };
c9987c81
SG
192
193 reg_fec_3v3: fec-3v3 {
194 compatible = "regulator-fixed";
195 regulator-name = "fec-3v3";
196 regulator-min-microvolt = <3300000>;
197 regulator-max-microvolt = <3300000>;
198 gpio = <&gpio2 15 0>;
199 };
530f1d41
SG
200 };
201
202 sound {
203 compatible = "fsl,imx28-evk-sgtl5000",
204 "fsl,mxs-audio-sgtl5000";
205 model = "imx28-evk-sgtl5000";
206 saif-controllers = <&saif0 &saif1>;
207 audio-codec = <&sgtl5000>;
208 };
a600e333
SG
209
210 leds {
211 compatible = "gpio-leds";
212
213 user {
214 label = "Heartbeat";
215 gpios = <&gpio3 5 0>;
216 linux,default-trigger = "heartbeat";
217 };
218 };
52f7176b
SG
219
220 backlight {
221 compatible = "pwm-backlight";
222 pwms = <&pwm 2 5000000>;
223 brightness-levels = <0 4 8 16 32 64 128 255>;
224 default-brightness-level = <6>;
225 };
bc3a59c1 226};
This page took 0.053935 seconds and 5 git commands to generate.