From patchwork Thu Jul 21 12:44:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9241585 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 7A6C1607D3 for ; Thu, 21 Jul 2016 12:43:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D4F227D85 for ; Thu, 21 Jul 2016 12:43:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6199227F10; Thu, 21 Jul 2016 12:43:34 +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 4280227D85 for ; Thu, 21 Jul 2016 12:43:33 +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 1bQDIr-0002eL-WF; Thu, 21 Jul 2016 12:42:14 +0000 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDHl-0001is-IP for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2016 12:41:07 +0000 Received: by mail-lf0-x22d.google.com with SMTP id g62so60710670lfe.3 for ; Thu, 21 Jul 2016 05:40:47 -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=d46AIwQaLEYDL6Nx2i4QKBYJMIp91yo/s2N62J6xUjM=; b=AQLx399i2H1Cf8pU9CIXY31+B4Ub/VjSwr95Cjv5vWLN69uLTTUvnu1JqYv6dtJshT iTQWgTbCXXYkjpDTwDStcAM8znZB/8RJufa36p+t9j82b0fKQ6bwTJntc5g2v7tJbWIt uHgu72XFvigfC6Fb7NJu/j2eRScW5yhkYnhX5TyLjhVDnrxLVt4ptd2uYyEk3/pZtmsL gmFsemkw0nepLIeqeI5JWs+wzJSmW2wIbHyhf6SXGHabmBNLmq+uzzxW0iNSUpgOdSae hXo7rWihJ3rY0nD5QQECQVRlXQ7eq2d3yom1EbQMEjmFCiNJq6F6vX6NW6jtVvS78taX IhPA== 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=d46AIwQaLEYDL6Nx2i4QKBYJMIp91yo/s2N62J6xUjM=; b=QTiGATEYt+VCHpt5NFbH9u45mDbKFw+RzvLWoaVIIJX3Sv71gY+ZQRQKeJ7OcXJK7P qLEgEZfJZcY4b/k0iz4HVkhr3cSmaKOwEfCH+VqI5ruPX8Y1alKagczhiH+1eKl9Y60u Wu7ftZ3oyVlWm6ZPhGk5cIbjWH4qUqDYbLqRkF/FSH9vDsvsY/CYq5TnqbNhiQEo/0yX fj5iNNcCWkH3Nqzeb5UWqmXLmmk66nxVWVxS+fj1R14jT1T2nXpTu4kgqOLVLaA2XaWu jNrxNgHtp5n8yHVrrUWYbWnSJJB+z4NgY6FscwP2oIvCVrE1g4JJidxUgG33zEDaQ3P0 EY6g== X-Gm-Message-State: ALyK8tJmVKo4IFGFRxnqlYb05oGCXozu+cM7CaI4Z2MNipHscO2HZr8hKxE4rY94fJBUuw== X-Received: by 10.46.0.201 with SMTP id e70mr19442672lji.57.1469104845504; Thu, 21 Jul 2016 05:40:45 -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 196sm1759701ljf.5.2016.07.21.05.40.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 05:40:44 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/18] ARM: mvebu: a39x: enable PMU, CA9 MPcore SoC Controller and Coherency fabric Date: Thu, 21 Jul 2016 14:44:04 +0200 Message-Id: <1469105055-25181-9-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1469105055-25181-1-git-send-email-jaz@semihalf.com> References: <1469105055-25181-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160721_054105_934724_1D474B27 X-CRM114-Status: UNSURE ( 9.00 ) 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, 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";