From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m49198.qiye.163.com (mail-m49198.qiye.163.com [45.254.49.198]) (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 92102384244; Sat, 9 May 2026 10:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778321128; cv=none; b=YNWkat4M9EJZt8emGqQEVUSmCcW/jw6ohQPfgKet1aSCdNT1Sr2hyugsaTKymlxboQwwezP1W1LXsDd2is9KBwXjfxUYllzEoUzk8SRVHw0eG/4PwA1P21Oqsw93Vu2UOPG8GOJSMoz+cG5UlMvawATCICDwpxkS/Sp9oCvb41Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778321128; c=relaxed/simple; bh=hLUDV+KudJUK8ib9FGDUd2w8LUyr3UxP75AregJDVwY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kXLttTu69h/LmPpzcI7siWzu/3PgLXUBlMCXANtkLFuiPC32ZPfuNDBPtgCFzG9fi1jwwe3CnaY1pzG/YK6F9wPfppSCAfYlNWkHA83Eu/RJTYg+1sd93kQteFtBgqQQlGbIAYrGYHD5X4Ax8QTWVGU3DAs+P7WsA1EJxkCQlw4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn; spf=pass smtp.mailfrom=jmu.edu.cn; arc=none smtp.client-ip=45.254.49.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jmu.edu.cn Received: from Vostro-3710.. (unknown [119.122.215.211]) by smtp.qiye.163.com (Hmail) with ESMTP id 3dc316494; Sat, 9 May 2026 18:00:05 +0800 (GMT+08:00) From: Chukun Pan To: Yixun Lan Cc: Rob Herring , Paul Walmsley , Alexandre Ghiti , Albert Ou , Palmer Dabbelt , Conor Dooley , Krzysztof Kozlowski , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, spacemit@lists.linux.dev, Chukun Pan Subject: [PATCH 1/1] riscv: dts: spacemit: enable eMMC for OrangePi RV2 Date: Sat, 9 May 2026 18:00:00 +0800 Message-Id: <20260509100000.3315109-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Tid: 0a9e0c2e0ca503a2kunm604c4a73202c55 X-HM-MType: 10 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkaHhlPVkJCQklOThoZGBlCHlYeHw 5VEwETFhoSFyQUDg9ZV1kYEgtZQVlKSkJVSklJVUlKTlVJSkpZV1kWGg8SFR0UWUFZT0tIVUpLSE tKTEtVSktLVUtZBg++ The OrangePi RV2 board has one eMMC slot, so enable eMMC. Tested using a 16 GiB AJTD4R eMMC module. Signed-off-by: Chukun Pan --- arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts index 3a829e3c9cbc..c95ca38e3d4a 100644 --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts @@ -78,6 +78,16 @@ &combo_phy { status = "okay"; }; +&emmc { + bus-width = <8>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + no-sd; + no-sdio; + non-removable; + status = "okay"; +}; + ð0 { phy-handle = <&rgmii0>; phy-mode = "rgmii-id"; -- 2.34.1