blob: 33d6b4ead0925025fbba5ba037283fa904a559db [file] [log] [blame]
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +01001/*
Enric Balletbo i Serra99270642014-11-06 13:01:44 +01002 * Device Tree Source for IGEPv2 Rev. C (TI OMAP AM/DM37x)
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +01003 *
Javier Martinez Canillas56a31e52015-10-14 12:00:30 +02004 * Copyright (C) 2012 Javier Martinez Canillas <javier@osg.samsung.com>
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +01005 * 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
Enric Balletbo i Serraebc13bf2014-11-06 13:01:48 +010012#include "omap3-igep0020-common.dtsi"
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010013
14/ {
Enric Balletbo i Serra99270642014-11-06 13:01:44 +010015 model = "IGEPv2 Rev. C (TI OMAP AM/DM37x)";
Javier Martinez Canillasfb0cfec2014-02-22 10:59:36 -030016 compatible = "isee,omap3-igep0020", "ti,omap36xx", "ti,omap3";
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010017
Javier Martinez Canillasfd7e1182015-12-03 15:02:08 -030018 vmmcsdio_fixed: fixedregulator-mmcsdio {
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010019 compatible = "regulator-fixed";
Javier Martinez Canillasfd7e1182015-12-03 15:02:08 -030020 regulator-name = "vmmcsdio_fixed";
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010021 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010023 };
24
Javier Martinez Canillasfd7e1182015-12-03 15:02:08 -030025 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 */
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010029 };
Javier Martinez Canillas339e8342013-10-07 17:12:24 +020030};
31
32&omap3_pmx_core {
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010033 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 };
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010040};
41
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010042/* On board Wifi module */
43&mmc2 {
44 pinctrl-names = "default";
45 pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
Javier Martinez Canillasfd7e1182015-12-03 15:02:08 -030046 vmmc-supply = <&vmmcsdio_fixed>;
47 mmc-pwrseq = <&mmc2_pwrseq>;
Enric Balletbo i Serra2de584e2014-11-06 13:01:45 +010048 bus-width = <4>;
49 non-removable;
50};