Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4754739imm; Mon, 30 Jul 2018 22:41:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpelJIM/Qsj6cRp/BQ+o9OvASeGV3d0rt61Ga2HeQ+mcCC/nOlMXm2Qy0Svqu1oSF2ZsSM7V X-Received: by 2002:a63:8449:: with SMTP id k70-v6mr19175555pgd.309.1533015663113; Mon, 30 Jul 2018 22:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533015663; cv=none; d=google.com; s=arc-20160816; b=lwt2P5KHzScGDkYk4BSOWqIIn6rrp6gv+6CJdtSLLWEYUl1KJ3+IB8FAiv+rn2iv/p VRB+k/m6RFZa0DHMWHq0qUWE2Iux4+/L1j6NRnKhLXfPmKhNKdg7+3V6S3ez89p4XELX oc9tdqGddisAwMJeciwQhOrWOvds2uEM8/RLkQYuPTdMEshReo3tfNMT6FNFFO5nrLwU EHWQq7qkobtSRawpd079bg1qw3PUY1paJMIyQz+H5fiZqltsw/l6QuENR4Q/9Ju1/B5r /VgKFWCh2dOQg4+AHa98QUNeOXC+zExm3s/pV4BTsb/mKY7S/TSUimKe1nJJNiPqkW34 4W2Q== 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:arc-authentication-results; bh=cUM7f+gwh6PwjV8MKXmTJ4CvFwwyTSaGJEYJxPYU5OU=; b=pMRvlIvlBIsk0ZhgQLrEHgjC1Lb30Fh6Bwojel/5+Z9mRos699MePCBB1feG5KgEgl lOz9U1tbRMqD+ie4lW8H18KQ/xkpmI33TqQbHUROW3H7C3dITDq2/iMcHBarmRhL3q5a rr9pb26PTe87tR9FAZWyfIM2Mz0FXMvn4Er35MTAAiPAjdB5sQOry6KbFsxEoh0cPvHO 2CepVSGY9ihHt60weyItZMDAFAC+cFTIJ2nYo572PsQF5/9HadVIdns0mSA6tT/P4D8V Bsz6bOqW4d/wYwnE+hPSVUhaoD8Sxm3rsccggdUl8dOLYuHWZ5NG7ttPzpwi94nYVxLc HXjg== 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 l192-v6si12662678pge.81.2018.07.30.22.40.49; Mon, 30 Jul 2018 22:41:03 -0700 (PDT) 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 S1730848AbeGaHST (ORCPT + 99 others); Tue, 31 Jul 2018 03:18:19 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:28301 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729723AbeGaHSG (ORCPT ); Tue, 31 Jul 2018 03:18:06 -0400 X-UUID: ed2d74117e1e429d814622a75946b2d7-20180731 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1204511737; Tue, 31 Jul 2018 13:39:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 31 Jul 2018 13:39:29 +0800 Received: from mtkslt303.mediatek.inc (10.21.14.116) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 31 Jul 2018 13:39:30 +0800 From: Erin Lo To: Matthias Brugger , Rob Herring , Mark Rutland , Thomas Gleixner , Jason Cooper , Marc Zyngier , Greg Kroah-Hartman , Stephen Boyd CC: , srv_heupstream , , , , , , , , , , Weiyi Lu Subject: [PATCH v4 08/10] arm64: dts: mt8183: Add clock controller device nodes Date: Tue, 31 Jul 2018 13:38:05 +0800 Message-ID: <1533015487-60189-9-git-send-email-erin.lo@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1533015487-60189-1-git-send-email-erin.lo@mediatek.com> References: <1533015487-60189-1-git-send-email-erin.lo@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 From: Weiyi Lu Add clock controller nodes for MT8183, include topckgen, infracfg, apmixedsys and subsystem. Signed-off-by: Weiyi Lu Signed-off-by: Erin Lo --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 92 ++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 1553265..6b87a24 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -5,6 +5,7 @@ * Erin Lo */ +#include #include #include @@ -112,6 +113,13 @@ method = "smc"; }; + clk26m: oscillator@0 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + clock-output-names = "clk26m"; + }; + timer { compatible = "arm,armv8-timer"; interrupt-parent = <&gic>; @@ -143,4 +151,88 @@ interrupt-parent = <&gic>; reg = <0 0x0c530a80 0 0x50>; }; + + topckgen: syscon@10000000 { + compatible = "mediatek,mt8183-topckgen", "syscon"; + reg = <0 0x10000000 0 0x1000>; + #clock-cells = <1>; + }; + + infracfg: syscon@10001000 { + compatible = "mediatek,mt8183-infracfg", "syscon"; + reg = <0 0x10001000 0 0x1000>; + #clock-cells = <1>; + }; + + apmixedsys: syscon@1000c000 { + compatible = "mediatek,mt8183-apmixedsys", "syscon"; + reg = <0 0x1000c000 0 0x1000>; + #clock-cells = <1>; + }; + + audiosys: syscon@11220000 { + compatible = "mediatek,mt8183-audiosys", "syscon"; + reg = <0 0x11220000 0 0x1000>; + #clock-cells = <1>; + }; + + mfgcfg: syscon@13000000 { + compatible = "mediatek,mt8183-mfgcfg", "syscon"; + reg = <0 0x13000000 0 0x1000>; + #clock-cells = <1>; + }; + + mmsys: syscon@14000000 { + compatible = "mediatek,mt8183-mmsys", "syscon"; + reg = <0 0x14000000 0 0x1000>; + #clock-cells = <1>; + }; + + imgsys: syscon@15020000 { + compatible = "mediatek,mt8183-imgsys", "syscon"; + reg = <0 0x15020000 0 0x1000>; + #clock-cells = <1>; + }; + + vdecsys: syscon@16000000 { + compatible = "mediatek,mt8183-vdecsys", "syscon"; + reg = <0 0x16000000 0 0x1000>; + #clock-cells = <1>; + }; + + vencsys: syscon@17000000 { + compatible = "mediatek,mt8183-vencsys", "syscon"; + reg = <0 0x17000000 0 0x1000>; + #clock-cells = <1>; + }; + + ipu_conn: syscon@19000000 { + compatible = "mediatek,mt8183-ipu_conn", "syscon"; + reg = <0 0x19000000 0 0x1000>; + #clock-cells = <1>; + }; + + ipu_adl: syscon@19010000 { + compatible = "mediatek,mt8183-ipu_adl", "syscon"; + reg = <0 0x19010000 0 0x1000>; + #clock-cells = <1>; + }; + + ipu_core0: syscon@19180000 { + compatible = "mediatek,mt8183-ipu_core0", "syscon"; + reg = <0 0x19180000 0 0x1000>; + #clock-cells = <1>; + }; + + ipu_core1: syscon@19280000 { + compatible = "mediatek,mt8183-ipu_core1", "syscon"; + reg = <0 0x19280000 0 0x1000>; + #clock-cells = <1>; + }; + + camsys: syscon@1a000000 { + compatible = "mediatek,mt8183-camsys", "syscon"; + reg = <0 0x1a000000 0 0x1000>; + #clock-cells = <1>; + }; }; -- 1.9.1