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 bt_pins: pinmux_bt_pins {
52 pinctrl-single,pins = <
53 OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* mmc2_dat5 = mmc3_dat1 = gpio137 */
57 wlan_pins: pinmux_wlan_pins {
58 pinctrl-single,pins = <
59 OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* mmc2_dat6 = mmc3_dat2 = gpio138 */
63 wlan_irq_pin: pinmux_wlan_irq_pin {
64 pinctrl-single,pins = <
65 OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE4) /* mmc2_dat7 = mmc3_dat3 = gpio139 */
69 irda_pins: pinmux_irda {
70 pinctrl-single,pins = <
71 OMAP3_CORE1_IOPAD(0x21d0, PIN_OUTPUT_PULLUP | MUX_MODE4) /* mcspi1_cs1 = gpio175 */
75 pps_pins: pinmux_pps_pins {
76 pinctrl-single,pins = <
77 OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */
84 * for WL183x module see
85 * Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt
89 /delete-property/ reset-gpios;
93 vmmc-supply = <&wlan_en>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&wlan_irq_pin>;
101 #address-cells = <1>;
104 /delete-property/ mmc-pwrseq;
107 compatible = "ti,wl1837";
109 interrupt-parent = <&gpio5>;
110 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_139 */
111 ref-clock-frequency = <26000000>;
116 /delete-node/ bmp085@77;
117 /delete-node/ bma180@41;
118 /delete-node/ itg3200@68;
119 /delete-node/ hmc5843@1e;
122 compatible = "bosch,bmg160";
127 compatible = "bosch,bmc150_accel";
132 compatible = "bosch,bmc150_magn";
137 compatible = "bosch,bme280";