Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3599893rdg; Tue, 17 Oct 2023 23:19:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxwG7Eu4U5t3vye1s63fw7P79A39dIvULTbC3I9hgM1RJPWMWq0eD46X+rW4z47YfeK94Q X-Received: by 2002:a05:6a20:8e23:b0:157:d7cd:ebd with SMTP id y35-20020a056a208e2300b00157d7cd0ebdmr4679100pzj.1.1697609954188; Tue, 17 Oct 2023 23:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697609954; cv=none; d=google.com; s=arc-20160816; b=KGNFLGPSIE/olooZWN2ZpdIOImUfMpWuFOo6wcj20ZWwxBmiZ9tXoBLZTnjjj1lU+k 4PnWFsYM4tKpJ9AsHrsfZFFV2zVddFGtoABq5x5g7KR1IeWishCBdb6vioaLFKOa9z4j d5wk5OYnAJgt2qDgMYvDoofxOBiQdWJVDMxkPqKnFHchwZglS+wF3anReIfQyyMv0imf nqW2t6QAXt897AOwgf/abr44GdiMnph+UcAnDFpl+ggCeTnjh4QdNzeZutkQ653rItWe VMORWMgSCxKmwaQ+T5pbofdkq/GYcOkOiiSBFgABjdTwIu/XkGNdmmfk5AD8oUaT9VB7 s5sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TVhRmQL3+PWLSpDAf0i3q88I96xdrKAcQlsanGry4aI=; fh=fCKtpw9CfdQ3PvVD3VDWQjIZjGoF8tkGHyUGDo9ja4M=; b=sXPvOD/pQxtkS2tUDauO6ynG4fxC9Suq+eWYDOyHW4yiEipMhlJJp/2ioHcT+wgvNl uKAP4XsXQj+Tf1n+fSz2pBeMcmWdrkUUaAnz5mdVU6ZCJpSn7EklpaMKYKfX16/1pJHf NSdayZG60kCcRcHcC48ChmCIdT0EYz2ZCJr2S3WNFtMH/d+UaAD7FnXFAZ3BPk7u2mUD 39vM7tmagB4M4ofloPY2yCup8VcwE8ENKQd+OX579qPoR79ZMZryWhvw8Pl+msdb2vSo c+SWlfIOcl2w3ZeY+2an3Tz+zj9VAHhbkDX2h66G1PGfYXb3XyMVUrObzRuXQZrr9K2x CASg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id i12-20020a17090a974c00b0027763ca82e9si842060pjw.91.2023.10.17.23.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 23:19:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 0860380F9BC8; Tue, 17 Oct 2023 23:19:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344686AbjJRGTA (ORCPT + 99 others); Wed, 18 Oct 2023 02:19:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344575AbjJRGSN (ORCPT ); Wed, 18 Oct 2023 02:18:13 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0386D4D for ; Tue, 17 Oct 2023 23:17:57 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qszrx-0001a3-7Y; Wed, 18 Oct 2023 08:17:25 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qszrr-002UYm-EN; Wed, 18 Oct 2023 08:17:19 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qszrr-00Evjj-0j; Wed, 18 Oct 2023 08:17:19 +0200 From: Sascha Hauer To: linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Heiko Stuebner , Chanwoo Choi , Kyungmin Park , MyungJoo Ham , Will Deacon , Mark Rutland , kernel@pengutronix.de, Michael Riesch , Robin Murphy , Vincent Legoll , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Sebastian Reichel , Sascha Hauer Subject: [PATCH v8 25/26] arm64: dts: rockchip: rk356x: Add DFI Date: Wed, 18 Oct 2023 08:17:13 +0200 Message-Id: <20231018061714.3553817-26-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231018061714.3553817-1-s.hauer@pengutronix.de> References: <20231018061714.3553817-1-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 23:19:12 -0700 (PDT) The DFI unit can be used to measure DRAM utilization using perf. Add the node to the device tree. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index abee88911982d..0964761e3ce9e 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -959,6 +959,13 @@ qos_vop_m1: qos@fe1a8100 { reg = <0x0 0xfe1a8100 0x0 0x20>; }; + dfi: dfi@fe230000 { + compatible = "rockchip,rk3568-dfi"; + reg = <0x00 0xfe230000 0x00 0x400>; + interrupts = ; + rockchip,pmu = <&pmugrf>; + }; + pcie2x1: pcie@fe260000 { compatible = "rockchip,rk3568-pcie"; reg = <0x3 0xc0000000 0x0 0x00400000>, -- 2.39.2