From patchwork Mon May 29 12:56:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 9753159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4AD3560249 for ; Mon, 29 May 2017 12:56:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B4CA2623C for ; Mon, 29 May 2017 12:56:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F8F8283CD; Mon, 29 May 2017 12:56:55 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 B30B22623C for ; Mon, 29 May 2017 12:56:54 +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=t7swkarWunM9NuwUoQR8pIKzuWaoJet1PDv5rj6AfHM=; b=JEM4eeDC/J58/p +nr//gikFj/Ix+yLmOSKMmLqXyst6jcgHxYviriFtRX0VBCTOsQK2kQbaTlUf6uaMFHzpiE9t0Pu2 m1owrh9Q04qLrq35ncjxvR5fXoR/srEcKtj7DG2E3h2hn8LlM+UTys7yCjpqi+dzbXvYy0fBGMroD 1sxD0eoRJXs+zHlb/+pANa3lYXIUtiEyiAe9V8j0ClxIzY5lOutlLHmKgRLMbTRt2zIqCGXbzfBm+ n58rl1igkYWlybErPfBfjgHyRQfgfxINQNhyMcmyuDJZQPeAEw2ahHcVAHdu6JJghwqfap3hckI10 Bmf9Oa+J2xT/kN0z+nrg==; 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 1dFKE9-0004m2-A8; Mon, 29 May 2017 12:56:53 +0000 Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFKDx-0004Y4-1H; Mon, 29 May 2017 12:56:42 +0000 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1953850428; Mon, 29 May 2017 20:56:11 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 29 May 2017 20:56:10 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkexhb01.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 29 May 2017 20:56:10 +0800 From: To: , , , , Subject: [PATCH v2 4/4] arm64: dts: mt7622: group clock DT nodes into separate DT file Date: Mon, 29 May 2017 20:56:04 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170529_055641_251349_E85675C2 X-CRM114-Status: GOOD ( 14.41 ) 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: Sean Wang , linux-kernel@vger.kernel.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 From: Sean Wang For more readability and maintenance, all the clock related DT nodes for mt7622 SoC are grouped into a separate DT file. And currently mt7622-clock.dtsi only includes the fixed clock for uart0 and the oscillator which would be extended after MT7622 clock driver is introduced. Signed-off-by: Sean Wang --- arch/arm64/boot/dts/mediatek/mt7622-clock.dtsi | 20 ++++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + 2 files changed, 21 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt7622-clock.dtsi diff --git a/arch/arm64/boot/dts/mediatek/mt7622-clock.dtsi b/arch/arm64/boot/dts/mediatek/mt7622-clock.dtsi new file mode 100644 index 0000000..264421d --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt7622-clock.dtsi @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2017 MediaTek Inc. + * Author: Sean Wang + * + * SPDX-License-Identifier: (GPL-2.0 OR MIT) + */ +/ { + clk25m: oscillator@0 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + clock-output-names = "clkxtal"; + }; + + uart_clk: dummy26m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 3a729d9..3768c28 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -8,6 +8,7 @@ #include #include +#include "mt7622-clock.dtsi" / { compatible = "mediatek,mt7622";