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