diff options
Diffstat (limited to 'Documentation/devicetree/bindings/net/ieee802154/cc2520.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/ieee802154/cc2520.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt new file mode 100644 index 000000000000..0071883c08d8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt | |||
@@ -0,0 +1,29 @@ | |||
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 | Example: | ||
17 | cc2520@0 { | ||
18 | compatible = "ti,cc2520"; | ||
19 | reg = <0>; | ||
20 | spi-max-frequency = <4000000>; | ||
21 | pinctrl-names = "default"; | ||
22 | pinctrl-0 = <&cc2520_cape_pins>; | ||
23 | fifo-gpio = <&gpio1 18 0>; | ||
24 | fifop-gpio = <&gpio1 19 0>; | ||
25 | sfd-gpio = <&gpio1 13 0>; | ||
26 | cca-gpio = <&gpio1 16 0>; | ||
27 | vreg-gpio = <&gpio0 31 0>; | ||
28 | reset-gpio = <&gpio1 12 0>; | ||
29 | }; | ||