From patchwork Tue Oct 30 22:28:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 991160 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TKaJHnPe"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42l5jB5X97z9s8F for ; Wed, 31 Oct 2018 09:28:46 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=apN4imVAgGMFRVRGKZXLHl2GpJ850c7BvsCpDAj7GC4=; b=TKaJHnPeIYYFJt0KOpRw2fnheL PB+WtbpgvluMwHcYq0S3EGG+/29PawtCNYETE+b6NFuctDa0Kk92qxCJYsS9rV/5M95GnMCQ60mIu Y2jF2VntSuOHA5U/JhKaaoUizSAMFN9zF4dPRhcT18cDoQsQJgYQTLvigVK09bKT/TTLSdX8fgqHn o6fxbg2FApnSMUfE9RrQz7cKR50OZnPb8134nCESsoIPoZuk54Vqy6D3tYjZIc9XV20YhUiTOt0N4 e9qDIx06ns5ynzbtlguZo8pIWVufMJFFtsa7dIaila4dkG8BEw+ZEmnyTVTijDlKpBpaOXnI0dBTn kOMt6mhQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHcUs-0006xY-RZ; Tue, 30 Oct 2018 22:28:26 +0000 Received: from mail-wr1-f68.google.com ([209.85.221.68]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHcUq-0006x8-0k for openwrt-devel@lists.openwrt.org; Tue, 30 Oct 2018 22:28:25 +0000 Received: by mail-wr1-f68.google.com with SMTP id y15-v6so14351760wru.9 for ; Tue, 30 Oct 2018 15:28:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U2vG2ldW1VYHTrb+bCv4PFfk2WFQlcNGWbX55qK35wo=; b=DfwsJoztdNKn2Zc3qpM3VLGyQ+fwijwUs0XOaMPufFWav/GhavQQXO7Bf9xOb04D4k 93N+peoKxSQMKM4vRzQQQCYYlDlkDMr2+SOllG9a+728xJCpb5kwlIFvpkY9Mxk/GQ93 Krzm/miVHKXrTQPwEt3R8Z2/WkQiyGzKg/zCzFXafOtsPXdJxEbZ+ngh9vrHLjTYycLL 6LOpbNq2WG6+5Srh304wE4yABuygJI+E3YyE0kEEFnIkEtWraZddiFHot5G0U2sm5w6w aerjz2xXs3AsCEKBTs4dDfhBN/E34QsoriKOWp7TYGY1b7vc3ysGWJZefPnJUe34qn6D 4ieQ== X-Gm-Message-State: AGRZ1gLe9CPB/1yT82B7W5xj3oht0LZO4eJsag59Za2gntHllx0DYKKM XbBPHhkP57m2udF6r2ylN9KiZsz0LCU= X-Google-Smtp-Source: AJdET5dRaqUQ1po8zMbR2hH5Z5GCoUDzX8Tq2sKZ384wKlPGRi1VM3lsPTX0WEd4tngebsaRH3SQ3A== X-Received: by 2002:adf:9e09:: with SMTP id u9-v6mr430085wre.51.1540938491154; Tue, 30 Oct 2018 15:28:11 -0700 (PDT) Received: from localhost.localdomain ([151.66.43.225]) by smtp.gmail.com with ESMTPSA id g76-v6sm17939879wmd.25.2018.10.30.15.28.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 15:28:10 -0700 (PDT) From: Lorenzo Bianconi To: openwrt-devel@lists.openwrt.org Date: Tue, 30 Oct 2018 23:28:03 +0100 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_152824_057916_C215D2AD X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.221.68 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.68 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record Subject: [OpenWrt-Devel] [PATCH v2] ramips: add mt76x0 node to RT-AC51U device tree X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org From: Lorenzo Bianconi Introduce mt76x0e device tree node in RT-AC51U dts. Define mt76x0e mtd partition and offset Signed-off-by: Lorenzo Bianconi --- Changes since v1: - fix mt76 device tree node name --- target/linux/ramips/dts/RT-AC51U.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/target/linux/ramips/dts/RT-AC51U.dts b/target/linux/ramips/dts/RT-AC51U.dts index 6bed8446e5..683f17bb75 100644 --- a/target/linux/ramips/dts/RT-AC51U.dts +++ b/target/linux/ramips/dts/RT-AC51U.dts @@ -135,3 +135,14 @@ }; }; }; + +&pcie { + status = "okay"; +}; + +&pcie0 { + wifi@0,0 { + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + }; +};