Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3538842imu; Sun, 11 Nov 2018 17:29:21 -0800 (PST) X-Google-Smtp-Source: AJdET5fCAWKgKqyfuR9BzhFEGKbwP0el8prqy/sSCYBr55Y215v7EiTLk6lzavtSk8gSpukA5wVS X-Received: by 2002:a65:5a4c:: with SMTP id z12mr15786582pgs.188.1541986161634; Sun, 11 Nov 2018 17:29:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541986161; cv=none; d=google.com; s=arc-20160816; b=z4WVwtRroa5Ce0tTfzg7SzS9gx7logAgktCIFhaCNgyWhl+R/fgQcyfr8tuF4vTapE 9QWA8aYmR0j0YA8/MMOiMDo+WpXf+7b7QpsfUv7QNQbzBYsih32qmUxssZ+KJ0er/9jg jBd1tAanx6pLwVeq80Ikjt8mcgT58Ppgpwc5F35be42qGOIgPKw3atGWPSWpZbKo9VqZ FSh/9/osi18d0ZG2HWTLChDMLBebBbghTSTtXSEGKi1O6hD4Td44krQCbO92IRT7rFda lUjsAoVw5WtH7J4ejgoT8zUWUGVqInNcFy2AVcuE7wXy16DSaL3aHSqj6OESINQuUMmY 61lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=uds1d+Z7QyDh8X7p5DBPmGa3GqCQUaWjbV3F4FMcxvg=; b=gUs6uOmFAVRkJhF5PdHyAbWvndYDIwjaEEY0i9zdR6aJ6kBGmxmzGmHhphNwSgvClx nKNCdVSsApX08lgxfqZTnTnUCqn6+EPw6iyXKf8evW60eBZZzyaPlQimqykg6isRdTUH zxuXb2SqRjht9JT4fWx30dNHbecFe0eDKQ9M7AzCUwfYc401HMV0BvpPbN/gW9i+AnkU ULU/fH3/2HqW2nijOU4GQ9OO8IxT0SLl2W5JM8ukYgdaZtyiOtLOuKMiOTz0M0WDR0b9 9z3zhQ5mXkLVa+Z1NuGzYfUoBGlT+cHFTEME5GkmIudk4FIa5n3F3yyQojuWW5M+3rRM YA4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e24-v6si14595660pgj.287.2018.11.11.17.29.06; Sun, 11 Nov 2018 17:29:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730020AbeKLLT3 (ORCPT + 99 others); Mon, 12 Nov 2018 06:19:29 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:26527 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729694AbeKLLT3 (ORCPT ); Mon, 12 Nov 2018 06:19:29 -0500 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 CC: Weijie Gao , , , , , Ryder Lee , 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 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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"; -- 1.9.1