Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright 2014 Linaro Limited
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- / {
- wlan_en_reg: fixedregulator@2 {
- compatible = "regulator-fixed";
- regulator-name = "wlan-en-regulator";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- /* WL_EN */
- gpio = <&gpio0 26 0>;
- /* Magic delay */
- startup-delay-us = <70000>;
- enable-active-high;
- };
- wlcore {
- compatible = "wlcore";
- /*
- * FIXME: The following is complete CRAP since
- * the vendor driver doesn't follow the gpio
- * binding. Passing in a magic Linux gpio number
- * here until we fix the vendor driver.
- */
- /* WL_IRQ */
- gpio = <27>;
- /* Use edge irqs for suspend/resume */
- platform-quirks = <1>;
- /* WL12XX_REFCLOCK_38_XTAL */
- board-ref-clock = <4>;
- };
- kim {
- compatible = "kim";
- pinctrl-names = "default";
- pinctrl-0 = <&bt_pins>;
- /*
- * FIXME: The following is complete CRAP since
- * the vendor driver doesn't follow the gpio
- * binding. Passing in a magic Linux gpio number
- * here until we fix the vendor driver.
- */
- /* BT_EN */
- nshutdown_gpio = <44>;
- dev_name = "/dev/ttyO4";
- flow_cntrl = <1>;
- baud_rate = <3000000>;
- };
- btwilink {
- compatible = "btwilink";
- };
- };
- &am33xx_pinmux {
- bt_pins: pinmux_bt_pins {
- pinctrl-single,pins = <
- 0x30 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad12.gpio1_12 */
- >;
- };
- wlan_pins: pinmux_wlan_pins {
- pinctrl-single,pins = <
- 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
- 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
- 0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
- 0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
- 0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
- 0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
- >;
- };
- uart4_pins: uart4_pins {
- pinctrl-single,pins = <
- 0x70 (PIN_INPUT | MUX_MODE6) /* gpmc_wait0.uart4_rxd */
- 0x74 (PIN_OUTPUT | MUX_MODE6) /* gpmc_wpn.uart4_txd */
- 0xd0 (PIN_OUTPUT | MUX_MODE6) /* lcd_data12.uart4_ctsn */
- 0xd4 (PIN_INPUT | MUX_MODE6) /* lcd_data13.uart4_rtsn */
- >;
- };
- };
- &gpio1 {
- gpio-hogs = <&emmc_rst &wlan_oe>;
- emmc_rst: emmc_rst {
- gpios = <20 0>;
- output-high;
- line-name = "EMMC ResetN";
- };
- wlan_oe: wlan_oe {
- gpios = <29 0>;
- output-high;
- line-name = "WLAN OE";
- };
- };
- &mmc2 {
- vmmc-supply = <&wlan_en_reg>;
- pinctrl-names = "default";
- pinctrl-0 = <&wlan_pins>;
- bus-width = <4>;
- cap-power-off-card;
- keep-power-in-suspend;
- ti,non-removable;
- ti,needs-special-hs-handling;
- status = "okay";
- };
- &uart4 {
- pinctrl-names = "default";
- pinctrl-0 = <&uart4_pins>;
- status = "okay";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement