]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ieee802154: Add device tree documentation for MCR20A
authorXue Liu <liuxuenetmail@gmail.com>
Tue, 20 Feb 2018 11:55:56 +0000 (12:55 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Wed, 21 Feb 2018 08:08:15 +0000 (09:08 +0100)
Signed-off-by: Xue Liu <liuxuenetmail@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt
new file mode 100644 (file)
index 0000000..2aaef56
--- /dev/null
@@ -0,0 +1,23 @@
+* MCR20A IEEE 802.15.4 *
+
+Required properties:
+  - compatible:                should be "nxp,mcr20a"
+  - spi-max-frequency: maximal bus speed, should be set to a frequency
+                       lower than 9000000 depends sync or async operation mode
+  - reg:               the chipselect index
+  - interrupts:                the interrupt generated by the device. Non high-level
+                       can occur deadlocks while handling isr.
+
+Optional properties:
+  - rst_b-gpio:                GPIO spec for the RST_B pin
+
+Example:
+
+       mcr20a@0 {
+               compatible = "nxp,mcr20a";
+               spi-max-frequency = <9000000>;
+               reg = <0>;
+               interrupts = <17 2>;
+               interrupt-parent = <&gpio>;
+               rst_b-gpio = <&gpio 27 1>
+       };