Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp638120imm; Mon, 21 May 2018 11:40:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp+X/KGGQspOColHDMIb5ctr6L6guhLrQB3DNyy10v/DrtN9nRhgBYjDfWUqCjuELhNT364 X-Received: by 2002:a17:902:5597:: with SMTP id g23-v6mr21476532pli.347.1526928035956; Mon, 21 May 2018 11:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526928035; cv=none; d=google.com; s=arc-20160816; b=A3hjpMbWYwv1mZvpBPnh33lTbHMTLHFTaE1rOaRyJvd7CxZ81ZZ3LSk2kTI6yqQ9zN qhfPnvXY1MfyM+cF7g6In78ahsMrVZwXM0JF2CyLoLoK6y1ZBwO9cfqTfniAYKXPmixu 2+rwp++MuXH5Xez9mLC+OSGZ0C1BEfNfu/Afgu/QccizYNJIQjcjd51JYQEsdGasVFjE VIXoOJ4i41td0MfBc20qY7CnH9p+/McSW9Rz0K23hOeLcf/cVgW9FGT75f6TW/y7uTmG LLaN2k9mJLgaKunDi2uMUzzK9n4YnLa/RVDM65GfMMsgIwHgvd+EOYmvWyl7waxmSMsv O14g== 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=eoD4IBPZTJX2f5u5w/1aChp1W+dmj6gRxBsIG8uK1R8=; b=mMwU1B2Iv42dGnH8e4EgPIWQPVveMll/NlfxzsUwQKPTDYFue0eC26ZsNsvPNp1v+B B5IsNTq8jZf7gwkdd1W59l55yY9ztyXkrYwRwJy3pDAdjLWAa4QT1TFhoUrvtVQxlU2m hmcglj/NjsPHZgVVHCgZUHWlxD9OD/HNoPH9CmdF4HXfAv0W+ImdTeihOu23lWr+Erqy RLSyegt1HNRzPs5UY7lsY+c4mTqR3hB6gymJs0gEuqwTX/hEDQ+7AaMgQQe+U6KUQclI cyLQKEhCxXwf16qeN2t+Ie3wpGAkn91vxQ0SaLdw3IgWeCTPx6xWA2cmZnneOPpIgH/L UXCQ== 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 i65-v6si15121124pfb.343.2018.05.21.11.40.20; Mon, 21 May 2018 11:40:35 -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 S1751127AbeEUSjM (ORCPT + 99 others); Mon, 21 May 2018 14:39:12 -0400 Received: from anholt.net ([50.246.234.109]:50278 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbeEUSjL (ORCPT ); Mon, 21 May 2018 14:39:11 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 9669810A14DA; Mon, 21 May 2018 11:39:10 -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 TZsCQ-IYbRZH; Mon, 21 May 2018 11:39:09 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 5832F10A03B7; Mon, 21 May 2018 11:39:09 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id D9A412FE2D94; Mon, 21 May 2018 19:39:07 +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 v2] arm: bcm2835: Add the PMU to the devicetree. Date: Mon, 21 May 2018 11:39:07 -0700 Message-Id: <20180521183907.27563-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 This only probes on arm64 so far, but hopefully that driver will be generalized soon. 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..beb6c502dadc 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"; + interrupt-parent = <&local_intc>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; + }; + timer { compatible = "arm,armv7-timer"; interrupt-parent = <&local_intc>; -- 2.17.0