Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5481305rwd; Wed, 24 May 2023 02:21:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/yLzjbEi2BouQzPxx9S8U4VPkbB5KBblQLWOybGo1L4L1ECDdzcSxfYyQX6Njujs3KmgV X-Received: by 2002:a05:6a21:78a4:b0:10a:eea0:6987 with SMTP id bf36-20020a056a2178a400b0010aeea06987mr14289656pzc.26.1684920073016; Wed, 24 May 2023 02:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684920072; cv=none; d=google.com; s=arc-20160816; b=aUTObXCJkmIOcMv+neInAUUSzP2GLvOQpkLLnZ45u5gTs3d9l61dvPaRZnRNHlqCFE P/XDbHKcKbboQNfNWfriJnmGBF2xQ16cMFObRToYaVA7vA1KR2gAFShKnfz2DoL8ZRuH fTlSXCOZoR0U/4AXvD3AwXUTbAUQLQlVTqT+c5ypuQe985aX/l3MmypIWS3pVWoN1tBA boTvU9EHKSO2ATzyxOSKYWZzHGO5wE7wRdNZpuIl2KLGTzyncaDWy8QXNCHJ7q1HYMBH iufKts9hozn2SIYME6qLY39Y+/W/D4V2VmiOj43h737zz5ADeo6+pHeuFys1J4JpOJMU Og7Q== 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=ssPSfq5+Oa/muLn/5C2SfibmfiK4Zm+LdYcAU4y6a88=; b=xvBbkz10sv9gaohO1jGnz7ntIEBdnrKvI6++0OflbNCNBhduVwytNwKtoFYz3MyHNY CfT9w/UN+D1C/IVXkDXBMSMRXqhLGNf8MFa9Mou1uA8neZRr7w5vEKKUormYPDTw5o+B FJ/B+laTaFpyNzHEmyCC3Uor1rQ1+w9Re+eXekjmzUN44vve+uRqAMzlCRgH+2Uch+Tz L+rOvmFFSgknrZujYmDKBJpxXs1RD9iT1hAyaOQCxTCZNAXWfsGjeSczoKJwWZkGkZQW 7wsy9KoxBzLrl7GvNvGy4oLXQO8PQeRl2mJiyAi2/QQicmvNGqcxBgvpz6mHtMnz9FOW Ta3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r7-20020aa79887000000b0064d425629dfsi8272616pfl.51.2023.05.24.02.20.58; Wed, 24 May 2023 02:21:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240412AbjEXIeF (ORCPT + 99 others); Wed, 24 May 2023 04:34:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240255AbjEXIdA (ORCPT ); Wed, 24 May 2023 04:33:00 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 637C7189 for ; Wed, 24 May 2023 01:32:41 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1jua-0002n7-54; Wed, 24 May 2023 10:32:00 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q1juZ-002Ra4-8A; Wed, 24 May 2023 10:31:59 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q1juX-009jPL-T0; Wed, 24 May 2023 10:31:57 +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 , 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, Sascha Hauer Subject: [PATCH v5 24/25] arm64: dts: rockchip: rk356x: Add DFI Date: Wed, 24 May 2023 10:31:52 +0200 Message-Id: <20230524083153.2046084-25-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230524083153.2046084-1-s.hauer@pengutronix.de> References: <20230524083153.2046084-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.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 f62e0fd881a95..910d8a84ea8f2 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -948,6 +948,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