From patchwork Mon Nov 27 16:15:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland Hieber X-Patchwork-Id: 170270 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3255522vqx; Mon, 27 Nov 2023 08:15:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4bV7ET/pHBj2SRNHnRmAhXI/Vy+bvMohi2k9c2PryOdxP6pm7xHS3/KMFNaBlZt2ny03+ X-Received: by 2002:a05:6870:5490:b0:1fa:2fbc:59ab with SMTP id f16-20020a056870549000b001fa2fbc59abmr8347067oan.51.1701101738954; Mon, 27 Nov 2023 08:15:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701101738; cv=none; d=google.com; s=arc-20160816; b=KWPy2/6uziVWKTM+XI6SUDjQPldPHZrHHqHYU/ayn5IVwXfArCTdLV5++wu8utwRS+ 9VkGumy3/k6CLN3Y+QZ0dGShti109wkHCEP2rnDrzy33xXsRuz3R9Mx66a+4AgS8dS6B E/QbpgCkrZsILikp3wi1tzXMLj7IG7vy1vVE416SF5Qp03raPOjC5vq2no/82bXyWsF4 zrdyUnoZbch2QJWsSvUDdLboHJyeoeKcovId/zdtwdG6Wpp00fypXBqlpL1qhi5KHF/f E+cQVMA6UHgHHkzFfOWvSi9CmwagyejksCzhVc8NfpZ4h37rParU1W4Bghiv16HuNV/y RwQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from; bh=Clq1Su907mrAjqSvvO5Sjn/p+ujCcBe0ph9/gus2C1E=; fh=tfuk+ZJrqfl1hjXXFQdntonlXx13kMeF1oEBzQpOV6Y=; b=EklkYPaPkmliWfG/E2BStTF7XPNFOyHnVSocbDXPy4RcE7DaSGgjllZbP0SJMO1bh3 oe9YkGFmz7rnFW5LkQwH2fniAdcRVdj6yk3E4ZoUok4crx4tJKeJil7GF5CdGwcy6G74 2jE3I6JhpC2lY9jqnuZJSN8U+Ta4Amc1jselkWX6ksD/NTwE6DlduDLrqF1I9E0byzPp lNTg08IxYXFppsgD1uQYNkTzxeTW+FjACx1X7Iwu0iTRFLpIr2ubOurga3YI7h6qw8E3 VRuViWkBieexenh3O/1b4FZW3WE8Ko8ruSUPTyJFKlOfqwu9v0Ka72s7lneOEkFcYlGJ wS5Q== 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:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id lq10-20020a0568708dca00b001fa69a846bcsi433404oab.138.2023.11.27.08.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:15:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 4773980944EC; Mon, 27 Nov 2023 08:15:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234466AbjK0QPY (ORCPT + 99 others); Mon, 27 Nov 2023 11:15:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234448AbjK0QPK (ORCPT ); Mon, 27 Nov 2023 11:15:10 -0500 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 01414D64 for ; Mon, 27 Nov 2023 08:15:10 -0800 (PST) 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 1r7eGK-0001xw-Lc; Mon, 27 Nov 2023 17:15:08 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.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 1r7eGK-00Bz1a-4c; Mon, 27 Nov 2023 17:15:08 +0100 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1r7eGK-00D7y2-0G; Mon, 27 Nov 2023 17:15:08 +0100 From: Roland Hieber Date: Mon, 27 Nov 2023 17:15:01 +0100 Subject: [PATCH] ARM: dts: imx7s: Add on-chip memory MIME-Version: 1.0 Message-Id: <20231127-b4-imx7-ocram-v1-1-430a75e3e9db@pengutronix.de> X-B4-Tracking: v=1; b=H4sIAITAZGUC/x2N0QrCMAwAf2Xk2YCtnUV/RXxoutQFtk5SJoOxf zfs8Q6O26GxCjd4djso/6TJUg3cpYM8pvphlMEY/NXfnPMRKaDMW8Qla5oxDo9wLxRLoB6sodQ YSVPNo1V1nSaTX+Ui2zl5vY/jD5Oi7LZ0AAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Philipp Zabel , Roland Hieber X-Mailer: b4 0.12.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: auto@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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 27 Nov 2023 08:15:34 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783734456817315493 X-GMAIL-MSGID: 1783734456817315493 From: Philipp Zabel Add the 128 KiB on-chip SRAM at address 0x900000. Signed-off-by: Philipp Zabel Signed-off-by: Roland Hieber --- arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) --- base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab change-id: 20231127-b4-imx7-ocram-7d946fb7f4b5 Best regards, diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi index 29b8fd03567a..31b14795930b 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi @@ -183,6 +183,15 @@ soc: soc { interrupt-parent = <&gpc>; ranges; + ocram: sram@900000 { + compatible = "mmio-sram"; + reg = <0x00900000 0x20000>; + ranges = <0 0x00900000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&clks IMX7D_OCRAM_CLK>; + }; + funnel@30041000 { compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; reg = <0x30041000 0x1000>;