From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751205AbdE2M4S (ORCPT ); Mon, 29 May 2017 08:56:18 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:36882 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751174AbdE2M4P (ORCPT ); Mon, 29 May 2017 08:56:15 -0400 From: To: , , , , CC: , , Sean Wang 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 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; -- 1.9.1