OSDN Git Service

ieee802154: Add device tree documentation for CA8210
authorHarry Morris <harrymorris12@gmail.com>
Tue, 28 Mar 2017 12:08:59 +0000 (13:08 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:38 +0000 (22:02 +0200)
Signed-off-by: Harry Morris <h.morris@cascoda.com>
Acked-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Documentation/devicetree/bindings/net/ieee802154/ca8210.txt [new file with mode: 0644]
Documentation/devicetree/bindings/vendor-prefixes.txt

diff --git a/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt b/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt
new file mode 100644 (file)
index 0000000..a1046e6
--- /dev/null
@@ -0,0 +1,28 @@
+* CA8210 IEEE 802.15.4 *
+
+Required properties:
+       - compatible:           Should be "cascoda,ca8210"
+       - reg:                  Controlling chip select
+       - spi-max-frequency:    Maximum clock speed, should be *less than*
+                               4000000
+       - spi-cpol:             Requires inverted clock polarity
+       - reset-gpio:           GPIO attached to reset
+       - irq-gpio:             GPIO attached to IRQ
+Optional properties:
+       - extclock-enable:      Include for the ca8210 to route its 16MHz clock
+                               to an output
+       - extclock-freq:        Frequency in Hz of the external clock
+       - extclock-gpio:        GPIO of the ca8210 to output the clock on
+
+Example:
+       ca8210@0 {
+               compatible = "cascoda,ca8210";
+               reg = <0>;
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               reset-gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+               irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+               extclock-enable;
+               extclock-freq = 16000000;
+               extclock-gpio = 2;
+       };
index ec0bfb9..36b4d8a 100644 (file)
@@ -51,6 +51,7 @@ brcm  Broadcom Corporation
 buffalo        Buffalo, Inc.
 calxeda        Calxeda
 capella        Capella Microsystems, Inc
+cascoda        Cascoda, Ltd.
 cavium Cavium, Inc.
 cdns   Cadence Design Systems Inc.
 ceva   Ceva, Inc.