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