From patchwork Mon Oct 15 18:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 984333 X-Patchwork-Delegate: hauke@hauke-m.de 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="O7dKEGgs"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="NKabJMOE"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="outMAyVT"; 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 42Yn7y1bCvz9sC2 for ; Tue, 16 Oct 2018 05:31:10 +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: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:In-Reply-To:References: List-Owner; bh=Ib2MhcvenQxx9w/Q7nnaAxumwFiCNNVD1sCCUY/sasQ=; b=O7dKEGgsw/xd03 Z9XneyXf+0EbEmVsh5TuyU8z/d+8aWZ9RIo7isTzHpodCkZZ8fE2EHV3BVhNVFx5gEd5HECxYsjd6 SBCVBdE3FGA6nrSg+lRClKP5pjnAzXS++0p4EHnaBlUsuUS+X3iwVu2o4LcIpWuF67xzUGfuTaBe0 QoxPiBfqt1BaUs0aSRzIkYqO5XlD0xc61V5X3+TO+RCbI2VZVDiVIJsZSs8vpdqDzdAMyBQZjfkKL tMywCjDPDGX17Sl8uc/+EElI7bWaPPOtWZ08dBYOvbl7oeEe1Nbjpef0aVOlHmjYbvI7h6dx1qKPH kWymJnW3OsHcsyerP/4Q==; 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 1gC7ds-0001iR-Kd; Mon, 15 Oct 2018 18:31:00 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7cO-0007kd-2Y for openwrt-devel@bombadil.infradead.org; Mon, 15 Oct 2018 18:29:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZpuSL2s9i4iz9nTckRFtqbOtnuSdlxJ9tAN5xaty82A=; b=NKabJMOE6Z7VSrkspWUmh0mt5v uQjMbh9wNsUXosklynANOj+J/Gk8jGk20vO57BlIoqE6pXKEKnlvdrbUWzr/DeIKJAEFhZYLxiNwy TuA1L8tlWs6U9hrPmFYo7IoinDIEv0cKjis8Kz7n6QPIvBtS6X4t9/ctsjn7jMg+E81OJolWA4sS2 qZrNaA1GlkqNsVir9jriu/4+xXq0U0B7eEmZVruErkGwm9OPx+gtSSczfY8IsA2WqASlkXomijf8h BHK7MGWmIivjk27WS24vAlyrdWjMoRUlOHBQ+Fsn1bQ7r0CV7DrVA4v8R3veOIs15VoMU+6e/01/m ZWMvnLXg==; Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7AG-0005LL-A1 for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 18:00:27 +0000 Received: by mail-ed1-x541.google.com with SMTP id g32-v6so18682757edg.13 for ; Mon, 15 Oct 2018 11:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZpuSL2s9i4iz9nTckRFtqbOtnuSdlxJ9tAN5xaty82A=; b=outMAyVTu0OTdg/Td5iId1R9Y9GNKsyHMGHL2b+ejEp0hnT4Jk/H5wDpzMpr0Sv6yD 2/NfYnqyVztGcwsw78ggZJTWmO2/6t+mBvA06rbEITiNOUGP/gWDgZx/6+QIrhoX35b2 Mr9L7ZprtuBGw5kiKRCGTpUnVn5usbkQ96E9sZ5w+Nr9123CQ/UkpNz5bceRIuujF26B 91si/c0qGIuj/TnQdR+sTIwtvNxnLoI0u1iKBPwRZN6un2V8o1gzlB3wr/1KrJhFP+1b BgM+ceWAK7ALdHvEWbhqreEDrs+by8LEiTYbY3kSSQHV+19+zq6A6f6ZBoV4NnD/+OQw xVRA== 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:mime-version :content-transfer-encoding; bh=ZpuSL2s9i4iz9nTckRFtqbOtnuSdlxJ9tAN5xaty82A=; b=X0dXq9yBLZxEZQhXCCLB0B5+cQkr8IpgaxxyMDAFJw0JrX8onHxZwn9adKHJq1YQfz 5osxmADAqRbZIDkQQnh154v2MswFkBIy2IV7BLcfeinYZ6ot0e0Qg1A9lXOkdf7ZY3eo 29tPsAitRJKhgFttQ9ToUtvWmSX+QCMAvXqPHLfiLSuWI1uhOWczvVAaAJkyHbV3NCY/ Bsmwsa1jKTTmI1G2c5m/TH3rBXjT+uU1BoCDfOS83OuOH3Gtudc7kCRhY9mEdGj+m4QU BKfXgSFC3jdgnd3AhTCOZTo0TtC4AUYJ2Ou44KMhFLDSjlfkUejmVFko3EoNS9X0Uhm5 Agpw== X-Gm-Message-State: ABuFfojwq0eJQbgHV8xCTQRO/nAX+4FR4L3vpJlexZjQt7UCHgkWl8Vw 7EELZoIMN59g5q2MXTJb7/O0ekgVsIY= X-Google-Smtp-Source: ACcGV61XnG35ugAshdpcqPS0YGGwryvsGlaYZW8paGmAtmnoSqT8ejqIS8YPBlQGo8x08EekKtio1A== X-Received: by 2002:a17:906:5f8b:: with SMTP id a11-v6mr20280081eju.10.1539626412008; Mon, 15 Oct 2018 11:00:12 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC1DCFCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc1:dcfc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id w56-v6sm4843885edd.78.2018.10.15.11.00.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 11:00:10 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.91) (envelope-from ) id 1gC7A1-0005hI-Lc for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 20:00:09 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Date: Mon, 15 Oct 2018 20:00:05 +0200 Message-Id: <3c1901c2572d60d143d398bdcd12ea51d20da0f2.1539626110.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_190024_483672_CD94D908 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:541 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 -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: [OpenWrt-Devel] [PATCH 1/5] build: remove obsolete -rc kernel testing rewrites 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 The -rcX "testing" kernels are no longer hosted on cdn.kernel.org file servers directly in a "testing" directory. Therefore the logic that tested for "-rc" can be removed. Signed-off-by: Christian Lamparter --- include/kernel.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/kernel.mk b/include/kernel.mk index 77c5ecf600..62a8e99e2d 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -60,9 +60,8 @@ else LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz - TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,) ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) - LINUX_SITE:=@KERNEL/linux/kernel/v$(word 1,$(subst ., ,$(KERNEL_BASE))).x$(TESTING) + LINUX_SITE:=@KERNEL/linux/kernel/v$(word 1,$(subst ., ,$(KERNEL_BASE))).x else LINUX_UNAME_VERSION:=$(strip $(shell cat $(LINUX_DIR)/include/config/kernel.release 2>/dev/null)) endif From patchwork Mon Oct 15 18:00:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 984324 X-Patchwork-Delegate: hauke@hauke-m.de 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="H1Dh2Gzx"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aHqPmWmr"; 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 42Ymmv4rBjz9sBZ for ; Tue, 16 Oct 2018 05:14:39 +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=v0PKp59dnMzG5KNH2J9iIJDoM30KsjKAhsK3v5qpmbo=; b=H1Dh2Gzx6q95xLhqjIdI5lW1Ru 5j2HWquc2c5ToVxiNJUdaxB7GzH1yxBWynIe9EWzINvvPyR7IsQNHG1jmDOhm7q+c/SksvUL4qhn+ LfXjm586AF91CCOoQ/Ouyi9aL97QQ3B9FTS5pc0Ydzy6wwcXrCQuhzw6OfBKsx8CYT2A1n/csoQ0q ukim53grbpxdMsLXE0cKTowhXz0AQTbj6h2KR8kBb/2r0WCS9wubTR0cdFA0AHwcz0UqDQZvf3ZYE hxJvmeL2tstXuoySKfi6xyhbQocLX1rHZqnYsn1MHsoYZgIM0uf9wsNoEGF8k23I76Hg6ScwAuzY9 upclJSuA==; 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 1gC7Nw-0002Dp-Oe; Mon, 15 Oct 2018 18:14:32 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7AF-0001JG-Uc for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 18:02:24 +0000 Received: by mail-ed1-x541.google.com with SMTP id c26-v6so18730137edt.3 for ; Mon, 15 Oct 2018 11:00:13 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=/e0abKWHzEhSiMnBgyGctC0I1cIjTAdXTPHvFLm2bo4=; b=aHqPmWmrgT7viEcTNit+HtzNc9AtK0bJMRUSlwGwB1C3qvFCrMg/UEgR4kukHZEFsk nd6vdch3ppqvtLZyRKdV+m4wW9FXoDfxDyekCCGipOYF7BAtXIqRQ0Uuw/YjUjiXBqqJ dm+As6429B0DJESy8XymYnFBZhGetJTZeiDEqmeXbZuyotnpm1rq2ad+wEu+YS4mU+Zt IFABipIr7mbqKd0kxd8z6LLIPM6T4OOWJOTxSXy0bvab+ovfcI81x3++l6C08adljqbW LXMn3ZbdFqe/x8XNnOZR518clBUrEZWD2u9xqJzX7KWaQ+KsBCVcSm0UKocvUkGbh9KR GcoQ== 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=/e0abKWHzEhSiMnBgyGctC0I1cIjTAdXTPHvFLm2bo4=; b=i5Fb2RezbDO888wBsb/Y9ZGC3FaxbINvD39HuYLXj6JU/dayoC895xja+u/VeM4o4M CxN4rvecoDQsEgQI+ae73GIIf1i+G9YoUB3LgRNMsDuKeEu9gxbJ88nl8LP8tHnP2B5N ym2fBR4LpE+MPt1ygsODQzPSE5jljkw7tbBbtG5cPGBXOF65OcMpm1p5oQah3mPuS8ks yOqIEa/gtfA+1umlznGD6bt7VtISEL2h7/X3HmXDcQ4mY8E4rqkgG241tD+1xY3ri1us GJlqiofxg01B3lhzIk4adIB9I7nLcBHxhunZxHfo2toQUQ13QU/RuL8unI+r/s+Pc0cr LKNQ== X-Gm-Message-State: ABuFfoik0CV0hYt1D8+63UCLyLtuh0rT8+Q2OgFMM2XwM2rdOaaElluu HlDw6CWn6jDncuBLO4opLdujlv9f0aQ= X-Google-Smtp-Source: ACcGV63dkAzfNRaeIJrhtOpi+X+uXrv2rX9F27Js4yzrZ6+4QDeTD1iKTcv3xranGiaEXo6nTq8UgQ== X-Received: by 2002:a50:9e26:: with SMTP id z35-v6mr26099412ede.90.1539626411340; Mon, 15 Oct 2018 11:00:11 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC1DCFCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc1:dcfc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id s40-v6sm4710969eda.60.2018.10.15.11.00.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 11:00:10 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.91) (envelope-from ) id 1gC7A1-0005hM-Mb for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 20:00:09 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Date: Mon, 15 Oct 2018 20:00:06 +0200 Message-Id: <74ba72893a16e4cd80a3f09a0c31771ec0ae5c22.1539626110.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <3c1901c2572d60d143d398bdcd12ea51d20da0f2.1539626110.git.chunkeey@gmail.com> References: <3c1901c2572d60d143d398bdcd12ea51d20da0f2.1539626110.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_110024_055723_3F676F93 X-CRM114-Status: GOOD ( 10.89 ) X-Spam-Note: SpamAssassin invocation failed Subject: [OpenWrt-Devel] [PATCH 2/5] apm821xx: set uart compatible to ns16750 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 The APM821XX/PPC460EX datasheet mentions: "Register compatibility with 16750 register set" Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/apm82181.dtsi | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index be8ace9207..79596da672 100644 --- a/target/linux/apm821xx/dts/apm82181.dtsi +++ b/target/linux/apm821xx/dts/apm82181.dtsi @@ -306,24 +306,29 @@ }; UART0: serial@ef600300 { - device_type = "serial"; - compatible = "ns16550"; + /* + * AMCC's BSP u-boot scans for the "ns16550" + * compatible, without it, u-boot wouldn't + * set the "clock-frequency" which is required. + * + * However, the hardware documentation lists: + * "Register compatibility with 16750 register set" + */ + compatible = "ns16750", "ns16550"; reg = <0xef600300 0x00000008>; virtual-reg = <0xef600300>; clock-frequency = <0>; /* Filled in by U-Boot */ - current-speed = <0>; /* Filled in by U-Boot */ interrupt-parent = <&UIC1>; interrupts = <0x01 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; UART1: serial@ef600400 { - device_type = "serial"; - compatible = "ns16550"; + /* same "ns16750" as with UART0 */ + compatible = "ns16750", "ns16550"; reg = <0xef600400 0x00000008>; virtual-reg = <0xef600400>; clock-frequency = <0>; /* Filled in by U-Boot */ - current-speed = <0>; /* Filled in by U-Boot */ interrupt-parent = <&UIC0>; interrupts = <0x01 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; From patchwork Mon Oct 15 18:00:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 984334 X-Patchwork-Delegate: hauke@hauke-m.de 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="SIPjI9Ao"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="St2brgU1"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DiH+wdKO"; 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 42Yn8s4J1pz9s5b for ; Tue, 16 Oct 2018 05:31:57 +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=t4N22H/IEe2seT/GG61BGnJiJfDZoZ/LP+dWAAVHeOM=; b=SIPjI9AoNNqKfLPmdQulZMCWBC lsjjJkGhVH/H3RTC1wsP/yoscBJrUHTESa72P8aZ0jHpUS4aMMZZomW05xHpvPJWlBu+j6GRxXXKg Kw1PH8OuQN8y0anK5jo7h/lqpggKOfgOL+aUgmJD1nE/UXGsv+soEpi0WoMjWy8/jtlzeLh8YIP2C Ha6hD6Cyw9bvumpznaf+dKzqgsxsq5ekOFzkF+DewXorYl7dts/hfIH+AjHBIesCdZrbfC2I+eOj8 rqNjb/3vsBtmi6Yw1kdLnZy2mCwfuqarbna4tpJcyKPhBtYY/eNPJP/LRN2P1lP1ejSYqYU2tz13W ls7D/HfQ==; 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 1gC7ec-00023t-Ae; Mon, 15 Oct 2018 18:31:46 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7cN-0007jh-WE for openwrt-devel@bombadil.infradead.org; Mon, 15 Oct 2018 18:29:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NGS2612gB3bzlFTxA90AU8RNTq5LPkoG93BqGMdnOto=; b=St2brgU1AAvtJ/3GHbckdCvuAp kyEptIVM5BxrjqqVlJtH0lgVYSyUghP3ZlR0SsHFyvEabfBhQRy9yEASDNF207EepZ03iN27etbUl glHkMx7zEB6ZfKtZ71pkdGU/3yTU/14U9n26ePBR9yaheYJF3f/0C70xKBq3bg2C7/66/xzKsAz6D xuiatGL1k5E30NO4Vhn9jUXkYCjcuUuuNR5lrRFjuqpSu0/uHBxv3CGL//6fijqdgtpTqGkkZYrLt DpJUwOFwp5Xvgqsmf3eW0xXUJAt4xBWfKokNinHns9oxH9d/Qa21rrQ4mOQSrkWVrq9LGyFUyN0uI MCMu90bg==; Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7AG-0005LM-GY for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 18:00:27 +0000 Received: by mail-ed1-x544.google.com with SMTP id v18-v6so18696893edq.12 for ; Mon, 15 Oct 2018 11:00:14 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=NGS2612gB3bzlFTxA90AU8RNTq5LPkoG93BqGMdnOto=; b=DiH+wdKO+I2QUE5qMsWIvnDQbYUj+Bf2sVUfgQZNiOO8aoPA2xeCp8745m9swmJVVt 2qM2eHkHySWek6XZFFAKdH6RqN42/VAE7gwDKI53XxVhs6ZGjKnyYu2j5hrXWHqYmhw3 s+mz4EMXy3nkXaR3/ngZqfDUAzYdeihnMi1wfRNOO9efS7zwM264MdCFS/l98/VvaGvd oVfUnbwjQ34pZSEZmbxTEn/6T55KUK406QrJH7NXdavwr29HUZeN+9ayaLAd8n4L47tb JkDlImwGd7+/SgG5z5wqUiMnW805KcqtHpenHGhtY4KIUOPT9p49Sc5+VJwtp+CKZzpv Qz2A== 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=NGS2612gB3bzlFTxA90AU8RNTq5LPkoG93BqGMdnOto=; b=h8EsS04ot2UlC6a9swzvUTqZ9H1V+OMZbLr0pEfd7YZM5lbhSBJxl4ZVTX3PfOuZVA /krxfG3B2mkUz16Aaky6yzPt9us7tY9VvcZVx3JoknxJjlmOcgX2GPmNqFLeHpBDsK0Q geYWrcybCFgFuLWwHGdKlT3V9GgheGaczOB6Yyh2DWSIbNnWetc0iJrd17In0c3UhIwQ 55g3oQ6q1mvRpjOFY74tvpkc3vepFwuN3Gn6Lp/85v8hrNZ4l6u/WM6dQJwJnGvZV8do qNcC0pQcuzbvZImLM6akTODxQSqnvX5eOfZTmIXW/RXJCemFrl5VasaG5j+20/sH7ZXa dJsg== X-Gm-Message-State: ABuFfohPEXeomsafdsWljNFzbnk7vtOm5sPYcEjpMZ1Ru5kLkbDOu1PM gcMw0duWNYGCCT8WdxBXeSKBxz/qdF8= X-Google-Smtp-Source: ACcGV62VwOrdNdeh+uRdlQSq8rlcKHq2FkSIVF48G+z53UdspwY+LQeZyAX9anBfyZJwjsHAVrFK9g== X-Received: by 2002:a17:906:29d7:: with SMTP id y23-v6mr20485018eje.156.1539626412461; Mon, 15 Oct 2018 11:00:12 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC1DCFCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc1:dcfc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id c24-v6sm4540288ede.73.2018.10.15.11.00.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 11:00:10 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.91) (envelope-from ) id 1gC7A1-0005hR-NW for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 20:00:09 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Date: Mon, 15 Oct 2018 20:00:07 +0200 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: <74ba72893a16e4cd80a3f09a0c31771ec0ae5c22.1539626110.git.chunkeey@gmail.com> References: <3c1901c2572d60d143d398bdcd12ea51d20da0f2.1539626110.git.chunkeey@gmail.com> <74ba72893a16e4cd80a3f09a0c31771ec0ae5c22.1539626110.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_190024_640577_9520F1EA X-CRM114-Status: GOOD ( 14.92 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:544 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 -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: [OpenWrt-Devel] [PATCH 3/5] apm821xx: force WNDR4700 console to 115200n8 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 With the upcoming 4.19 release, the serial console on the Netgear WNDR4700 would no longer work as it is never really set and always relied on the kernel's serial code not to change the baud rate. On the stock firmware, Netgear forced the console setting through a custom CONFIG_CMDLINE in their kernel to 115200. Normally, they should have done it in a different way and just passed the baudrate through a "console=..." kernel parameter via the bootargs in the "/chosen" dt node. But in their default u-boot bootcmd setting, they somehow forgot to add the "run addtty", so there's no easy way to pass the baudrate from u-boot to the kernel. So it has to be forced as otherwise it ends up as 9600 baud. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/netgear-wndr4700.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index 171b7e34d6..a8f73e8a04 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -26,7 +26,7 @@ }; chosen { - stdout-path = "/plb/opb/serial@ef600300"; + stdout-path = "/plb/opb/serial@ef600300:115200n8"; }; thermal-zones { From patchwork Mon Oct 15 18:00:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 984332 X-Patchwork-Delegate: hauke@hauke-m.de 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="cvkzj4K4"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="pD4AwLEU"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BHzc3K/d"; 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 42Yn7M046gz9sBZ for ; Tue, 16 Oct 2018 05:30:38 +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=u58dpg3Z/ncpvOFJjkCEtxa2g0sElilf4kYV6+WnLUU=; b=cvkzj4K4o7GliJmGnBrY4XJ+iY Q9q3htjHdB2k56yKRxlJplvKDOXPqUZeCRN9FZWD5tC7Fz38t4eZ6fbVIiQs9o8LwjHfeCqrVr//L ryMJq+3Vu3oVGMZ9sy+UL3GuhwYCUxgt6Hpoz8uSl1nWbLMN+eflzldUM+9Ys91rEQeauousjWqIl JTpEfGEzaHCVs/WVtKR2np8yQj6VkzsBxHeeZDBzA0HAVBde681E+y6ySmbNOFU9BF35D0pT7dYDL kicP6jg4FXp1ubddFmBSc9CK49g6BiNbGU3GzrGO/ShK3dg5488EUuf1thIJmm53liy25qksvPMz1 8OXoFO6w==; 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 1gC7dF-0000n6-I4; Mon, 15 Oct 2018 18:30:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7cN-0007y0-Q9 for openwrt-devel@bombadil.infradead.org; Mon, 15 Oct 2018 18:29:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4UCygLRBcIb4/CPZhyfa2UqPzaApkyZvUfma96ImIBE=; b=pD4AwLEU/p54XNNNOzsqZHelxJ Je8+Mlwzp6LdnvGcqWtwvMGrvW6gYpvoPIskgpKGUNOx7uLw7RigzUtG9v8/4I21bD7kzU1bZsBA6 DcdCzsuANKSOmXlNSTbfquBro/1EyW47CIUttAJAsKtkkyHN4pOE/x7xxYDTFZ9cXZDNeEsZTfvaA /R77+fN4ZLR45Q+iQOjlMZRuT+iWIdfbLtv3PlCCDD28qc17sIFFQlvDe0N6SxLnug/nBk4tIxym+ o+C/p0iHkbWEARyVt2yXVFM4BIFg9HwB6s0Vs9YlQKxLUEYoVRcJ2H4tXkvrjeBqSa2FARsTniIdY rU92YgpA==; Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7AH-0005LO-1z for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 18:00:28 +0000 Received: by mail-ed1-x543.google.com with SMTP id d15-v6so18712204edq.6 for ; Mon, 15 Oct 2018 11:00:14 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=4UCygLRBcIb4/CPZhyfa2UqPzaApkyZvUfma96ImIBE=; b=BHzc3K/dYaacKlQ+r97Z8sX9PZOGULUPUFjIJx4V0JSR/0VDaOiQ8T3YYfCOvoZeFq gNDsN6WQTnvH6Y4i0sxosEX+wAaUwZy86Kt06FSvqavO/DEg++YzwO6vboAKhF121zC5 A/TRggs/jOoiUD2JsX2eaSU5UPRHPKBPKYwKEWststUuT3XnGQoYWoS4qllm3Wcw8Pwz oeoZWkf2iP1iK9CFYQMh1sjc1dFWzcyD3FJpgOHCXwAUs40R4uXtrEDVVOR+PUrOhTtY Enuc2dUINyGrv7V1/Wozh2n12z+Aa4rEOZiYmbS4d0tuz3HYQvUfg4hOI4j/GjPa39vq PNXQ== 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=4UCygLRBcIb4/CPZhyfa2UqPzaApkyZvUfma96ImIBE=; b=SzB4sZvbLmEkVQn0CzaXtLZDRdiFLAEIcV/+yvo3fUaUzYtxIyAcEVUj64zmTx33MV uXenntc9e5jCS8DxL4NG9g3Hbi3jz9hiLDRCUNoO15kNkGKkMhK3RwKWC8r5Ogaf1DrP UiH2gWgegWo89iX4Yshh7CQ2AzTvjF7cYX0QpMHuNA7+mZpD04AkcVNufK1pyCkhDLpN 31RJY5Lv9bHAGKS3wKgnYPUKA9ltiAu6SwWZnX9J+9ZAZHHL6jlF57gHreE5ARcqhqtp 45lYYIHGgJzSOWJNyhrPBmJsp/xW6X79IbmRt8yafa9pbRMbGlTf+aeyWY330mrKnhn5 Mw3A== X-Gm-Message-State: ABuFfogkHPvEbfCuzYYQNPYXoeqkXmLjHIdUopKuhflZtQaro0ThTiFE +QcSls2CMTkWJp9ngy7CP8wnc/UrdPo= X-Google-Smtp-Source: ACcGV62sEFAcn78aJ7AsHHYdOm3EuqoZzxLBLZgF2lhF8LlbF5GEchTEh9emNLLj/s8cuK9XO8afiQ== X-Received: by 2002:a50:d1d7:: with SMTP id i23-v6mr26064567edg.34.1539626413130; Mon, 15 Oct 2018 11:00:13 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC1DCFCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc1:dcfc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id e38-v6sm5031387eda.67.2018.10.15.11.00.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 11:00:10 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.91) (envelope-from ) id 1gC7A1-0005hW-O5 for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 20:00:09 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Date: Mon, 15 Oct 2018 20:00:08 +0200 Message-Id: <53ae5202057bdc5a6f876a3877dd88beaac40a28.1539626110.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: References: <3c1901c2572d60d143d398bdcd12ea51d20da0f2.1539626110.git.chunkeey@gmail.com> <74ba72893a16e4cd80a3f09a0c31771ec0ae5c22.1539626110.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_190025_117267_3D01DA8F X-CRM114-Status: GOOD ( 14.94 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:543 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 -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: [OpenWrt-Devel] [PATCH 4/5] apm821xx: apm82181.dtsi overhaul 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 - order entries by mmio address where possible - switch to lower-case address values - comment on BSP u-boot behaviour in regards to what it edits and look for - annotate irq lines with the help of interrupt-names - remove deprecated "device_type" properties The pci and network device_type had to stay since they are required by the drivers and u-boot. the cpu and memory device_types will remain as well as they are still part of the DT Spec. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/apm82181.dtsi | 274 ++++++++++++------------ 1 file changed, 139 insertions(+), 135 deletions(-) diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index 79596da672..951f3d5f08 100644 --- a/target/linux/apm821xx/dts/apm82181.dtsi +++ b/target/linux/apm821xx/dts/apm82181.dtsi @@ -32,7 +32,7 @@ compatible = "apm,bluestone"; aliases { - ethernet0 = &EMAC0; + ethernet0 = &EMAC0; /* needed for BSP u-boot */ }; cpus { @@ -61,7 +61,7 @@ }; UIC0: interrupt-controller0 { - compatible = "apm,uic-apm82181","ibm,uic"; + compatible = "apm,uic-apm82181", "ibm,uic"; interrupt-controller; cell-index = <0>; dcr-reg = <0x0c0 0x009>; @@ -71,28 +71,28 @@ }; UIC1: interrupt-controller1 { - compatible = "apm,uic-apm82181","ibm,uic"; + compatible = "apm,uic-apm82181", "ibm,uic"; interrupt-controller; cell-index = <1>; dcr-reg = <0x0d0 0x009>; #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; - interrupts = <0x1e IRQ_TYPE_LEVEL_HIGH - 0x1f IRQ_TYPE_LEVEL_HIGH>; /* cascade */ + interrupts = <0x1e IRQ_TYPE_LEVEL_HIGH>, + <0x1f IRQ_TYPE_LEVEL_HIGH>; /* cascade */ interrupt-parent = <&UIC0>; }; UIC2: interrupt-controller2 { - compatible = "apm,uic-apm82181","ibm,uic"; + compatible = "apm,uic-apm82181", "ibm,uic"; interrupt-controller; cell-index = <2>; dcr-reg = <0x0e0 0x009>; #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; - interrupts = <0x0a IRQ_TYPE_LEVEL_HIGH - 0x0b IRQ_TYPE_LEVEL_HIGH>; /* cascade */ + interrupts = <0x0a IRQ_TYPE_LEVEL_HIGH>, + <0x0b IRQ_TYPE_LEVEL_HIGH>; /* cascade */ interrupt-parent = <&UIC0>; }; @@ -104,8 +104,8 @@ #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; - interrupts = <0x10 IRQ_TYPE_LEVEL_HIGH - 0x11 IRQ_TYPE_LEVEL_HIGH>; /* cascade */ + interrupts = <0x10 IRQ_TYPE_LEVEL_HIGH>, + <0x11 IRQ_TYPE_LEVEL_HIGH>; /* cascade */ interrupt-parent = <&UIC0>; }; @@ -156,7 +156,7 @@ compatible = "apm,plb-apm82181", "ibm,plb-460ex", "ibm,plb4"; #address-cells = <2>; #size-cells = <1>; - ranges; + ranges; /* Filled in by U-Boot */ clock-frequency = <0>; /* Filled in by U-Boot */ SDRAM0: sdram { @@ -172,16 +172,15 @@ }; - CRYPTO: crypto@180000 { - compatible = "amcc,ppc460ex-crypto", "amcc,ppc4xx-crypto"; - reg = <4 0x00180000 0x80400>; - interrupt-parent = <&UIC0>; - interrupts = <0x1d IRQ_TYPE_LEVEL_HIGH>; + TRNG: trng@110000 { + compatible = "amcc,ppc460ex-rng", "ppc4xx-rng", "amcc, ppc4xx-trng"; + reg = <4 0x00110000 0x100>; + interrupt-parent = <&UIC1>; + interrupts = <0x03 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; PKA: pka@114000 { - device_type = "pka"; compatible = "ppc4xx-pka", "amcc,ppc4xx-pka", "amcc, ppc4xx-pka"; reg = <4 0x00114000 0x4000>; interrupt-parent = <&UIC0>; @@ -189,13 +188,12 @@ status = "disabled"; }; - TRNG: trng@110000 { - device_type = "trng"; - compatible = "amcc,ppc460ex-rng", "ppc4xx-rng", "amcc, ppc4xx-trng"; - reg = <4 0x00110000 0x100>; - interrupt-parent = <&UIC1>; - interrupts = <0x03 IRQ_TYPE_LEVEL_HIGH>; - status = "disabled"; + CRYPTO: crypto@180000 { + compatible = "amcc,ppc460ex-crypto", "amcc,ppc4xx-crypto"; + reg = <4 0x00180000 0x80400>; + interrupt-parent = <&UIC0>; + interrupts = <0x1d IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; /* hardware option */ }; MAL0: mcmal { @@ -207,59 +205,19 @@ #address-cells = <0>; #size-cells = <0>; interrupt-parent = <&UIC2>; - interrupts = < 0x06 IRQ_TYPE_LEVEL_HIGH /*TXEOB*/ - 0x07 IRQ_TYPE_LEVEL_HIGH /*RXEOB*/ - 0x03 IRQ_TYPE_LEVEL_HIGH /*SERR*/ - 0x04 IRQ_TYPE_LEVEL_HIGH /*TXDE*/ - 0x05 IRQ_TYPE_LEVEL_HIGH /*RXDE*/ - 0x08 IRQ_TYPE_EDGE_FALLING /*TX0 COAL*/ - /*0x09 IRQ_TYPE_EDGE_FALLING TX1 COAL*/ - 0x0c IRQ_TYPE_EDGE_FALLING /*RX0 COAL*/ - /*0x0d IRQ_TYPE_EDGE_FALLING RX1 COAL*/>; - }; - - AHBDMA0: dma@bffd0800 { - compatible = "snps,dma-spear1340"; - reg = <4 0xbffd0800 0x400>; - interrupt-parent = <&UIC0>; - interrupts = <0x19 IRQ_TYPE_LEVEL_HIGH>; - #dma-cells = <3>; - /* use autoconfiguration for the dma setup */ - }; - - SATA0: sata@bffd1000 { - compatible = "amcc,sata-460ex"; - reg = <4 0xbffd1000 0x800>; - interrupt-parent = <&UIC0>; - interrupts = <0x1a IRQ_TYPE_LEVEL_HIGH>; - dmas = <&AHBDMA0 0 0 1>; - dma-names = "sata-dma"; - status = "disabled"; - }; - - SATA1: sata@bffd1800 { - compatible = "amcc,sata-460ex"; - reg = <4 0xbffd1800 0x800>; - interrupt-parent = <&UIC0>; - interrupts = <0x1b IRQ_TYPE_LEVEL_HIGH>; - dmas = <&AHBDMA0 1 0 2>; - dma-names = "sata-dma"; - status = "disabled"; - }; - - USBOTG0: usbotg@bff80000 { - compatible = "amcc,dwc-otg"; - reg = <4 0xbff80000 0x10000>; - interrupt-parent = <&USBOTG0>; - interrupts = <0 1 2>; - #interrupt-cells = <1>; - #address-cells = <0>; - #size-cells = <0>; - interrupt-map = <0 &UIC2 0x1c IRQ_TYPE_LEVEL_HIGH /* USB-OTG */ - 1 &UIC1 0x1a IRQ_TYPE_LEVEL_LOW /* HIGH-POWER */ - 2 &UIC0 0x0c IRQ_TYPE_LEVEL_HIGH /* DMA */>; - dr_mode = "host"; - status = "disabled"; + interrupts = <0x06 IRQ_TYPE_LEVEL_HIGH>, + <0x07 IRQ_TYPE_LEVEL_HIGH>, + <0x03 IRQ_TYPE_LEVEL_HIGH>, + <0x04 IRQ_TYPE_LEVEL_HIGH>, + <0x05 IRQ_TYPE_LEVEL_HIGH>, + <0x08 IRQ_TYPE_EDGE_FALLING>, + <0x09 IRQ_TYPE_EDGE_FALLING>, + <0x0c IRQ_TYPE_EDGE_FALLING>, + <0x0d IRQ_TYPE_EDGE_FALLING>; + interrupt-names = "txeob", "rxeob", "serr", + "txde", "rxde", + "tx0coal", "tx1coal", + "rx0coal", "rx1coal"; }; POB0: opb { @@ -309,9 +267,9 @@ /* * AMCC's BSP u-boot scans for the "ns16550" * compatible, without it, u-boot wouldn't - * set the "clock-frequency" which is required. + * set the required "clock-frequency". * - * However, the hardware documentation lists: + * The hardware documentation states: * "Register compatibility with 16750 register set" */ compatible = "ns16750", "ns16550"; @@ -334,14 +292,6 @@ status = "disabled"; }; - GPIO0: gpio@ef600b00 { - compatible = "ibm,ppc4xx-gpio"; - reg = <0xef600b00 0x00000048>; - #gpio-cells = <2>; - gpio-controller; - status = "disabled"; - }; - IIC0: i2c@ef600700 { compatible = "ibm,iic-460ex", "ibm,iic"; reg = <0xef600700 0x00000014>; @@ -360,15 +310,12 @@ status = "disabled"; }; - RGMII0: emac-rgmii@ef601500 { - compatible = "ibm,rgmii-405ex", "ibm,rgmii"; - reg = <0xef601500 0x00000008>; - has-mdio; - }; - - TAH0: emac-tah@ef601350 { - compatible = "ibm,tah-460ex", "ibm,tah"; - reg = <0xef601350 0x00000030>; + GPIO0: gpio@ef600b00 { + compatible = "ibm,ppc4xx-gpio"; + reg = <0xef600b00 0x00000048>; + #gpio-cells = <2>; + gpio-controller; + status = "disabled"; }; EMAC0: ethernet@ef600c00 { @@ -379,8 +326,10 @@ #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; - interrupt-map = <0 &UIC2 0x10 IRQ_TYPE_LEVEL_HIGH /* Status */ - 1 &UIC2 0x14 IRQ_TYPE_LEVEL_HIGH /* Wake */>; + interrupt-map = <0 &UIC2 0x10 IRQ_TYPE_LEVEL_HIGH>, + <1 &UIC2 0x14 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "status", "wake"; + reg = <0xef600c00 0x000000c4>; local-mac-address = [000000000000]; /* Filled in by U-Boot */ mal-device = <&MAL0>; @@ -401,27 +350,108 @@ has-new-stacr-staopc; status = "disabled"; }; + + TAH0: emac-tah@ef601350 { + compatible = "ibm,tah-460ex", "ibm,tah"; + reg = <0xef601350 0x00000030>; + }; + + RGMII0: emac-rgmii@ef601500 { + compatible = "ibm,rgmii-405ex", "ibm,rgmii"; + reg = <0xef601500 0x00000008>; + has-mdio; + }; + }; + + USBOTG0: usbotg@bff80000 { + compatible = "amcc,dwc-otg"; + reg = <4 0xbff80000 0x10000>; + interrupt-parent = <&USBOTG0>; + interrupts = <0 1 2>; + #interrupt-cells = <1>; + #address-cells = <0>; + #size-cells = <0>; + interrupt-map = <0 &UIC2 0x1c IRQ_TYPE_LEVEL_HIGH>, + <1 &UIC1 0x1a IRQ_TYPE_LEVEL_LOW>, + <2 &UIC0 0x0c IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "usb-otg", "high-power", "dma"; + dr_mode = "host"; + status = "disabled"; + }; + + AHBDMA0: dma@bffd0800 { + compatible = "snps,dma-spear1340"; + reg = <4 0xbffd0800 0x400>; + interrupt-parent = <&UIC0>; + interrupts = <0x19 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <3>; + /* use autoconfiguration for the dma setup */ + }; + + SATA0: sata@bffd1000 { + compatible = "amcc,sata-460ex"; + reg = <4 0xbffd1000 0x800>; + interrupt-parent = <&UIC0>; + interrupts = <0x1a IRQ_TYPE_LEVEL_HIGH>; + dmas = <&AHBDMA0 0 0 1>; + dma-names = "sata-dma"; + status = "disabled"; + }; + + SATA1: sata@bffd1800 { + compatible = "amcc,sata-460ex"; + reg = <4 0xbffd1800 0x800>; + interrupt-parent = <&UIC0>; + interrupts = <0x1b IRQ_TYPE_LEVEL_HIGH>; + dmas = <&AHBDMA0 1 0 2>; + dma-names = "sata-dma"; + status = "disabled"; + }; + + MSI: ppc4xx-msi@c10000000 { + compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; + reg = <0xc 0x10000000 0x100 + 0xc 0x10000000 0x100>; + sdr-base = <0x36C>; + msi-data = <0x00004440>; + msi-mask = <0x0000ffe0>; + interrupts =<0 1 2 3 4 5 6 7>; + interrupt-parent = <&MSI>; + #interrupt-cells = <1>; + #address-cells = <0>; + #size-cells = <0>; + msi-available-ranges = <0x0 0x100>; + interrupt-map = + <0 &UIC3 0x18 IRQ_TYPE_EDGE_RISING>, + <1 &UIC3 0x19 IRQ_TYPE_EDGE_RISING>, + <2 &UIC3 0x1a IRQ_TYPE_EDGE_RISING>, + <3 &UIC3 0x1b IRQ_TYPE_EDGE_RISING>, + <4 &UIC3 0x1c IRQ_TYPE_EDGE_RISING>, + <5 &UIC3 0x1d IRQ_TYPE_EDGE_RISING>, + <6 &UIC3 0x1e IRQ_TYPE_EDGE_RISING>, + <7 &UIC3 0x1f IRQ_TYPE_EDGE_RISING>; + status = "disabled"; }; PCIE0: pciex@d00000000 { - device_type = "pci"; + device_type = "pci"; /* see ppc4xx_pci_find_bridge */ #interrupt-cells = <1>; #size-cells = <2>; #address-cells = <3>; compatible = "ibm,plb-pciex-apm821xx", "ibm,plb-pciex"; primary; port = <0x0>; /* port number */ - reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ - 0x0000000c 0x08010000 0x00001000>; /* Registers */ + reg = <0x0000000d 0x00000000 0x20000000>, /* Config space access */ + <0x0000000c 0x08010000 0x00001000>; /* Registers */ dcr-reg = <0x100 0x020>; sdr-base = <0x300>; /* Outbound ranges, one memory and one IO, * later cannot be changed */ - ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 - 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000 - 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; + ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000>, + <0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000>, + <0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; /* Inbound 2GB range starting at 0 */ dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; @@ -438,37 +468,11 @@ * The real slot is on idsel 0, so the swizzling is 1:1 */ interrupt-map-mask = <0x0 0x0 0x0 0x7>; - interrupt-map = < - 0x0 0x0 0x0 0x1 &UIC3 0x0c IRQ_TYPE_LEVEL_HIGH /* swizzled int A */ - 0x0 0x0 0x0 0x2 &UIC3 0x0d IRQ_TYPE_LEVEL_HIGH /* swizzled int B */ - 0x0 0x0 0x0 0x3 &UIC3 0x0e IRQ_TYPE_LEVEL_HIGH /* swizzled int C */ - 0x0 0x0 0x0 0x4 &UIC3 0x0f IRQ_TYPE_LEVEL_HIGH /* swizzled int D */>; - status = "disabled"; - }; - - MSI: ppc4xx-msi@C10000000 { - compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; - reg = < 0xC 0x10000000 0x100 - 0xC 0x10000000 0x100>; - sdr-base = <0x36C>; - msi-data = <0x00004440>; - msi-mask = <0x0000ffe0>; - interrupts =<0 1 2 3 4 5 6 7>; - interrupt-parent = <&MSI>; - #interrupt-cells = <1>; - #address-cells = <0>; - #size-cells = <0>; - msi-available-ranges = <0x0 0x100>; - interrupt-map = < - 0 &UIC3 0x18 IRQ_TYPE_EDGE_RISING - 1 &UIC3 0x19 IRQ_TYPE_EDGE_RISING - 2 &UIC3 0x1a IRQ_TYPE_EDGE_RISING - 3 &UIC3 0x1b IRQ_TYPE_EDGE_RISING - 4 &UIC3 0x1c IRQ_TYPE_EDGE_RISING - 5 &UIC3 0x1d IRQ_TYPE_EDGE_RISING - 6 &UIC3 0x1e IRQ_TYPE_EDGE_RISING - 7 &UIC3 0x1f IRQ_TYPE_EDGE_RISING - >; + interrupt-map = + <0x0 0x0 0x0 0x1 &UIC3 0x0c IRQ_TYPE_LEVEL_HIGH>, /* swizzled int A */ + <0x0 0x0 0x0 0x2 &UIC3 0x0d IRQ_TYPE_LEVEL_HIGH>, /* swizzled int B */ + <0x0 0x0 0x0 0x3 &UIC3 0x0e IRQ_TYPE_LEVEL_HIGH>, /* swizzled int C */ + <0x0 0x0 0x0 0x4 &UIC3 0x0f IRQ_TYPE_LEVEL_HIGH>; /* swizzled int D */ status = "disabled"; }; }; From patchwork Mon Oct 15 18:00:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 984322 X-Patchwork-Delegate: hauke@hauke-m.de 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="BF/i+CLG"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cfIDO+bS"; 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 42Ymfr06rlz9sBZ for ; Tue, 16 Oct 2018 05:09:24 +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=ngZ1I3PX2HtNOixQUXJ0OUmkaSBps0ve7aupewsYg5Y=; b=BF/i+CLGjjNxZBaL446POp9aEV GUk2oCMLdHOHtqyDcknH4GRXzMcAbqlKqsB4xkhc5aS0RYeQfBudT1qzI6nLvEAv+jwBrD3WKn+M9 a/+e1KG90/OvkwcJM1T0Q6cJ5PXudBX1WnZ+1unTcjxMCqY2qO2vJAyk74JZJf62sDgTFvlDkpWkL KeBEH6EY6sM8Pbfd9gRlRHK4vWStp/AAQMg0wEiQUHQ5QCp6o/XrcT6UIrx3EVYqDbdVaQUvsuWMM xwIHUDURs5d3s1SJl9AHBeFxYneUPJO1UoEfaj8iU+9cFD0xrzR7e/LzowhU65srn2ef2F6f94LTk RuULOmxQ==; 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 1gC7Il-0007Ao-Tg; Mon, 15 Oct 2018 18:09:11 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC7AG-0001Kg-Dr for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 18:02:24 +0000 Received: by mail-ed1-x544.google.com with SMTP id c22-v6so18725726edc.4 for ; Mon, 15 Oct 2018 11:00:13 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=WQLhLZWv4Mfa7MfB2Ra6VeGqGlQVBjZPkQaOXybheFI=; b=cfIDO+bShH7M0TN24T3WVfZbrcbbNpeADZrIKkdV0feySWMFmP+u+5G8HHYvHCvNSL w/p9ghOi6DXeRnCqMEDhpgVEoaxcgSWLYeBUZ1+WgpBRYYK9KUwFtxRxhKAiRvn82vGM 6mtfDEKxVqwjHdi5O74D/gRq+ylOmRi0KbbDnA/laprv/PzIICCIrWORKoBaiF3ujxnl WJXD1EIDgnaHSrFPtnz3AIMXr9x4b4GmHFPwYyW+xcVSQfZgsrJ0589f/5OeeKoVYbLd IHSZvz78O8Kr3cvYGU0mkPtoUXSPaVMxPJMhRs4QOleuZyFymTi88TR5+zpGrt6745c4 MsfA== 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=WQLhLZWv4Mfa7MfB2Ra6VeGqGlQVBjZPkQaOXybheFI=; b=ITRRTtw44A80gTBKCWbYIgzht8H4Aa36KCexJ8pVHfuBeRvypRmygn+dMuc7RThWsz +vcaBnhR4Qkae5SAoGJRLraoDxymyXbdYobjtoRsJjEcLbMQulST9nz2OVCoi8j6nyVO wqoYEYnp5gcyviV7TMuNYo70q27/P6SOeNCBO50QQ7uVkuTQRVNoSKWC3R0ZWSFoyy0j Ng5S46bhH9sumVUGR6L3Kpvh0FbvFHFPWvrdnbkBi0wmcIIQYI1znk4+2KBmOP9dCgP7 vsU8islC2249UZS9Fki2hPx+Xyd4xfxsk7wtG6AgqSqR7atXIP0FSO21k9gnM3GdABs7 s49A== X-Gm-Message-State: ABuFfoho2yJwAVQbWBgI8erSkOAA4hOUwCLvygtcWJVV/D8EMuF2fJCT APlcW8dFJoTkjNVwy/bm78vdWYdettc= X-Google-Smtp-Source: ACcGV61ykTYVqcTTPUC+5m2F/ETHOscZIzuoaQl5ZFfu34WJy7jPqOUqz2a1LAl2X+0yws5sVNUyew== X-Received: by 2002:a50:a564:: with SMTP id z33-v6mr25204188edb.166.1539626411685; Mon, 15 Oct 2018 11:00:11 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC1DCFCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc1:dcfc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id p3-v6sm4125007eda.88.2018.10.15.11.00.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 11:00:10 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.91) (envelope-from ) id 1gC7A1-0005hc-Ox for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 20:00:09 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Date: Mon, 15 Oct 2018 20:00:09 +0200 Message-Id: <69744fcdf2e72cacbc01795fb71c511ad6af9112.1539626110.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <53ae5202057bdc5a6f876a3877dd88beaac40a28.1539626110.git.chunkeey@gmail.com> References: <3c1901c2572d60d143d398bdcd12ea51d20da0f2.1539626110.git.chunkeey@gmail.com> <74ba72893a16e4cd80a3f09a0c31771ec0ae5c22.1539626110.git.chunkeey@gmail.com> <53ae5202057bdc5a6f876a3877dd88beaac40a28.1539626110.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_110024_521798_51DB4A83 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Note: SpamAssassin invocation failed Subject: [OpenWrt-Devel] [PATCH 5/5] apm821xx: add disk-activity triggers via DT. 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 The WNDR4700 and the MBL have a dedicated HDD activity LED. This patch adds the default led triggers to the DTS and removes the entries in 01_leds. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/base-files/etc/board.d/01_leds | 5 ----- target/linux/apm821xx/dts/netgear-wndr4700.dts | 1 + target/linux/apm821xx/dts/wd-mybooklive.dts | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds index 8ba57bdf06..632d22a470 100755 --- a/target/linux/apm821xx/base-files/etc/board.d/01_leds +++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds @@ -23,12 +23,7 @@ meraki,mx60) ucidef_set_led_switch "lan4" "LAN4" "mx60:green:lan4" "switch0" "0x02" ;; -wd,mybooklive) - ucidef_set_led_ide "sata" "SATA" "mbl:blue:power" - ;; - netgear,wndr4700) - ucidef_set_led_ide "sata" "SATA" "wndr4700:green:hd" ucidef_set_led_switch "wan_green" "WAN (green)" "wndr4700:green:wan" "switch0" "0x20" ucidef_set_led_netdev "wan_yellow" "WAN (yellow)" "wndr4700:yellow:wan" "eth0.2" "tx rx" ucidef_set_led_usbport "usb3" "USB3" "wndr4700:blue:usb" "usb2-port1" "usb2-port2" "usb3-port1" "usb3-port2" diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts index a8f73e8a04..6a8c9990e6 100644 --- a/target/linux/apm821xx/dts/netgear-wndr4700.dts +++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts @@ -390,6 +390,7 @@ hd-green { label = "wndr4700:green:hd"; gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "disk-activity"; }; hd-red { diff --git a/target/linux/apm821xx/dts/wd-mybooklive.dts b/target/linux/apm821xx/dts/wd-mybooklive.dts index 4c61987119..9412f38d4a 100644 --- a/target/linux/apm821xx/dts/wd-mybooklive.dts +++ b/target/linux/apm821xx/dts/wd-mybooklive.dts @@ -103,6 +103,7 @@ power-blue { label = "mbl:blue:power"; gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "disk-activity"; }; };