aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVarka Bhadram <varkab@cdac.in>2014-06-20 08:17:17 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-23 00:32:40 -0400
commit1952e8e0c5156615e344acbb9317e65f11aa9536 (patch)
treee4b1e6ea1ffef4f883f627a570de0480c6ffcae2
parentb5bf62248a3f4983899498128233f4ffb8ba7630 (diff)
devicetree: add device tree bindings for cc2520 driver
DT bindings for cc2520 radio driver Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/devicetree/bindings/net/ieee802154/cc2520.txt29
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
3Required 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
16Example:
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 };