From nobody Wed Oct 8 00:04:33 2025 Received: from leonov.paulk.fr (leonov.paulk.fr [185.233.101.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CD8D3196CA; Fri, 4 Jul 2025 15:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.233.101.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751644749; cv=none; b=qFsmdteBdAQ+wxnsPAKjxGVMZLza8U8XVSY7O3/YkFo3vyElhXfWRM+SZhVHr5j5RhH4TPs/IprlsZu7e0trXCn5H3WSakq4qmm4G0YI3+R7dEwmw6hnFj4yHPk2Vsg0/tGbsioJxsqtfIvjF8b299hbR8of0Plat9i/aG9pTk4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751644749; c=relaxed/simple; bh=BJu/qu+MScmnB/kg3RgdS3D4V86q3Wnt0q/kJ5vJObs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OyC44fBfaJIjfD2Xa5TVJRp8ndu2E96r9G5GtuHPKdaYg/9GwhwzNUJdwcHGrWIkSW3VGe5bW7VRsd5k9owDnW5EV8eNJuCJ1FmP2sWcAa840x+m4d83m5wedY9EE7srtBtbI+PPa4JxTH1fG8zOtVOXNs86UJS4d4rxuGHV6EM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sys-base.io; spf=pass smtp.mailfrom=sys-base.io; arc=none smtp.client-ip=185.233.101.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sys-base.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sys-base.io Received: from laika.paulk.fr (12.234.24.109.rev.sfr.net [109.24.234.12]) by leonov.paulk.fr (Postfix) with ESMTPS id AC6601F00059; Fri, 4 Jul 2025 15:58:56 +0000 (UTC) Received: by laika.paulk.fr (Postfix, from userid 65534) id 7F129ACA698; Fri, 4 Jul 2025 15:49:52 +0000 (UTC) X-Spam-Level: * Received: from localhost.localdomain (unknown [192.168.1.64]) by laika.paulk.fr (Postfix) with ESMTP id 7C358ACA656; Fri, 4 Jul 2025 15:46:35 +0000 (UTC) From: Paul Kocialkowski To: linux-media@vger.kernel.org, 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: Yong Deng , Paul Kocialkowski , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Michael Turquette , Stephen Boyd , Maxime Ripard , Paul Kocialkowski Subject: [PATCH v8 4/9] ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect Date: Fri, 4 Jul 2025 17:46:21 +0200 Message-ID: <20250704154628.3468793-5-paulk@sys-base.io> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250704154628.3468793-1-paulk@sys-base.io> References: <20250704154628.3468793-1-paulk@sys-base.io> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Paul Kocialkowski 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 fa54510319ac..02d6c62b3874 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi @@ -629,6 +629,21 @@ int_mii_phy: ethernet-phy@1 { }; }; =20 + mbus: dram-controller@1c62000 { + compatible =3D "allwinner,sun8i-v3s-mbus"; + reg =3D <0x01c62000 0x1000>, + <0x01c63000 0x1000>; + reg-names =3D "mbus", "dram"; + clocks =3D <&ccu CLK_MBUS>, + <&ccu CLK_DRAM>, + <&ccu CLK_BUS_DRAM>; + clock-names =3D "mbus", "dram", "bus"; + #address-cells =3D <1>; + #size-cells =3D <1>; + dma-ranges =3D <0x00000000 0x40000000 0x80000000>; + #interconnect-cells =3D <1>; + }; + spi0: spi@1c68000 { compatible =3D "allwinner,sun8i-h3-spi"; reg =3D <0x01c68000 0x1000>; --=20 2.49.0