From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:36025 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752392AbeBSKvY (ORCPT ); Mon, 19 Feb 2018 05:51:24 -0500 Received: by mail-wm0-f65.google.com with SMTP id f3so14207340wmc.1 for ; Mon, 19 Feb 2018 02:51:23 -0800 (PST) Received: from xue-ThinkPad-T470s.kelle.grp (p578b164d.dip0.t-ipconnect.de. [87.139.22.77]) by smtp.gmail.com with ESMTPSA id f19sm7210097edd.84.2018.02.19.02.51.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Feb 2018 02:51:21 -0800 (PST) From: Xue Liu Subject: [PATCHv2 1/3] ieee802154: Add device tree documentation for MCR20A Date: Mon, 19 Feb 2018 11:51:09 +0100 Message-Id: <1519037471-17668-2-git-send-email-liuxuenetmail@gmail.com> In-Reply-To: <1519037471-17668-1-git-send-email-liuxuenetmail@gmail.com> References: <1519037471-17668-1-git-send-email-liuxuenetmail@gmail.com> Sender: linux-wpan-owner@vger.kernel.org List-ID: To: linux-wpan@vger.kernel.org Signed-off-by: Xue Liu --- .../devicetree/bindings/net/ieee802154/mcr20a.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt diff --git a/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt new file mode 100644 index 0000000..9a39769 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt @@ -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> + }; -- 2.7.4