From patchwork Mon Nov 12 01:28:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10677979 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2753F15A6 for ; Mon, 12 Nov 2018 01:29:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 155462A0E1 for ; Mon, 12 Nov 2018 01:29:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0942F2A0E5; Mon, 12 Nov 2018 01:29:13 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B10A62A0E1 for ; Mon, 12 Nov 2018 01:29:12 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=+LM7uN+0btZmLLF7AYeVWq3KNBXiGCfBBNtRBFO62aw=; b=O7BT98d/3TZW3G wscnfI6eQsFoBCSnNIT0gOoKQ4tTBjqxtxyqAhXdU+W3rXKjE/uy3t8XrTjvYuOmgykbs2vVyrXPy yiUE5yn4qEGJa/enYfhULf345f7a0TA85+orf996ZfsBPPiGDpmLQXvsIxXUWjlbYgYjCNWR6Nvhl +z6O7jtpdx8EbT/7QsP7NRjB0NU97U+6ROeA6sxCde7uf5Mjd0ygwktZUSBsg55zjrBCktcPq8b87 W3bGxrAKFbhjEoz9PVuZwA0LWNv0MSZIVdbobhOHGO7wR77HGVx7vpKnCyMro+lCgpvn++5NwK2vn jpCGv3fkR6AAF2lg7uJA==; 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 1gM12L-0003cG-L7; Mon, 12 Nov 2018 01:29:09 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12J-0003b9-8j; Mon, 12 Nov 2018 01:29:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding: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=ZvsGtbknAuyuAol9BPs3NDLKGtHZv+DIpk//RhsG5VE=; b=1mO0QGNzFSvvnNe5Egq6fL1rvO YQ/amfERJjM6oN2+8joluJIuJrzIppboTDzOqka6FtM7sK85jdm7MRfHweznenORTFteXYB0GOTeE 4GlT1akKh6veZBjZw/p1fVXVQqe2k7QK4cZ7zO0u/LzoalYjMHFy35u8qT6bh54DXWjm03S6lt77u PBYXc3HF0tqXnyiNjJgfXQkGrGi9efJjys0JAvnri7tNtCDz7jppbqKOdy48Vmc6RGFineiWE1fSK x7DzJ9fcWJO25fCX6LfkDfkaYqUQ8tnhqCgmf4s3oDFZBFz6sDXN+XMK3ku1mtw7kqGkoPP8e0om4 VOKLgKiw==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12E-0004iC-D7; Mon, 12 Nov 2018 01:29:03 +0000 X-UUID: 5a47d94955164f0d9feb9656b67a59ff-20181112 X-UUID: 5a47d94955164f0d9feb9656b67a59ff-20181112 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1853704518; Mon, 12 Nov 2018 09:28:25 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 12 Nov 2018 09:28:18 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 12 Nov 2018 09:28:18 +0800 From: Ryder Lee To: Rob Herring , Matthias Brugger Subject: [PATCH v1 1/3] arm64: dts: mt7622: fix no more console output on rfb1 Date: Mon, 12 Nov 2018 09:28:06 +0800 Message-ID: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181111_202902_663130_9FBC94A1 X-CRM114-Status: GOOD ( 10.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The issue was found by Kernel CI: https://kernelci.org/boot/id/5bbdcbad59b5146fc5b43592/ Fix this by using a 'stdout-path' property that points to the device. Fixes: c0d9f9ad4f76 ("arm64: dts: mt7622: add earlycon to mt7622-rfb1 board") Signed-off-by: Ryder Lee Tested-by: Kevin Hilman --- Changes since v1: revise commit msg --- arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts index dcad086..3f78334 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts @@ -17,8 +17,13 @@ model = "MediaTek MT7622 RFB1 board"; compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622"; + aliases { + serial0 = &uart0; + }; + chosen { - bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512"; + stdout-path = "serial0:115200n8"; + bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512"; }; cpus { From patchwork Mon Nov 12 01:28:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10677985 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A3451759 for ; Mon, 12 Nov 2018 01:34:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 576CF2861E for ; Mon, 12 Nov 2018 01:34:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B2852863E; Mon, 12 Nov 2018 01:34:00 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 02AFD2861E for ; Mon, 12 Nov 2018 01:34:00 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xXAxvA+CLDBr/DqbwZm8f6deSwZ9pA9+2UpBS2ZCiho=; b=hec3b2tCi/7zJa Wwa10r2HxHOTMnT0A/qkZb7DyKiIeZdTciTMMtXnMhIyq+KtuufUKEy7JmKd/ufjfUESdTt4JLK/X ss0QO4ak0oEzKrSWX0+dGtFIWS9MaiQsKYTsFsqpM5xQ9tAukr89tUd92SgIQYRbCRtlQfMD5DZTJ GFA+0gdWYDM0B9zGq3y9sfFPnVxwY4YpwIa8Jea2KQ30fMoEEOl7Zuv0tY9ZKGQGy6hZmioMxrAk8 33Nl898P/HHPL7Ya/pQJBhwdtAJN/oiZznPbhoBEXqcUn8L5TbDVnDiH7/458eJfyL5eQa5rvfQBw aSz1/ZWnp3IhLQ6Gk3Ug==; 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 1gM16z-0005vq-OU; Mon, 12 Nov 2018 01:33:57 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM16x-0005vG-Va; Mon, 12 Nov 2018 01:33:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=HpgI7cSxTObui5RSsMIPLjx9wDijZPVJbaXKxB7Y0S0=; b=VhJ0a1LM2OqIWI55DitmgG60W +3mQgoDTy3FtKAxQhan+Wv70YpYCGbKdIJuSEea3sfLI1up6Cwrx8k7gVBmysAwEVFRnT/kKXfibr W0MkXEtGa/UwC2WF7V2qMeUIIwRXqvIbC9BJFkAl5N+o1LffM05YeXMG3n2Ocil2YAuo5I36K9dwV i4Yew84lBalPGOzpL+uk8/iRDW6L6vq2URAAyMgaz4r2Hi2iYxaps9pd0BxI1bnAiMhy2HOmtq5va I5OwegW9Pi7yGt6ucuUuT30X/h0MefvOFXx8PV6uphoQMeJpZg177TWRVP9fl51DOOyozj9CU+9/i kv5hrAKFA==; Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM16v-0004kD-CH; Mon, 12 Nov 2018 01:33:54 +0000 X-UUID: 1c0e4f463a1d4900ac12e1f266eb33a0-20181112 X-UUID: 1c0e4f463a1d4900ac12e1f266eb33a0-20181112 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1201426226; Mon, 12 Nov 2018 09:28:21 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 12 Nov 2018 09:28:18 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 12 Nov 2018 09:28:19 +0800 From: Ryder Lee To: Rob Herring , Matthias Brugger Subject: [PATCH v1 2/3] arm64: dts: mt7622: fix no more console output on BPI-R64 board Date: Mon, 12 Nov 2018 09:28:07 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 In-Reply-To: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> References: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: DCB100FA3ECEF62E2692F4590BC503E0E6DF2A6B0210A74BF1D8DC2E2D65EC722000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181111_203353_643567_DDC1EB92 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix this by using a 'stdout-path' property that points to the device. Fixes: 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board") Signed-off-by: Ryder Lee --- Changes since v1: revise commit msg --- arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts index 5d6005c..710c5c3 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts @@ -16,8 +16,13 @@ model = "Bananapi BPI-R64"; compatible = "bananapi,bpi-r64", "mediatek,mt7622"; + aliases { + serial0 = &uart0; + }; + chosen { - bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512"; + stdout-path = "serial0:115200n8"; + bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512"; }; cpus { From patchwork Mon Nov 12 01:28:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10677981 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AE9A41709 for ; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D4262A0E1 for ; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 918192A0E5; Mon, 12 Nov 2018 01:29:23 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E3002A0E1 for ; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1o4jeAERu3h5VSpmetUs41YsDC+Cu0cPdCKYcsD8BTk=; b=c0ll5KUINFvjHK I1lLAWLDSgu1GxWCizBWzm+PpW/ajEcWDs63LlRgm01mfuV29v31htWKzI2Z6gFNuorJ5KzjOcZqd /JdRbTveeXvSPLhpB9DPm7gk0tt3NvWJcx1PYDGOOyGKJTQQU0VURr3N4P1/RStDPDwrSclksVZrD 9bXMN2X0CyV7bKcLQveQIqDY3ms1R4j8/+ByEuSKYlIG4xiwxwJmwBK05+nQ67EWsMp1NHCWbrKZa yoEmgFMii5HY64ZjWXKix0RCAtuQ6k2OQ1NP39QWbdkpLSWZQnUIX7hZKsNTWjj6Kg31TrSsBfK9f c+ay6gV40J+L4Sr/4rmQ==; 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 1gM12S-0003jq-Dp; Mon, 12 Nov 2018 01:29:16 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12J-0003b8-8j; Mon, 12 Nov 2018 01:29:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=uds1d+Z7QyDh8X7p5DBPmGa3GqCQUaWjbV3F4FMcxvg=; b=Y/We1Qn6001s8TiSZOhazpHGh nYR2DblIoUVirzIxHrJhdB5EBJC+JVJfquL31Q5zgCHlmQM6/lRseplSEsjbBqqtBsAqDuke5p3kr cvlTuvYN9xkcaOmkI3Vi4xOEcqocnYngj6EaahuhEkNFQjQFtRr5Pto5XZNdmZia8JjNclU9z46fk zNGiZXmPZ53IE8TRMRx+EfVqxIrLMib8V8+ccJ0w39IuEMK1KGs0nXITCGUxL4uA5QzV8i3XGgnvj X/RLLanhUB7yrI94j4w1jCg2WZqlJL5pCZ+5sOp3jz/NJP3+aIS9ghNPvgwso91lkCEBDdHmaY40V gxXMY1woQ==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12D-0004i0-61; Mon, 12 Nov 2018 01:29:02 +0000 X-UUID: 47729ef156614660a8f08258a4e16968-20181112 X-UUID: 47729ef156614660a8f08258a4e16968-20181112 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 467778218; Mon, 12 Nov 2018 09:28:25 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 12 Nov 2018 09:28:19 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 12 Nov 2018 09:28:19 +0800 From: Ryder Lee To: Rob Herring , Matthias Brugger Subject: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node Date: Mon, 12 Nov 2018 09:28:08 +0800 Message-ID: <17fde639c7d37f9cfabab230379913e652cf869a.1541643419.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> References: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181111_202901_450560_040BDB27 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The crash http://termbin.com/zitb is caused by the timer register into system in early pahse during kernel boot, but the clock sources didn't get ready at that time. A better way is to switch to use CLK_OF_DECLARE() in driver for things that need them early, but this node is actually useless in MT7622. So we drop it. Fixes: 9cc7f0de9e67 ("arm64: dts: mt7622: add timer, CCI-400 and PMU nodes") Cc: stable@vger.kernel.org Signed-off-by: Ryder Lee Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index fe0c875..14a1028 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -227,16 +227,6 @@ #reset-cells = <1>; }; - timer: timer@10004000 { - compatible = "mediatek,mt7622-timer", - "mediatek,mt6577-timer"; - reg = <0 0x10004000 0 0x80>; - interrupts = ; - clocks = <&infracfg CLK_INFRA_APXGPT_PD>, - <&topckgen CLK_TOP_RTC>; - clock-names = "system-clk", "rtc-clk"; - }; - scpsys: scpsys@10006000 { compatible = "mediatek,mt7622-scpsys", "syscon";