Skip to content

Commit

Permalink
ieee802154: Add device tree documentation for MCR20A
Browse files Browse the repository at this point in the history
Signed-off-by: Xue Liu <liuxuenetmail@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
  • Loading branch information
Xue Liu authored and Stefan Schmidt committed Feb 21, 2018
1 parent ee6f4a5 commit 1f74edf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt
Original file line number Diff line number Diff line change
@@ -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>
};

0 comments on commit 1f74edf

Please sign in to comment.