Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1124084rdf; Wed, 22 Nov 2023 06:18:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+xBn6c7OAFi25H0ikYR+i1vei6oJnMb6KiQ2sd+q4+fA74fyS8AAoq4RBlakRor92Td8J X-Received: by 2002:a17:902:e84a:b0:1cc:636f:f376 with SMTP id t10-20020a170902e84a00b001cc636ff376mr2591341plg.44.1700662681414; Wed, 22 Nov 2023 06:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700662681; cv=none; d=google.com; s=arc-20160816; b=Qp1gL5H1BwIwVTo+jcQ94aYvCNacL+1yw0ZA5dMEAWD00KAmShAFvZhemNX3y/YHCD 0clPXCt+dNSHBoOJW7UtZLCnFZ8jji5rLNXDySsyKCYAOqCwhcRectOxKGT1GIrp6neb +QSRd2maYVtE24zkaHjdoigOJmOptuEnxPwGwrMJOEetW3+isbg8AU+cwg/NKaPxRvZs wI1ID8uQfajdlkIRdRnxAXOi8FU+ISTDAgTxYbU+esrwb8cM9hcAUJ7QsXW/RHhk43zj oL/LCusJPEpJHv1fHsvDMIjOjYMnxCtYLWvnwSXiABs0T/4ELt8pbnmH0iRGYFRXBEXL ckVw== 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=ABQkvnbU9jREL+xGEduT9Jz440AQVxL+9NX8sRWpyl0=; fh=PHVbIgf+UxIdrbueJ5cOSpcsisIa90hQUxmE2wscmBk=; b=OMdCoopUUt3Vet+7lsRIugkQvz3vzwuuqom1CEdJnRGGnnHeOpB1JBqe1ahePKFmr0 LikQZ/UmMLKAfOCiziftxqO8UKsk+AlG7lMysGwg5WhAqRXuk6gpDQmTCwIoJNQfkwjv 0HZ72/9AzXm6jSiNU598tPF4KZ9yQD5g4czZTZ3emE6mLIgSgJQq/yjjQaKHymrQGMl+ EMPFLb5GhFfGFbPbhFCW+udk4cepBky/AxUgYBuFjCF13FlYYbVFDd0XVOaGfiLAI2Hj a4EqaUna4Mfjrn6H/XghGP8k/8+4qQFl569BabwkXT9tojgDBbtwhp1C0wh/DK26VzuG dyXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UOYPKGnr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j5-20020a170902c3c500b001c7845637efsi12625517plj.488.2023.11.22.06.18.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 06:18:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UOYPKGnr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E46D98073292; Wed, 22 Nov 2023 06:15:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344139AbjKVOO4 (ORCPT + 99 others); Wed, 22 Nov 2023 09:14:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232190AbjKVOOx (ORCPT ); Wed, 22 Nov 2023 09:14:53 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 122C018E; Wed, 22 Nov 2023 06:14:48 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 166E2E000A; Wed, 22 Nov 2023 14:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700662487; 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=ABQkvnbU9jREL+xGEduT9Jz440AQVxL+9NX8sRWpyl0=; b=UOYPKGnr7sOyxEsQY3xpDVSRRGBZINCji7asEbWpRM803LzqHZWc45iqwkf6AbjKlWKvjI FxfR1WGV6IKEaFYUpUBU6T8z0wnOLgvJVXLXF7fJiAmxbrbMf3HAHiHnz9woxoT6o6IjoV fANbhFgt7lRAJUBPV/vlsDbH/bYeialQuZPUp/ACdQ/6k+Ka59dMxDiiycLCWiEpKVuu4t JyvCqDr5ZePlFwWBKyBOK5PPmN3IoneyuHOTyPx2iRQely6KIozj+MQTnc/IKbRimK1W18 cml8a1t27JJp4x3hW5XyimZLnmBevRq6GZIFwCJnCI/u+d9qhKPJj2dJATzdZA== 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-clk@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Laurent Pinchart , Michael Turquette , Stephen Boyd , Paul Kocialkowski Subject: [PATCH v7 2/7] ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect Date: Wed, 22 Nov 2023 15:14:20 +0100 Message-ID: <20231122141426.329694-3-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> References: <20231122141426.329694-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: paul.kocialkowski@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 06:15:43 -0800 (PST) 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 Reviewed-by: Samuel Holland --- arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi index 3b9a282c2746..506e98f4f69d 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -579,6 +579,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.42.1