ti,wl1251.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. * Texas Instruments wl1251 wireless lan controller
  2. The wl1251 chip can be connected via SPI or via SDIO. This
  3. document describes the binding for the SPI connected chip.
  4. Required properties:
  5. - compatible : Should be "ti,wl1251"
  6. - reg : Chip select address of device
  7. - spi-max-frequency : Maximum SPI clocking speed of device in Hz
  8. - interrupts : Should contain interrupt line
  9. - interrupt-parent : Should be the phandle for the interrupt controller
  10. that services interrupts for this device
  11. - vio-supply : phandle to regulator providing VIO
  12. - ti,power-gpio : GPIO connected to chip's PMEN pin
  13. Optional properties:
  14. - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which
  15. provides configuration data (calibration, MAC, ...)
  16. - Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
  17. for optional SPI connection related properties,
  18. Examples:
  19. &spi1 {
  20. wl1251@0 {
  21. compatible = "ti,wl1251";
  22. reg = <0>;
  23. spi-max-frequency = <48000000>;
  24. spi-cpol;
  25. spi-cpha;
  26. interrupt-parent = <&gpio2>;
  27. interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
  28. vio-supply = <&vio>;
  29. ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
  30. };
  31. };