From patchwork Thu Aug 4 09:07:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anurup M X-Patchwork-Id: 9263069 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 57AEF6048F for ; Thu, 4 Aug 2016 09:15:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 486CE28333 for ; Thu, 4 Aug 2016 09:15:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D3A128384; Thu, 4 Aug 2016 09:15:50 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4E12F28333 for ; Thu, 4 Aug 2016 09:15:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVEjD-00060R-A9; Thu, 04 Aug 2016 09:14:11 +0000 Received: from mail-pa0-x241.google.com ([2607:f8b0:400e:c03::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVEgo-0003hc-D5 for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2016 09:11:47 +0000 Received: by mail-pa0-x241.google.com with SMTP id hh10so16571065pac.1 for ; Thu, 04 Aug 2016 02:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=K2GUKb//85WR/pmEU4e5bQW7BCHHTIVfreTEzi+8usY=; b=l5YIcgJIQy0eJoCsaKKXF2UyWiK3Z00FpfTIYc1y3FZmE7Sp2kYQBBfCe8NL+UdpSw MjVhBpfAiBWOKb1EJ5tgYSG6rWyO9Ned9Lms4bNaRj4TTQLuJSD/mVWYJe6fmwvTvUjy Na2yEjJ0X9TzwlImARYHEK8llFxMDaWkspFQvWKY4pNnAhbH6OJlwJSUUGqGgLOgbAnh 8aSEYUpwbuN9EpK5sIGnniQRigEEt+oMFgWODDJO0oVmDsP6JEph1RSg3bVXtrUeiuc6 lPDdDTsN2xEcDxx6RX7MkAhz5nZk+f1flFPJVJijat13ZWfuOkM6vapCbghqykOiAB5N fFWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=K2GUKb//85WR/pmEU4e5bQW7BCHHTIVfreTEzi+8usY=; b=mLpgdw0vEPvyudWfy3OYyt1moEroEuwsktkGWzLDUb0LRKgPiQlYkJwaEbaPG01c+M sRadwS+3oLsirPACxcJpygZSIdAN403JCS355ysrPtzgU4khHbi0nugHW6r/OjMekIKB cq0popKU47eKt5W2n59wnPZVP5HZWSRn9ix0Zifw6vFxWpv4ATPWuL5u/OAMYI0yqugl kchl9nBghWeW6oxFOFmCUZrO2u7fWdMjR8CkVQamccQnkXmgn60TdgdUkHg+3WIvPSU0 Af2wpwT6ufRDk6ScoS31qwVmdmH3MI269kiAW6iO5RD2F0Wqn1qgFTqA0/SdVk6mmKPn mpXw== X-Gm-Message-State: AEkoousxjJY3yHHW1yvXpo17MHj1T9MwJaw5CHBrzJVYajfza9FtO1bZU5QSUPayDT/Fdw== X-Received: by 10.66.0.231 with SMTP id 7mr54061716pah.118.1470301881529; Thu, 04 Aug 2016 02:11:21 -0700 (PDT) Received: from localhost.localdomain ([14.141.5.98]) by smtp.gmail.com with ESMTPSA id 184sm18485894pfg.20.2016.08.04.02.11.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Aug 2016 02:11:20 -0700 (PDT) From: Anurup M X-Google-Original-From: Anurup M To: will.deacon@arm.com, mark.rutland@arm.com, corbet@lwn.net, mark.zyngier@arm.com, anurup.m@huawei.com Subject: [RFC PATCH v1 10/10] arm64: dts: hip05: Add L3 cache PMU support Date: Thu, 4 Aug 2016 05:07:14 -0400 Message-Id: <1470301634-79736-11-git-send-email-anurup.m@huawei.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1470301634-79736-1-git-send-email-anurup.m@huawei.com> References: <1470301634-79736-1-git-send-email-anurup.m@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160804_021142_832271_B11FECF9 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: z.liuxinliang@hisilicon.com, gabriele.paoloni@huawei.com, john.garry@huawei.com, shyju.pv@huawei.com, xuwei5@hisilicon.com, zhangshaokun@hisilicon.com, sanil.kumar@hisilicon.com, tanxiaojun@huawei.com, dingtianhong@huawei.com, anthony.iliopoulos@huawei.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 1. Add nodes for hip05 L3 cache. 2. Add djtag node and sysctrl node for hip05. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi index 4af2c72..0fd7e23 100644 --- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi @@ -749,6 +749,25 @@ status = "disabled"; }; + pc_sysctrl0: system-controller@0x80010000 { + compatible = "hisilicon,hip05-sysctrl", "syscon"; + reg = <0x0 0x80010000 0x0 0x10000>; + }; + + djtag0: djtag { + compatible = "hisilicon,hip05-cpu-djtag-v1"; + syscon = <&pc_sysctrl0>; + }; + + l3c0: l3c { + compatible = "hisilicon,hip05-l3c"; + djtag = <&djtag0 2>; + interrupt-parent = <&mbigen_pc>; + interrupts = <141 4>,<142 4>, + <143 4>,<144 4>; + status = "okay"; + }; + pcie0: pcie@b0080000 { compatible = "hisilicon,hip05-pcie", "snps,dw-pcie"; reg = <0 0xb0080000 0 0x10000>, <0x220 0x04000000 0 0x04000000>;