1 * Texas Instruments wl1251 wireless lan contro 1 * Texas Instruments wl1251 wireless lan controller 2 2 3 The wl1251 chip can be connected via SPI or vi 3 The wl1251 chip can be connected via SPI or via SDIO. This 4 document describes the binding for the SPI con 4 document describes the binding for the SPI connected chip. 5 5 6 Required properties: 6 Required properties: 7 - compatible : Should be "ti,wl1251" 7 - compatible : Should be "ti,wl1251" 8 - reg : Chip select address of d 8 - reg : Chip select address of device 9 - spi-max-frequency : Maximum SPI clocking spe 9 - spi-max-frequency : Maximum SPI clocking speed of device in Hz 10 - interrupts : Should contain interrupt 10 - interrupts : Should contain interrupt line 11 - vio-supply : phandle to regulator pro 11 - vio-supply : phandle to regulator providing VIO 12 12 13 Optional properties: 13 Optional properties: 14 - ti,wl1251-has-eeprom : boolean, the wl1251 h 14 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which 15 provides configuratio 15 provides configuration data (calibration, MAC, ...) 16 - ti,power-gpio : GPIO connected to chi 16 - ti,power-gpio : GPIO connected to chip's PMEN pin if operated in 17 SPI mode 17 SPI mode 18 - Please consult Documentation/devicetree/bind 18 - Please consult Documentation/devicetree/bindings/spi/spi-bus.txt 19 for optional SPI connection related properti 19 for optional SPI connection related properties, 20 20 21 Examples: 21 Examples: 22 22 23 &spi1 { 23 &spi1 { 24 wl1251@0 { 24 wl1251@0 { 25 compatible = "ti,wl1251"; 25 compatible = "ti,wl1251"; 26 26 27 reg = <0>; 27 reg = <0>; 28 spi-max-frequency = <48000000> 28 spi-max-frequency = <48000000>; 29 spi-cpol; 29 spi-cpol; 30 spi-cpha; 30 spi-cpha; 31 31 32 interrupt-parent = <&gpio2>; 32 interrupt-parent = <&gpio2>; 33 interrupts = <10 IRQ_TYPE_NONE 33 interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */ 34 34 35 vio-supply = <&vio>; 35 vio-supply = <&vio>; 36 ti,power-gpio = <&gpio3 23 GPI 36 ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */ 37 }; 37 }; 38 }; 38 }; 39 39 40 &mmc3 { 40 &mmc3 { 41 vmmc-supply = <&wlan_en>; 41 vmmc-supply = <&wlan_en>; 42 42 43 bus-width = <4>; 43 bus-width = <4>; 44 non-removable; 44 non-removable; 45 ti,non-removable; 45 ti,non-removable; 46 cap-power-off-card; 46 cap-power-off-card; 47 47 48 pinctrl-names = "default"; 48 pinctrl-names = "default"; 49 pinctrl-0 = <&mmc3_pins>; 49 pinctrl-0 = <&mmc3_pins>; 50 50 51 #address-cells = <1>; 51 #address-cells = <1>; 52 #size-cells = <0>; 52 #size-cells = <0>; 53 53 54 wlan: wifi@1 { 54 wlan: wifi@1 { 55 compatible = "ti,wl1251"; 55 compatible = "ti,wl1251"; 56 56 57 reg = <1>; 57 reg = <1>; 58 58 59 interrupt-parent = <&gpio1>; 59 interrupt-parent = <&gpio1>; 60 interrupts = <21 IRQ_TYPE_LEVE 60 interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_21 */ 61 61 62 ti,wl1251-has-eeprom; 62 ti,wl1251-has-eeprom; 63 }; 63 }; 64 }; 64 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.