xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/omap3-igep0020.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree Source for IGEPv2 Rev. C (TI OMAP AM/DM37x)
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>
6*f126890aSEmmanuel Vadot * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot#include "omap3-igep0020-common.dtsi"
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	model = "IGEPv2 Rev. C (TI OMAP AM/DM37x)";
13*f126890aSEmmanuel Vadot	compatible = "isee,omap3-igep0020", "ti,omap3630", "ti,omap3";
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	vmmcsdio_fixed: fixedregulator-mmcsdio {
16*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
17*f126890aSEmmanuel Vadot		regulator-name = "vmmcsdio_fixed";
18*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
19*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
20*f126890aSEmmanuel Vadot	};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot	mmc2_pwrseq: mmc2_pwrseq {
23*f126890aSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
24*f126890aSEmmanuel Vadot		reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>,	/* gpio_139 - RESET_N_W */
25*f126890aSEmmanuel Vadot			      <&gpio5 10 GPIO_ACTIVE_LOW>;	/* gpio_138 - WIFI_PDN */
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot&omap3_pmx_core {
30*f126890aSEmmanuel Vadot	lbee1usjyc_pins: lbee1usjyc-pins {
31*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
32*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4)	/* sdmmc2_dat5.gpio_137 - RESET_N_W */
33*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4)	/* sdmmc2_dat6.gpio_138 - WIFI_PDN */
34*f126890aSEmmanuel Vadot			OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4)	/* sdmmc2_dat7.gpio_139 - RST_N_B */
35*f126890aSEmmanuel Vadot		>;
36*f126890aSEmmanuel Vadot	};
37*f126890aSEmmanuel Vadot};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot/* On board Wifi module */
40*f126890aSEmmanuel Vadot&mmc2 {
41*f126890aSEmmanuel Vadot	pinctrl-names = "default";
42*f126890aSEmmanuel Vadot	pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>;
43*f126890aSEmmanuel Vadot	vmmc-supply = <&vmmcsdio_fixed>;
44*f126890aSEmmanuel Vadot	mmc-pwrseq = <&mmc2_pwrseq>;
45*f126890aSEmmanuel Vadot	bus-width = <4>;
46*f126890aSEmmanuel Vadot	non-removable;
47*f126890aSEmmanuel Vadot};
48