Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3273875imm; Thu, 17 May 2018 06:18:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo2qpUe/GgRJRFephd5Xg3ugxs/t+sKHXygXTvvRLXaYa+9zyprO0pij0WWzbAMptwU3sWx X-Received: by 2002:a17:902:7082:: with SMTP id z2-v6mr5105831plk.373.1526563105347; Thu, 17 May 2018 06:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526563105; cv=none; d=google.com; s=arc-20160816; b=oLaOpeuQDvlIqAdSNBToYLW+DqgBkX3ABoPNdLnhWZNwsmQJqVlXXr0KNYix9+lEHW PN4eppEj9YJsRxrFhFvDEQKOL4vJVK7stWz9qbi4fwURGM77PMTF04PRRzGEdjR/m7F2 EoQyYvwdTTsN4SvC3DkzjiSnsvHL9CCP1kaxzSCo+LQEpUjhEq4FTUsdGY35x7/OJzhG 7xMvzqlhnu3uO3W/S6Lw36JVoKiWp/8VH9efaSuCLL7PV9hqTxPTNy/u5NYXwSciWPU7 eQ/yOJR2cg9XXhuNhKt5ZOgrylG5xFp6FlpUdK3qKkCRb0943fZm/vlGxoxY4oCkm6fe rbVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7LZr2nOHao1WHPr1sCKFPBreOoZK07JMT+iozmt53Uw=; b=SINNAESHeJil4irCk649++HiSiThFWqYomgKaW6SNFRpTKxqbPGY9FlU5TioEuRV5J WpFYHSLAow3qh4XTLxU7f1z9zDF6Ah6nNA1JKD151OEHpaVPhFRn34mSALWgzlfB5N3d zWvFZIyahBzADkvEPjnFkAAXc3+k6s+l3kp9+51SP/4HJzD+Oz2lBCU6jNp3PNDGuTo3 YkZp6jQumbxN28COLWQfx9/scSTQpkZNQjdpc7WWieXkun7yPeaj0ztTl0fVWeLmX96u 5zU6+ntrRxlAz5FciWaGgl4rbgjPrqUxE2lviMgnBRRUCbqLKrmIUc5RV88We7u1Q00B oyhw== 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 b84-v6si5670220pfb.189.2018.05.17.06.18.10; Thu, 17 May 2018 06:18:25 -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 S1752153AbeEQNRc (ORCPT + 99 others); Thu, 17 May 2018 09:17:32 -0400 Received: from anholt.net ([50.246.234.109]:45426 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbeEQNRb (ORCPT ); Thu, 17 May 2018 09:17:31 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 11D3A10A1772; Thu, 17 May 2018 06:17:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OLeU21OfFMXl; Thu, 17 May 2018 06:17:30 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id BABB810A01F9; Thu, 17 May 2018 06:17:29 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 072212FE1E31; Thu, 17 May 2018 14:17:27 +0100 (BST) From: Eric Anholt To: Florian Fainelli Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, Eric Anholt Subject: [PATCH] arm: bcm2835: Add the PMU to the devicetree. Date: Thu, 17 May 2018 14:17:27 +0100 Message-Id: <20180517131727.29263-1-eric@anholt.net> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The a53 and a7 counters seem to match up, so we advertise a7 so that arm32 can probe. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2837.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi index 7704bb029605..1f5e5c782835 100644 --- a/arch/arm/boot/dts/bcm2837.dtsi +++ b/arch/arm/boot/dts/bcm2837.dtsi @@ -17,6 +17,12 @@ }; }; + arm-pmu { + compatible = "arm,cortex-a53-pmu", "arm,cortex-a7-pmu"; + interrupt-parent = <&local_intc>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; + }; + timer { compatible = "arm,armv7-timer"; interrupt-parent = <&local_intc>; -- 2.17.0