Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp402258imm; Tue, 14 Aug 2018 22:21:22 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx3OWzjVFeTCa2MCQItfMtCysV1JjRdwF/ixjX2VPHt2UFzicHWB4WwlVH1us/rcFCBch0B X-Received: by 2002:a17:902:142:: with SMTP id 60-v6mr23312008plb.330.1534310481982; Tue, 14 Aug 2018 22:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534310481; cv=none; d=google.com; s=arc-20160816; b=SDtm3CO+Fu8VY2zjCchDCYHt03BQnxdb+p8nC3guM9FlKjMEyasg5sEt+Qxgs1UunH LKQByxrahFbGFTRKZ/JNVxFNXVqlO7Ub1+a/XxZum8xcJpWocQgg7iQSUK1e53u8nbXY uTy78S9e9zPUyoTPsRSmMrcfD8LJ1AW7njX/nnYxK6w8pU0FEMd83wdsjxgtg5eKUpP4 mzzmPs0WZLRJbWDfWyE+XHey9tAhoNf2ctTKLSyqsonxazhrZ5kTun70CXnMD6+t8LK/ H01iXBBoa/Ycs3yvjfdsSCcOb8A8GaxPVx1BgnqJdbPaNDq7r9zr8vRoehEEGgTsviDI ieMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=1NnnzFy5pC6gxdDhEiitwpGe95tWcXUoX9FkAmA1RmA=; b=oKDBR1DItfSWxO1m6JhtDpzqZc767N6e8ObHlrPxiE/+IBD8YGCdOjQ9jsb8qWEbjw US+Nixj32uMBgoe4wBOg2kQRNcVHw5Hlua63OoCSEtyVv3f0t0MVHx+FC9nE5tDkj+2G sj0z93TBXJWIFZL9p6L9hDmrquk5LzbPBqtbCVvxxBPl3Uiu/ZETLdOXhgzAfK/VaGLt Az5Iuq1jHdGeatFYNG3oEmlxXleJcvM2OuMyb7ACTsB4jmclOTx8XBmI/Ky4eUr7yWLo 21FXTP8v55cx8ruIlT97brxZuKy4WLjhmRSMVCydqaUABAHUdg0vWDnG13yVhDCmin9P xk8g== 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 h3-v6si17664639pld.114.2018.08.14.22.20.44; Tue, 14 Aug 2018 22:21:21 -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 S1726628AbeHOIJE (ORCPT + 99 others); Wed, 15 Aug 2018 04:09:04 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:60371 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725993AbeHOIJE (ORCPT ); Wed, 15 Aug 2018 04:09:04 -0400 X-UUID: 205530ec308c4bb69200b39893a2a79d-20180815 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 772791543; Wed, 15 Aug 2018 13:18: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.1210.3; Wed, 15 Aug 2018 13:18: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.1210.3 via Frontend Transport; Wed, 15 Aug 2018 13:18:19 +0800 From: Ryder Lee To: Matthias Brugger , Rob Herring CC: Sean Wang , Roy Luo , Weijie Gao , , , , , Ryder Lee Subject: [PATCH 1/5] arm64: dts: mt7622: add some misc device nodes Date: Wed, 15 Aug 2018 13:18:13 +0800 Message-ID: <68c4ca0158518d6bf50f2f7becfcb87ff3ce158a.1534130854.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 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 Add timer and CCI-400 device nodes for MT7622. Signed-off-by: Ryder Lee --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 9213c96..b235df7 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -79,6 +79,7 @@ #cooling-cells = <2>; enable-method = "psci"; clock-frequency = <1300000000>; + cci-control-port = <&cci_control2>; }; cpu1: cpu@1 { @@ -91,6 +92,7 @@ operating-points-v2 = <&cpu_opp_table>; enable-method = "psci"; clock-frequency = <1300000000>; + cci-control-port = <&cci_control2>; }; }; @@ -217,6 +219,16 @@ #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"; @@ -317,6 +329,42 @@ <0 0x10360000 0 0x2000>; }; + cci: cci@10390000 { + compatible = "arm,cci-400"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0 0x10390000 0 0x1000>; + ranges = <0 0 0x10390000 0x10000>; + + cci_control0: slave-if@1000 { + compatible = "arm,cci-400-ctrl-if"; + interface-type = "ace-lite"; + reg = <0x1000 0x1000>; + }; + + cci_control1: slave-if@4000 { + compatible = "arm,cci-400-ctrl-if"; + interface-type = "ace"; + reg = <0x4000 0x1000>; + }; + + cci_control2: slave-if@5000 { + compatible = "arm,cci-400-ctrl-if"; + interface-type = "ace"; + reg = <0x5000 0x1000>; + }; + + pmu@9000 { + compatible = "arm,cci-400-pmu,r1"; + reg = <0x9000 0x5000>; + interrupts = , + , + , + , + ; + }; + }; + auxadc: adc@11001000 { compatible = "mediatek,mt7622-auxadc"; reg = <0 0x11001000 0 0x1000>; -- 1.9.1