cc2520.txt 955 B

1234567891011121314151617181920212223242526272829
  1. *CC2520 IEEE 802.15.4 Compatible Radio*
  2. Required properties:
  3. - compatible: should be "ti,cc2520"
  4. - spi-max-frequency: maximal bus speed (8000000), should be set to 4000000 depends
  5. sync or async operation mode
  6. - reg: the chipselect index
  7. - pinctrl-0: pin control group to be used for this controller.
  8. - pinctrl-names: must contain a "default" entry.
  9. - fifo-gpio: GPIO spec for the FIFO pin
  10. - fifop-gpio: GPIO spec for the FIFOP pin
  11. - sfd-gpio: GPIO spec for the SFD pin
  12. - cca-gpio: GPIO spec for the CCA pin
  13. - vreg-gpio: GPIO spec for the VREG pin
  14. - reset-gpio: GPIO spec for the RESET pin
  15. Example:
  16. cc2520@0 {
  17. compatible = "ti,cc2520";
  18. reg = <0>;
  19. spi-max-frequency = <4000000>;
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&cc2520_cape_pins>;
  22. fifo-gpio = <&gpio1 18 0>;
  23. fifop-gpio = <&gpio1 19 0>;
  24. sfd-gpio = <&gpio1 13 0>;
  25. cca-gpio = <&gpio1 16 0>;
  26. vreg-gpio = <&gpio0 31 0>;
  27. reset-gpio = <&gpio1 12 0>;
  28. };