From patchwork Thu Aug 4 10:14:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9263237 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 7787260754 for ; Thu, 4 Aug 2016 10:14:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67EB82832B for ; Thu, 4 Aug 2016 10:14:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C7B6283AC; Thu, 4 Aug 2016 10:14:24 +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_SIGNED, 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 B9BF02832B for ; Thu, 4 Aug 2016 10:14:23 +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 1bVFe1-0000gc-Fb; Thu, 04 Aug 2016 10:12:53 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVFbR-00060o-6o for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2016 10:10:17 +0000 Received: by mail-lf0-x231.google.com with SMTP id l69so178886227lfg.1 for ; Thu, 04 Aug 2016 03:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rfc2ls/tjYYsODde3P7kzm1gWfofkYew2OyNW1aoYR4=; b=fqvOiQcYnLw3/REgV5wx3eF+0KwneDQCQWLpAsLDK8dII9Tob1CsaDC4YARFJq4ei9 XgNp9IO6wMRN1c6wt8kpukrEon7SZSTwhOYy6hW4gt0XO4VEcc/JVMFWXbJEH0lg4Uvj QX/eYMQxMCbdMkI5DZS+FNthUuleFI10tXU0DWRlh429MvzgKX0E9f+HpLYM6VhQpoON 8paizRNEp6/mD+dOIQW6F5PAcT0rcEVlrc4IHAOjj51GyfAYUl/NZu+ur+ObwLJcVUC7 4TXPEZjV0zW3r/YStZNUQ9BMC8PeoBk8cV13aNPn2hqJlp6DitwqPCwjfzXIHE+9n6bu R04A== 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=rfc2ls/tjYYsODde3P7kzm1gWfofkYew2OyNW1aoYR4=; b=W9yDT6P+1rs3RZtquHYQE9pG3XugXfA3+nHk0TFVM7iGs+NctKcSEsUCX7eCegbmoK P8GQSMGZFut+nOY2q2OIy89JTW8O584uJJH4OAwbr5DSqrvlayrp1OQbux5OGYEOvAAH Yn2ZZLYZuurcHfMt2JqvIP+sjNQucpfdiexHFuoR/QBAelBuIlKjd01SYNEI4OnN70pU jMe08LDRCSsYNVUV62uquXL1VD1R3UaZw4NN37CBy59UFvVYutDP/N3e2uP5w7lzV+c4 o46thf9ojaTtwUwgtxGFp27Xng1vFPN5+VOwffUFXsP58fqiMjCHJhWpvvDrFV9Qsb4q 3cVw== X-Gm-Message-State: AEkooutGTW91eTGa0KRtNguGisQaQ1Kd/O3I1EaSVuB+uT7EaJBVXizmyMjdpdXNPRaKkA== X-Received: by 10.25.17.37 with SMTP id g37mr19667115lfi.113.1470305394798; Thu, 04 Aug 2016 03:09:54 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id c12sm2302628lfc.40.2016.08.04.03.09.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 03:09:54 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 07/17] ARM: dts: mvebu: armada-39x: enable PMU, CA9 SoC Controller and Coherency fabric Date: Thu, 4 Aug 2016 12:14:10 +0200 Message-Id: <1470305660-6601-8-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1470305660-6601-1-git-send-email-jaz@semihalf.com> References: <1470305660-6601-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160804_031013_709544_1E903D82 X-CRM114-Status: UNSURE ( 8.69 ) 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: mark.rutland@arm.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, linux@armlinux.org.uk, nadavh@marvell.com, alior@marvell.com, robh+dt@kernel.org, gregory.clement@free-electrons.com, mw@semihalf.com, thomas.petazzoni@free-electrons.com, sebastian.hesselbarth@gmail.com 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 This commit enables: - CA9's Performance Monitor Unit - CA9 MPcore SoC Controller - Coherency fabric on Armada 39x, basing on the Armada 38x (which has the same CA9 CPU). Signed-off-by: Grzegorz Jaszczyk Reviewed-by: Lior Amsalem Acked-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-39x.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index cb66f20..8a22c02 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -78,6 +78,11 @@ }; }; + pmu { + compatible = "arm,cortex-a9-pmu"; + interrupts-extended = <&mpic 3>; + }; + soc { compatible = "marvell,armada390-mbus", "marvell,armadaxp-mbus", "simple-bus"; @@ -322,6 +327,16 @@ reg = <0x20800 0x10>; }; + mpcore-soc-ctrl@20d20 { + compatible = "marvell,armada-380-mpcore-soc-ctrl"; + reg = <0x20d20 0x6c>; + }; + + coherency-fabric@21010 { + compatible = "marvell,armada-380-coherency-fabric"; + reg = <0x21010 0x1c>; + }; + pmsu@22000 { compatible = "marvell,armada-390-pmsu", "marvell,armada-380-pmsu";