Signed-off-by: Varka Bhadram <var...@cdac.in>
---
 .../devicetree/bindings/net/ieee802154/cc2520.txt  |   30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt

diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt 
b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt
new file mode 100644
index 0000000..c0e10db
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt
@@ -0,0 +1,30 @@
+* CC2520 IEEE 802.15.4 *
+
+Required properties:
+  - compatible:                should be "ti,cc2520"
+  - spi-max-frequency: maximal bus speed, should be set to 4000000 depends
+                       sync or async operation mode
+  - reg:               the chipselect index
+
+Optional properties:
+  - fifo-gpio:         GPIO spec for the fifo pin
+  - fifop-gpio:                GPIO spec for the fifop pin
+  - sfd-gpio:           GPIO spec for the sfd pin
+  - cca-gpio:           GPIO spec for the cca pin
+  - vreg-gpio:          GPIO spec for the vreg pin
+  - reset-gpio:         GPIO spec for the reset pin
+
+
+
+Example:
+       cc2520@0 {
+               compatible = "cc2520";
+               reg = <0>;
+               spi-max-frequency = <4000000>;
+               fifo-gpio = <&gpio1 18 0>;
+               fifop-gpio = <&gpio1 19 0>;
+               sfd-gpio = <&gpio1 13 0>;
+               cca-gpio = <&gpio1 16 0>;
+               vreg-gpio = <&gpio0 31 0>;
+               reset-gpio = <&gpio1 12 0>;
+       };
-- 
1.7.9.5


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to