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