diff options
Diffstat (limited to 'arch/arm/boot/dts/imx28-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx28-evk.dts | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index ee520a529cb4..773c0e84d1fb 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts | |||
@@ -22,6 +22,13 @@ | |||
22 | 22 | ||
23 | apb@80000000 { | 23 | apb@80000000 { |
24 | apbh@80000000 { | 24 | apbh@80000000 { |
25 | gpmi-nand@8000c000 { | ||
26 | pinctrl-names = "default"; | ||
27 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg | ||
28 | &gpmi_pins_evk>; | ||
29 | status = "okay"; | ||
30 | }; | ||
31 | |||
25 | ssp0: ssp@80010000 { | 32 | ssp0: ssp@80010000 { |
26 | compatible = "fsl,imx28-mmc"; | 33 | compatible = "fsl,imx28-mmc"; |
27 | pinctrl-names = "default"; | 34 | pinctrl-names = "default"; |
@@ -29,6 +36,7 @@ | |||
29 | &mmc0_cd_cfg &mmc0_sck_cfg>; | 36 | &mmc0_cd_cfg &mmc0_sck_cfg>; |
30 | bus-width = <8>; | 37 | bus-width = <8>; |
31 | wp-gpios = <&gpio2 12 0>; | 38 | wp-gpios = <&gpio2 12 0>; |
39 | vmmc-supply = <®_vddio_sd0>; | ||
32 | status = "okay"; | 40 | status = "okay"; |
33 | }; | 41 | }; |
34 | 42 | ||
@@ -36,6 +44,72 @@ | |||
36 | compatible = "fsl,imx28-mmc"; | 44 | compatible = "fsl,imx28-mmc"; |
37 | bus-width = <8>; | 45 | bus-width = <8>; |
38 | wp-gpios = <&gpio0 28 0>; | 46 | wp-gpios = <&gpio0 28 0>; |
47 | }; | ||
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 */ | ||
63 | 0x3083 /* MX28_PAD_AUART2_RX__GPIO_3_8 */ | ||
64 | 0x3093 /* MX28_PAD_AUART2_TX__GPIO_3_9 */ | ||
65 | >; | ||
66 | fsl,drive-strength = <0>; | ||
67 | fsl,voltage = <1>; | ||
68 | fsl,pull-up = <0>; | ||
69 | }; | ||
70 | |||
71 | gpmi_pins_evk: gpmi-nand-evk@0 { | ||
72 | reg = <0>; | ||
73 | fsl,pinmux-ids = < | ||
74 | 0x0110 /* MX28_PAD_GPMI_CE1N__GPMI_CE1N */ | ||
75 | 0x0150 /* MX28_PAD_GPMI_RDY1__GPMI_READY1 */ | ||
76 | >; | ||
77 | fsl,drive-strength = <0>; | ||
78 | fsl,voltage = <1>; | ||
79 | fsl,pull-up = <0>; | ||
80 | }; | ||
81 | |||
82 | lcdif_pins_evk: lcdif-evk@0 { | ||
83 | reg = <0>; | ||
84 | fsl,pinmux-ids = < | ||
85 | 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ | ||
86 | 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ | ||
87 | 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ | ||
88 | 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ | ||
89 | >; | ||
90 | fsl,drive-strength = <0>; | ||
91 | fsl,voltage = <1>; | ||
92 | fsl,pull-up = <0>; | ||
93 | }; | ||
94 | }; | ||
95 | |||
96 | lcdif@80030000 { | ||
97 | pinctrl-names = "default"; | ||
98 | pinctrl-0 = <&lcdif_24bit_pins_a | ||
99 | &lcdif_pins_evk>; | ||
100 | panel-enable-gpios = <&gpio3 30 0>; | ||
101 | status = "okay"; | ||
102 | }; | ||
103 | |||
104 | can0: can@80032000 { | ||
105 | pinctrl-names = "default"; | ||
106 | pinctrl-0 = <&can0_pins_a>; | ||
107 | status = "okay"; | ||
108 | }; | ||
109 | |||
110 | can1: can@80034000 { | ||
111 | pinctrl-names = "default"; | ||
112 | pinctrl-0 = <&can1_pins_a>; | ||
39 | status = "okay"; | 113 | status = "okay"; |
40 | }; | 114 | }; |
41 | }; | 115 | }; |
@@ -68,19 +142,58 @@ | |||
68 | }; | 142 | }; |
69 | }; | 143 | }; |
70 | 144 | ||
145 | pwm: pwm@80064000 { | ||
146 | pinctrl-names = "default"; | ||
147 | pinctrl-0 = <&pwm2_pins_a>; | ||
148 | status = "okay"; | ||
149 | }; | ||
150 | |||
71 | duart: serial@80074000 { | 151 | duart: serial@80074000 { |
72 | pinctrl-names = "default"; | 152 | pinctrl-names = "default"; |
73 | pinctrl-0 = <&duart_pins_a>; | 153 | pinctrl-0 = <&duart_pins_a>; |
74 | status = "okay"; | 154 | status = "okay"; |
75 | }; | 155 | }; |
156 | |||
157 | auart0: serial@8006a000 { | ||
158 | pinctrl-names = "default"; | ||
159 | pinctrl-0 = <&auart0_pins_a>; | ||
160 | status = "okay"; | ||
161 | }; | ||
162 | |||
163 | auart3: serial@80070000 { | ||
164 | pinctrl-names = "default"; | ||
165 | pinctrl-0 = <&auart3_pins_a>; | ||
166 | status = "okay"; | ||
167 | }; | ||
168 | |||
169 | usbphy0: usbphy@8007c000 { | ||
170 | status = "okay"; | ||
171 | }; | ||
172 | |||
173 | usbphy1: usbphy@8007e000 { | ||
174 | status = "okay"; | ||
175 | }; | ||
76 | }; | 176 | }; |
77 | }; | 177 | }; |
78 | 178 | ||
79 | ahb@80080000 { | 179 | ahb@80080000 { |
180 | usb0: usb@80080000 { | ||
181 | vbus-supply = <®_usb0_vbus>; | ||
182 | status = "okay"; | ||
183 | }; | ||
184 | |||
185 | usb1: usb@80090000 { | ||
186 | vbus-supply = <®_usb1_vbus>; | ||
187 | status = "okay"; | ||
188 | }; | ||
189 | |||
80 | mac0: ethernet@800f0000 { | 190 | mac0: ethernet@800f0000 { |
81 | phy-mode = "rmii"; | 191 | phy-mode = "rmii"; |
82 | pinctrl-names = "default"; | 192 | pinctrl-names = "default"; |
83 | pinctrl-0 = <&mac0_pins_a>; | 193 | pinctrl-0 = <&mac0_pins_a>; |
194 | phy-supply = <®_fec_3v3>; | ||
195 | phy-reset-gpios = <&gpio4 13 0>; | ||
196 | phy-reset-duration = <100>; | ||
84 | status = "okay"; | 197 | status = "okay"; |
85 | }; | 198 | }; |
86 | 199 | ||
@@ -102,6 +215,40 @@ | |||
102 | regulator-max-microvolt = <3300000>; | 215 | regulator-max-microvolt = <3300000>; |
103 | regulator-always-on; | 216 | regulator-always-on; |
104 | }; | 217 | }; |
218 | |||
219 | reg_vddio_sd0: vddio-sd0 { | ||
220 | compatible = "regulator-fixed"; | ||
221 | regulator-name = "vddio-sd0"; | ||
222 | regulator-min-microvolt = <3300000>; | ||
223 | regulator-max-microvolt = <3300000>; | ||
224 | gpio = <&gpio3 28 0>; | ||
225 | }; | ||
226 | |||
227 | reg_fec_3v3: fec-3v3 { | ||
228 | compatible = "regulator-fixed"; | ||
229 | regulator-name = "fec-3v3"; | ||
230 | regulator-min-microvolt = <3300000>; | ||
231 | regulator-max-microvolt = <3300000>; | ||
232 | gpio = <&gpio2 15 0>; | ||
233 | }; | ||
234 | |||
235 | reg_usb0_vbus: usb0_vbus { | ||
236 | compatible = "regulator-fixed"; | ||
237 | regulator-name = "usb0_vbus"; | ||
238 | regulator-min-microvolt = <5000000>; | ||
239 | regulator-max-microvolt = <5000000>; | ||
240 | gpio = <&gpio3 9 0>; | ||
241 | enable-active-high; | ||
242 | }; | ||
243 | |||
244 | reg_usb1_vbus: usb1_vbus { | ||
245 | compatible = "regulator-fixed"; | ||
246 | regulator-name = "usb1_vbus"; | ||
247 | regulator-min-microvolt = <5000000>; | ||
248 | regulator-max-microvolt = <5000000>; | ||
249 | gpio = <&gpio3 8 0>; | ||
250 | enable-active-high; | ||
251 | }; | ||
105 | }; | 252 | }; |
106 | 253 | ||
107 | sound { | 254 | sound { |
@@ -111,4 +258,21 @@ | |||
111 | saif-controllers = <&saif0 &saif1>; | 258 | saif-controllers = <&saif0 &saif1>; |
112 | audio-codec = <&sgtl5000>; | 259 | audio-codec = <&sgtl5000>; |
113 | }; | 260 | }; |
261 | |||
262 | leds { | ||
263 | compatible = "gpio-leds"; | ||
264 | |||
265 | user { | ||
266 | label = "Heartbeat"; | ||
267 | gpios = <&gpio3 5 0>; | ||
268 | linux,default-trigger = "heartbeat"; | ||
269 | }; | ||
270 | }; | ||
271 | |||
272 | backlight { | ||
273 | compatible = "pwm-backlight"; | ||
274 | pwms = <&pwm 2 5000000>; | ||
275 | brightness-levels = <0 4 8 16 32 64 128 255>; | ||
276 | default-brightness-level = <6>; | ||
277 | }; | ||
114 | }; | 278 | }; |