Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp289165ioo; Thu, 26 May 2022 03:51:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9i4IZ8XvSuyneEJ8WX7F8CdWA+KRSsIxe9/yeD4g0XcaZ7BGnAl9RRmKG41/Pqb+hiMr8 X-Received: by 2002:a50:fc06:0:b0:42b:c6d3:6ff0 with SMTP id i6-20020a50fc06000000b0042bc6d36ff0mr8378613edr.213.1653562264304; Thu, 26 May 2022 03:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653562264; cv=none; d=google.com; s=arc-20160816; b=qRKCJRKp1I3WPPo+jN6pTf2+p1JG7rcfKM1wIyWd4qog7YuJ+xnSdc9sURY35nZpy/ 2PXD79LRovxeMlcjhh84NkPppUzK6O7EYdC7ZVFn2w00KcXms/9b0bnD2yexRuT5/+jK nOFnpjecfZnjWPKKujspAOSBSGU3nmPVVmdGSUbzVhglwuqwD8Wa3k9haBC3N//WEgUZ Cnd3CJih3auNuhOJIshnbbWYInWdKk0/eOn9Gli/tLOpA+VkJfsDgDXFVudLjVM/CbnR 2dcrVC8yOgC9pk1VvL1jqsbYizEjlbTz1nG8JVww9sT1HP1L9F+WGhbZVzwMavfysclb v9Gw== 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 :dkim-signature; bh=Y45YtidmQ+MGwFX9Of6So7nMJAYvcNWkssWZU76OyKw=; b=SvdYfh43Zy+UR3Cfn+ap6OotTFw2qIjHzm/fh8KUwUkoGMsO8JqFbNalLQymEUR4xq BHLSoEjcqD5wSwwadFw9RaCl/bvk1ZNW0SRx2dIRPysA9TLJABpzrsEZWIs6Ee1PKg3y n+35xguFsjCD20Wh3fEks26qOP0Y0J4/FHdqAN9Jc0LgbQIzqwD44SAsHeWT0QcI2X76 R7Qj3nT4sIlVeECcb5yJOW0qQ0fFadg6hKpGm1N6o+T1gv3SQ06jAS5bOjMj2y21E2oL 88+yWgujH4RtR/4Nee3FmRGdI8sXrYnPIUkiPCoujgZ2Iy+ru3P+wrfeyuMAwdG+fBH8 SrDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=bYgeZPmY; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du11-20020a17090772cb00b006ff1ba7aa4dsi1646616ejc.121.2022.05.26.03.50.32; Thu, 26 May 2022 03:51:04 -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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=bYgeZPmY; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343953AbiEYS72 (ORCPT + 99 others); Wed, 25 May 2022 14:59:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343888AbiEYS7R (ORCPT ); Wed, 25 May 2022 14:59:17 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C09A534BB0; Wed, 25 May 2022 11:59:14 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id B0BDAFF80B; Wed, 25 May 2022 18:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1653505153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y45YtidmQ+MGwFX9Of6So7nMJAYvcNWkssWZU76OyKw=; b=bYgeZPmYxeNbz40vp3OFZcf1uCIfbcub49GkRpU1/xkdDcjyLu+jyu5flYd8itsfKQjWTo +9Ux7QyVOka3k3qB4LPTREccj4p2HbP1bVZu7vK1USsSraPvqTxCPmvjkQJftcZPkLrXWj pbAtkj+p3OTKxpP+oVz1klChbMWBXRUZUfqzkl/BjNZCafjM8jqABd7P32GYoYq9fqu6Gj SbJl8N3vYz2H0oiQx1DBNHrlnRDtCmE5NKLig5q6MGAd/Qj1tblRqauX1N1KMhS7KCvvkl 0iF5imsfwSVOBq3C4aSo7AHLgXrGI+jhl9zG48wAyM7+Ym7mZzBGhthnVyat7Q== From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Michael Turquette , Stephen Boyd , Frank Rowand , Maxime Ripard , Laurent Pinchart , Thomas Petazzoni , Paul Kocialkowski Subject: [PATCH v4 3/7] ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect Date: Wed, 25 May 2022 20:58:49 +0200 Message-Id: <20220525185853.695931-4-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220525185853.695931-1-paul.kocialkowski@bootlin.com> References: <20220525185853.695931-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 V3s uses the mbus interconnect to provide DRAM access for a number of blocks. The SoC can only map 2 GiB of DRAM, which is reflected in the dma-ranges property. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-v3s.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 084323d5c61c..a966b6a9acf5 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -577,6 +577,21 @@ int_mii_phy: ethernet-phy@1 { }; }; + mbus: dram-controller@1c62000 { + compatible = "allwinner,sun8i-v3s-mbus"; + reg = <0x01c62000 0x1000>, + <0x01c63000 0x1000>; + reg-names = "mbus", "dram"; + clocks = <&ccu CLK_MBUS>, + <&ccu CLK_DRAM>, + <&ccu CLK_BUS_DRAM>; + clock-names = "mbus", "dram", "bus"; + #address-cells = <1>; + #size-cells = <1>; + dma-ranges = <0x00000000 0x40000000 0x80000000>; + #interconnect-cells = <1>; + }; + spi0: spi@1c68000 { compatible = "allwinner,sun8i-h3-spi"; reg = <0x01c68000 0x1000>; -- 2.36.1