Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2467636rwb; Sat, 24 Sep 2022 08:50:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4AP7tFSqxcn8pR/2/NPeW1794c7A9kfFisn5W4MP9F8BYHBvpFX6sk37ngjQFvBiIN79ku X-Received: by 2002:aa7:95a2:0:b0:541:123f:bcac with SMTP id a2-20020aa795a2000000b00541123fbcacmr14988001pfk.52.1664034607769; Sat, 24 Sep 2022 08:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664034607; cv=none; d=google.com; s=arc-20160816; b=ImQ1Yreyq54SDiYfPJV+4meFrsWuxkaJoFkSG2gUhdpA4mEQowIuuIqCHRXTnEIxJz kEtnVg/FCePQqez9dCQvo3g97d/HQfl6LCm9kUN8cuv+fKIhdeWHFUboIh+hwm64Y2gm vL1ACfiU6KkhBYEmxUOl3EUrwn/Sqxq2BqsNX/LWeL0TtsK0VfNYSEbdZrgVYVRFL0Vs 7DFevlCiKhQ348vzI09NI3lZNkZMPFqx6OtwiZS+JUOPt5Q3fcFLWBgwDNjAFYHMppCW yqwVvmDz9+67mJF0bRR4BlhzXM4n2MbmLzs6t1OWULXy9slQbehL74iH69Q/MYQr5O9t vhQg== 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=8H7TxPSMHgc/OchAiVB655J+THkaG5W4vW2uZPkmijo=; b=japRAKIdNOGva7iKCj83vKAK57I0OgLKbCqdnvXt/IttJgNoSriqueClfIYhA9BxK7 9qWDw8ckQlTlwsPJLMQnrCiiMqROOWpzwIMndM3UaLlbsKYbPRZBSu2MiyVUYKJH2Tt1 IqaXUwtC3WWRu3Dx0qnzxkjGE4GP8P5D05f8sqJYNqJFkXBVnx6U1gPwK0e3fYaJJFGs gKl6Yl+pcPAjbT1zFm8j+N2N2bGTSAFqNVXtr+FbjNXdrk1vQTIpMbi6qQhyYG0bOnI4 jjr/vtzr7pg7wbLtamYH9KqLeKhHEe45qtAJp9ZDJKzoDdFfCryOGExTHfi4aY8FlQCf YjsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=p4PUmw2n; 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 m3-20020a170902e40300b001755c347071si5677751ple.451.2022.09.24.08.49.56; Sat, 24 Sep 2022 08:50:07 -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=p4PUmw2n; 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 S233895AbiIXP2y (ORCPT + 99 others); Sat, 24 Sep 2022 11:28:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233763AbiIXP2h (ORCPT ); Sat, 24 Sep 2022 11:28:37 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1A6D9E8B1; Sat, 24 Sep 2022 08:28:35 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 531151C0007; Sat, 24 Sep 2022 15:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1664033312; 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=8H7TxPSMHgc/OchAiVB655J+THkaG5W4vW2uZPkmijo=; b=p4PUmw2nCJs3KyRDm+QvOOkySCL+RoRN1/469EjW+XykguRnftdlTMzmiBAmFZZ8S6Is6c jQ3kn+yonelwEEHaqjlA2r2GSJ2OSD8EZHjWLgPg1Nwsrh6JHlFet5xQroW+qNiAOWiI5e oaIqxXvulaaYoY8UDLbQeOEEh0YDei31AOtEis0AlztKian5E5ZLAgmzfSa5DJs+hOnjA1 PxxI07KFC3HY62J8uk1lDjTdsIfi7/qkuKpxfTZuv62sjFkyfYAcsHECwa7p/KThNIWml4 JX64GZ3SJIRh0V4GMKdiqRSi1P7YsiZrXTSR23pUxQcobJWj25LihmxIfg1Hmg== 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 v6 2/7] ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect Date: Sat, 24 Sep 2022 17:28:15 +0200 Message-Id: <20220924152820.77149-3-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220924152820.77149-1-paul.kocialkowski@bootlin.com> References: <20220924152820.77149-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 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 Reviewed-by: Samuel Holland --- 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 db194c606fdc..34f7df6b3960 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/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.37.3