From patchwork Sun Dec 17 13:59:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 849622 X-Patchwork-Delegate: openwrt@kresin.me Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="szOe2mcM"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lVQUFuXu"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3z05Sl6SJsz9t2Z for ; Mon, 18 Dec 2017 01:01:59 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject: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=W08+splE6hFCN6usmIelqNfdo128yg0E0MV6DlkoFec=; b=szOe2mcMbOqUjcLtWCXIazK1hB xMcUdnXX1RmipHKao1f2UP6o7nyoyO/i0gPgZ3qR8xn9cFUZ6Q4Bd7w9if5mvgqAoMMZHcDYX7tC4 VO+vKW20yWenq/UdhreeV3MyaEun1KTEWHy2ldT9prqBuxM7Mt+j3Qa2+wa25i6NnAiCQe6aL6Y/V pHnc0fnOoEUKzqe/njR+yUhqfKkTQRqZqKk56siTf3SDgj57Oc2/ZdXxx5S1KmxvJ3+WbBybSQpdE YAIoVSl1ubG3CVncxJ7RXP+Vz4LqmwhKkTQgblKTom5xNRAYxFtAEqcqtpGY4vb64HfDbToYid6Tu kmRJW9wg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eQZVm-00034E-JD; Sun, 17 Dec 2017 14:01:50 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eQZUW-0001jW-JP for lede-dev@lists.infradead.org; Sun, 17 Dec 2017 14:00:35 +0000 Received: by mail-wm0-x241.google.com with SMTP id t8so24808698wmc.3 for ; Sun, 17 Dec 2017 06:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=FKx+/XXD50O383V+rzMSHMHoWJPuQGiX7CXnXDKiuNU=; b=lVQUFuXuiSMnxuCluB6qlMYII9Q9AleOFDY+OmG2zrwEpoyoKD+HUn1qjV/nDSht6o 9V4VKApK0Zf3A8rUPTn5XTS2RKrnhU9uzU+vvBgfVvUTGfR4fEGQeju9gXxh6n2BN9pK pa+OpkkfnxO54VL/RhxMT9IBkV3mwUs8lr7x9IA/eE3qHy3Lf0QL5r4Dpleyr2S2Yg7U O1+8VTapAkHtvQsuKm4K/+U7LR7Z5ptgBOZW2ca1LfOU+3Z97CMlY57JbElgqqszt3bL wnfwglrJS+UoZEYqyq699aNdK/HHsF4yFjIs9Vw0DO6Oh/vFQhKgHELUESEHjiTRypUx 9VHQ== 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:in-reply-to:references; bh=FKx+/XXD50O383V+rzMSHMHoWJPuQGiX7CXnXDKiuNU=; b=WJzuBicGLgmcbIKm+0nvma0gyP2i3GNZ5HrTade4NQA7ltN6G+fCgIBk5rEsxCNVFb xPCPM2G7tELry9nPf+5ehqu+Q2PTO5tSM7C2CqKJcUIybJBytLeGBw2LkPYdRNGmijKR eNwpykKWMjtLP9cqhEoK135YTe8jr5JrlNHHf7t/JztHlZC0+5HQD5n4ZcQaEVFonq/T lNCi1BZajyqbtyc3RH5FA34mRaRwSGnOlSAsJ+uYoXzhMt2ighyiRwVKpKmMSBJD+E7L oE5rjWa8TaatTjO7/bA2zVg+tk8iPhKZwNz+KbSApIpUhwbO3IiDGoVel8uVJ56B4jA8 DooQ== X-Gm-Message-State: AKGB3mInpII6pZP/W80VH/kW4WGoMuC2P43yIDThqn4bYSkftTojEIkB 5zKXVrV5zffqSxJ6/WCCx7xeO0GX X-Google-Smtp-Source: ACJfBotN7MvzgmQVLf/EA1qHrcttJQBTY1kIvTO8rnG3InedvjGHQMN1A5rReRXnvp8Qv+/9AmVvNg== X-Received: by 10.28.11.206 with SMTP id 197mr10256288wml.3.1513519204136; Sun, 17 Dec 2017 06:00:04 -0800 (PST) Received: from debian64.daheim (p200300D5FBDD4AFC0000000000000830.dip0.t-ipconnect.de. [2003:d5:fbdd:4afc::830]) by smtp.gmail.com with ESMTPSA id h76sm13524074wmd.2.2017.12.17.06.00.01 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Dec 2017 06:00:01 -0800 (PST) Received: from chuck by debian64.daheim with local (Exim 4.90_RC4) (envelope-from ) id 1eQZU1-0001lx-8X for lede-dev@lists.infradead.org; Sun, 17 Dec 2017 15:00:01 +0100 From: Christian Lamparter To: lede-dev@lists.infradead.org Date: Sun, 17 Dec 2017 14:59:56 +0100 Message-Id: <64db29bc30a37de5d70895718042bc5aacf65c86.1513455854.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171217_060032_793965_98629864 X-CRM114-Status: GOOD ( 12.84 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c09:0:0:0:241 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (chunkeey[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Subject: [LEDE-DEV] [PATCH 4/9] apm821xx: dts: append SoC compatible to DTS X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This patch appends the "apm,bluestone" or "amcc,apollo3g" machine compatible string to the current device tree source. Please note that unlike other archs the PPC DT code does not regard the machine's compatible string as a priority list. This is explained in the kernel's usage-model.txt as follows: "PowerPC uses a slightly different scheme where it calls the .probe() hook from each machine_desc, and the first one returning TRUE is used. However, this approach does not take into account the priority of the compatible list, and probably should be avoided for new architecture support." For this reason, the "apm,bluestone" compatible string can't be added to the WNDR4700. As otherwise the target specific pci fix-up code will get ignored and this causes the ath9k WIFI to not get initialized. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/MR24.dts | 2 +- target/linux/apm821xx/dts/MX60.dts | 2 +- target/linux/apm821xx/dts/apollo3g-duo.dts | 1 + target/linux/apm821xx/dts/apollo3g.dts | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/apm821xx/dts/MR24.dts b/target/linux/apm821xx/dts/MR24.dts index 75bb32255c..8b58ce1991 100644 --- a/target/linux/apm821xx/dts/MR24.dts +++ b/target/linux/apm821xx/dts/MR24.dts @@ -16,7 +16,7 @@ / { model = "Meraki MR24 Access Point"; - compatible = "meraki,ikarem"; + compatible = "meraki,ikarem", "apm,bluestone"; aliases { serial0 = &UART1; diff --git a/target/linux/apm821xx/dts/MX60.dts b/target/linux/apm821xx/dts/MX60.dts index 6c753639b2..64c8540d4d 100644 --- a/target/linux/apm821xx/dts/MX60.dts +++ b/target/linux/apm821xx/dts/MX60.dts @@ -16,7 +16,7 @@ / { model = "Meraki MX60/MX60W Security Appliance"; - compatible = "meraki,buckminster"; + compatible = "meraki,buckminster", "apm,bluestone"; aliases { serial0 = &UART1; diff --git a/target/linux/apm821xx/dts/apollo3g-duo.dts b/target/linux/apm821xx/dts/apollo3g-duo.dts index 53459b0cc0..4f6cc506f5 100644 --- a/target/linux/apm821xx/dts/apollo3g-duo.dts +++ b/target/linux/apm821xx/dts/apollo3g-duo.dts @@ -14,6 +14,7 @@ #include "apollo3g.dtsi" / { + compatible = "wd,mybooklive-duo", "amcc,apollo3g"; model = "MyBook Live Duo"; }; diff --git a/target/linux/apm821xx/dts/apollo3g.dts b/target/linux/apm821xx/dts/apollo3g.dts index 4d31edae4a..d841352292 100644 --- a/target/linux/apm821xx/dts/apollo3g.dts +++ b/target/linux/apm821xx/dts/apollo3g.dts @@ -12,5 +12,6 @@ #include "apollo3g.dtsi" / { + compatible = "wd,mybooklive", "amcc,apollo3g"; model = "MyBook Live"; };