From patchwork Tue Feb 7 20:20:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 9561071 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3D4E3602B1 for ; Tue, 7 Feb 2017 20:20:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30EFD28486 for ; Tue, 7 Feb 2017 20:20:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25D612849C; Tue, 7 Feb 2017 20:20:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0611F28486 for ; Tue, 7 Feb 2017 20:20:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932189AbdBGUUt (ORCPT ); Tue, 7 Feb 2017 15:20:49 -0500 Received: from nbd.name ([46.4.11.11]:38585 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932076AbdBGUUs (ORCPT ); Tue, 7 Feb 2017 15:20:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=t1anJYJVbh8L+qoD3xK4SDfiYvpvKWc/ecwBGyEvaeE=; b=ZJIF9zdXf8Vq2L/GTd0kFktmIIssOA09A2PPOJ8EyWYfnBcAUXlktnKAJIe3zkgHBGfM+If4r0geK+ekOJHF1wE5PJWzksj5p9VkTExtwhCJDPQ9+9Pagau/364Ik4lL3VNbh1yfDzY7uiySkxyBCn3JrP9Xd+/wQNknnrumu0A=; Received: by nf-4.local (Postfix, from userid 501) id 660A818D2BC5A; Tue, 7 Feb 2017 21:20:35 +0100 (CET) From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: kvalo@codeaurora.org, sgruszka@redhat.com, devicetree@vger.kernel.org, Rob Herring Subject: [PATCH v5 1/3] Documentation: dt: net: add mt76 wireless device binding Date: Tue, 7 Feb 2017 21:20:33 +0100 Message-Id: <20170207202035.64224-2-nbd@nbd.name> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170207202035.64224-1-nbd@nbd.name> References: <20170207202035.64224-1-nbd@nbd.name> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Felix Fietkau --- .../bindings/net/wireless/mediatek,mt76.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt new file mode 100644 index 000000000000..19522ab97d62 --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt @@ -0,0 +1,24 @@ +* MediaTek mt76xx devices + +This node provides properties for configuring the MediaTek mt76xx wireless +device. The node is expected to be specified as a child node of the PCI +controller to which the wireless chip is connected. + +Optional properties: + +- mac-address: See ethernet.txt in the parent directory +- local-mac-address: See ethernet.txt in the parent directory +- ieee80211-freq-limit: See ieee80211.txt +- mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data + +&pcie { + status = "okay"; + + pcie0 { + wifi@0,0 { + reg = <0x0000 0 0 0 0>; + ieee80211-freq-limit = <5000000 6000000>; + mediatek,mtd-eeprom = <&factory 0x8000>; + }; + }; +};