From patchwork Tue May 29 19:21:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kristian Evensen X-Patchwork-Id: 922327 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=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jsTqVR8V"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PdzeiMlG"; 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 40wNs566sGz9s08 for ; Wed, 30 May 2018 05:22:17 +1000 (AEST) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LxNKMLvQxMKptbSkkjPJ6e6NWgqZUwK3RinRFCxN9L0=; b=jsTqVR8VbvMzPN NyPpU95yN+aMOUfPaAtPhxZctNyPZWRuL4OrjeKat6PRJO8WCCzXRpsTBDBS7tTDTNPU6qFIXln7S eE8ue5t4etbZYOZ7/DAvwt5+yO53VrdonutfIq0wKUmCClmUKXUmh9dmwQz91DuwK0KrwgvjEY0jZ JJgeddnYl7Jibza3ezIER9sC9F4BLlnZmo1cmxFOnruC4Golbrf9p70csppj0HKK4dtsWofrJ8fNK L0TfkFRxtGU+QiqN5ctm1I3nuOEEPWynS0UZUuHDKCRFub1QHMGKcqCl0FfI3nGiNBLA1Apeb6BV6 2ls/4r4Bw74yGkD9myYA==; 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 1fNkC7-00007W-3f; Tue, 29 May 2018 19:22:07 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fNkC4-00006p-9m for openwrt-devel@lists.openwrt.org; Tue, 29 May 2018 19:22:05 +0000 Received: by mail-lf0-x241.google.com with SMTP id d24-v6so481745lfa.8 for ; Tue, 29 May 2018 12:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+fAHUAmDwmVmbHgVd7oL1n6a1J/mlNtF0GhymndE+/s=; b=PdzeiMlGEEw6ZtQQ9y4vh/gnI+TvJ5YYlgHpHjTsKr+ngWLy2iuJcOiFxnMpolzZrt NtqaX1cf/deWrKHRh3iWMx/kM7rVzWjZbc/gmdcE5EOqW8XnRngvcQ17yqerqF5E4OaN 8VlsHFWhvvLSXIFVZ6wJ/SM3oVqw7tSSGnoM/8DZZ/FNGUkZlnooQeOZxZQKVxWl66bx i3oub7n//u5uy8CxgfTSlHetCjmJoWQrHApOtA283IRzXvCyP4ZI6GiVdILJHaYD8EGg u8OjfUIzoGWO3TkrUFv1FebkUTzuqlfxCK35JeXHgc3DH3oQQ85dWQGGtDzgI0F1fxXo V/dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+fAHUAmDwmVmbHgVd7oL1n6a1J/mlNtF0GhymndE+/s=; b=bAttyNYryiRWFnyt+kym5Gzd3sNUtXWIEpz2kje5VmuuqFWCQqk8oYkRdQoi0kNdbX G6InrJievp2aPBf8P9yF6TT9cLyIeJZRQa92VCVkl3lVELsCnN3Gsi/Jzc2zeoSt04ii OlJK4Z1RrW06KHjScQJJ9JeOFbVUHnlXNyAwqBeZ6aIA2V4VgFDmtQK1uX22hkJFUOMf bpO7S4VZHFBUHrAI+6dLpMTJMZ+0+ttxSXVf49dj+0frtbYET7d11gVJkq2jAa8obNCY 1cMZfLg6MUbjfS/PkDHdhwoW4Bld80ggwt60WKonSUXTn27xo/hyDyoHu9Wi9otAy0Xn skWg== X-Gm-Message-State: ALKqPwfalo0Muu0Y4xq6VmOTuAJp/V5yyzej7YHup8G9ovYpCwxMQQSZ u6D2w6JmzdO/9qOvH3pINKoXFEq1 X-Google-Smtp-Source: ADUXVKIky3l3ee9Jdt2HVygsw8aHprRBjGpdRlTWSpEYlbbbCyw0FlcM+msHL6y8hURnnK/5Bzw5mA== X-Received: by 2002:a2e:1d53:: with SMTP id d80-v6mr11896764ljd.104.1527621711945; Tue, 29 May 2018 12:21:51 -0700 (PDT) Received: from kristrev-ThinkPad-X1-Carbon-2nd.lan ([193.213.155.210]) by smtp.gmail.com with ESMTPSA id j8-v6sm3050650ljh.5.2018.05.29.12.21.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 12:21:51 -0700 (PDT) From: Kristian Evensen To: openwrt-devel@lists.openwrt.org Date: Tue, 29 May 2018 21:21:48 +0200 Message-Id: <20180529192148.8286-1-kristian.evensen@gmail.com> X-Mailer: git-send-email 2.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180529_122204_360087_779E3B4F X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4010:c07:0:0:0:241 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kristian.evensen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [OpenWrt-Devel] [PATCH] ramips: Fix pcie interrupt mapping for ZBT WE1326 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: , Cc: Kristian Evensen MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Commit 5f7396ebef09 ("ramips: improve interrupt mapping") changed how pcie interrupts are mapped for mt7621. The default interrupt mapping in mt7621.dtsi is incorrect for the ZBT WE1326, causing wifi not to work. This commit updates the WE1326 DTS with the correct interrupt mapping, restoring wifi. Signed-off-by: Kristian Evensen --- target/linux/ramips/dts/ZBT-WE1326.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ramips/dts/ZBT-WE1326.dts b/target/linux/ramips/dts/ZBT-WE1326.dts index 6cbab66307..72707192a2 100644 --- a/target/linux/ramips/dts/ZBT-WE1326.dts +++ b/target/linux/ramips/dts/ZBT-WE1326.dts @@ -84,6 +84,9 @@ &pcie { status = "okay"; + interrupt-map = <0x10000 0 0 1 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>, + <0x20000 0 0 1 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>; + pcie0 { mt76@0,0 { reg = <0x0000 0 0 0 0>;