2 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include "omap3-gta04.dtsi"
12 model = "Goldelico GTA04A5/Letux 2804";
15 ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; /* GTA04A5 only */
18 wlan_en: wlan_en_regulator {
19 compatible = "regulator-fixed";
20 pinctrl-names = "default";
21 pinctrl-0 = <&wlan_pins>;
22 regulator-name = "wlan-en-regulator";
23 regulator-min-microvolt = <1800000>;
24 regulator-max-microvolt = <1800000>;
26 gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>; /* GPIO_138 */
28 startup-delay-us = <70000>;
33 compatible = "pps-gpio";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pps_pins>;
37 gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>; /* GPIN_114 */
45 gpios = <(175-160) GPIO_ACTIVE_HIGH>;
46 output-high; /* activate gpio_175 to disable IrDA receiver */
51 wlan_pins: pinmux_wlan_pins {
52 pinctrl-single,pins = <
53 OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* mmc2_dat6 = mmc3_dat2 = gpio138 */
57 wlan_irq_pin: pinmux_wlan_irq_pin {
58 pinctrl-single,pins = <
59 OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE4) /* mmc2_dat7 = mmc3_dat3 = gpio139 */
63 irda_pins: pinmux_irda {
64 pinctrl-single,pins = <
65 OMAP3_CORE1_IOPAD(0x21d0, PIN_OUTPUT_PULLUP | MUX_MODE4) /* mcspi1_cs1 = gpio175 */
69 pps_pins: pinmux_pps_pins {
70 pinctrl-single,pins = <
71 OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */
78 * for WL183x module see
79 * http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt
83 /delete-property/ reset-gpios;
87 vmmc-supply = <&wlan_en>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&wlan_irq_pin>;
98 /delete-property/ mmc-pwrseq;
101 compatible = "ti,wl1837";
103 interrupt-parent = <&gpio5>;
104 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_139 */
105 ref-clock-frequency = <26000000>;