ARM: dts: armada388-clearfog: enable spi flash
[linux-2.6-block.git] / arch / arm / boot / dts / omap3-igep0030.dts
CommitLineData
9ad1df2b 1/*
a1f4d206 2 * Device Tree Source for IGEP COM MODULE Rev. E (TI OMAP AM/DM37x)
9ad1df2b 3 *
56a31e54 4 * Copyright (C) 2012 Javier Martinez Canillas <javier@osg.samsung.com>
9ad1df2b
JMC
5 * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
8647f2bc 12#include "omap3-igep0030-common.dtsi"
9ad1df2b
JMC
13
14/ {
a1f4d206 15 model = "IGEP COM MODULE Rev. E (TI OMAP AM/DM37x)";
fb0cfecf 16 compatible = "isee,omap3-igep0030", "ti,omap36xx", "ti,omap3";
9ad1df2b 17
89c6f2e5 18 vmmcsdio_fixed: fixedregulator-mmcsdio {
2de584ed 19 compatible = "regulator-fixed";
89c6f2e5 20 regulator-name = "vmmcsdio_fixed";
2de584ed
EBS
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
2de584ed
EBS
23 };
24
89c6f2e5
JMC
25 mmc2_pwrseq: mmc2_pwrseq {
26 compatible = "mmc-pwrseq-simple";
27 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>, /* gpio_139 - RESET_N_W */
28 <&gpio5 10 GPIO_ACTIVE_LOW>; /* gpio_138 - WIFI_PDN */
2de584ed 29 };
9ad1df2b 30};
bc6b820d 31
86f9abb6 32&omap3_pmx_core {
2de584ed
EBS
33 lbee1usjyc_pins: pinmux_lbee1usjyc_pins {
34 pinctrl-single,pins = <
35 OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 - RESET_N_W */
36 OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 - WIFI_PDN */
37 OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 - RST_N_B */
38 >;
39 };
86f9abb6
EBS
40};
41
8647f2bc
EBS
42&leds {
43 pinctrl-names = "default";
44 pinctrl-0 = <&leds_core2_pins>;
45
46 boot {
47 label = "omap3:green:boot";
48 gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>; /* LEDSYNC */
49 default-state = "on";
3d495383 50 };
78132036
JMC
51};
52
2de584ed
EBS
53/* On board Wifi module */
54&mmc2 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
89c6f2e5
JMC
57 vmmc-supply = <&vmmcsdio_fixed>;
58 mmc-pwrseq = <&mmc2_pwrseq>;
2de584ed
EBS
59 bus-width = <4>;
60 non-removable;
61};
62