From nobody Fri Apr 3 22:39:20 2026 Received: from courrier.aliel.fr (pouet.aliel.fr [65.21.61.41]) (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 E308E37D101; Mon, 23 Mar 2026 10:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.21.61.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774260218; cv=none; b=K61hWrUKJrPqbVwioZe8vlBrECoCLDuIvPK+g/T4AMVVGgxEhRBEu4nWij78iFp85deGZJcE6+JSA8WCj8Ao9NfUj9ylo5JwPLv113Xvb5Orqhi7eOFZfYfY7z4pKHkG8/l/93MDRjQWid3VkfgyG0hOlWPtMjggbsSjErS4gPg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774260218; c=relaxed/simple; bh=4xPQlUAwrCs4HHPO7VRNhW2hQSK0zCMvzD90tkk4ojk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J4ZSA/SCBlx3kNSjbkn8KW/WXi3VEinsRAl+FB1twyD+bKUIwin+/A8oEBPa1HJnSLQdyQ7Rh7iAfQFQLI4BkYw42LalnGE6Vvy1bJlEB5mXqdpsPGtdOjStxDp5tq/A5LGaB+yrxtLVV4Cr0bomnxvctwJccZlnSesWPeLTr38= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr; spf=pass smtp.mailfrom=aliel.fr; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b=BWzXM/zy; arc=none smtp.client-ip=65.21.61.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aliel.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b="BWzXM/zy" From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1774259898; bh=4xPQlUAwrCs4HHPO7VRNhW2hQSK0zCMvzD90tkk4ojk=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=BWzXM/zyGVFZPhwDA/eJZf1AN4a4AXPLq4O9B1JAXEP/3wkO4+fOkhVsycMEcPy9h Cm70lqdrzh88FZ6latMiri1IxBRBKzLJcOlevr6q/VjbXEYZV5qMCuhv4LRXsu1H07 DNv7WTM4KNplGV3F4N/ExbTZj2JEWrULQH2obNDU= Date: Mon, 23 Mar 2026 10:55:26 +0100 Subject: [PATCH v3 1/9] arm64: dts: amlogic: t7: Add eMMC, SD card and SDIO pinctrl nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260323-add-emmc-t7-vim4-v3-1-5159d90a984c@aliel.fr> References: <20260323-add-emmc-t7-vim4-v3-0-5159d90a984c@aliel.fr> In-Reply-To: <20260323-add-emmc-t7-vim4-v3-0-5159d90a984c@aliel.fr> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Johannes Berg , van Spriel Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-wireless@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openssh-sha256; t=1774259894; l=2892; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=4xPQlUAwrCs4HHPO7VRNhW2hQSK0zCMvzD90tkk4ojk=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QCDZevpmOhr4WVcb80EqQBuMVzASEcHojkoed4+BSjbqdyzAhWeKhBXz24/lsgTqytmFLOp33nL IJy9QOiiaUQk= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs These pinctrl nodes are required by the eMMC, SD card and SDIO drivers to configure pin muxing at runtime. - eMMC: control, 4-bit/8-bit data, data strobe and clock gate pins - SD card: data, clock, command and clock gate pins - SDIO: data, clock, command and clock gate pins Signed-off-by: Ronald Claveau --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 98 +++++++++++++++++++++++++= ++++ 1 file changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/= dts/amlogic/amlogic-t7.dtsi index 6510068bcff92..ac8de8e9b8010 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -250,6 +250,104 @@ gpio: bank@4000 { #gpio-cells =3D <2>; gpio-ranges =3D <&periphs_pinctrl 0 0 157>; }; + + emmc_ctrl_pins: emmc-ctrl { + mux-0 { + groups =3D "emmc_cmd"; + function =3D "emmc"; + bias-pull-up; + }; + + mux-1 { + groups =3D "emmc_clk"; + function =3D "emmc"; + bias-disable; + }; + }; + + emmc_data_4b_pins: emmc-data-4b { + mux-0 { + groups =3D "emmc_nand_d0", + "emmc_nand_d1", + "emmc_nand_d2", + "emmc_nand_d3"; + function =3D "emmc"; + bias-pull-up; + }; + }; + + emmc_data_8b_pins: emmc-data-8b { + mux-0 { + groups =3D "emmc_nand_d0", + "emmc_nand_d1", + "emmc_nand_d2", + "emmc_nand_d3", + "emmc_nand_d4", + "emmc_nand_d5", + "emmc_nand_d6", + "emmc_nand_d7"; + function =3D "emmc"; + bias-pull-up; + }; + }; + + emmc_ds_pins: emmc-ds { + mux { + groups =3D "emmc_nand_ds"; + function =3D "emmc"; + bias-pull-down; + }; + }; + + emmc_clk_gate_pins: emmc_clk_gate { + mux { + groups =3D "GPIOB_8"; + function =3D "gpio_periphs"; + bias-pull-down; + }; + }; + + sdcard_pins: sdcard { + mux { + groups =3D "sdcard_d0", + "sdcard_d1", + "sdcard_d2", + "sdcard_d3", + "sdcard_clk", + "sdcard_cmd"; + function =3D "sdcard"; + bias-pull-up; + }; + }; + + sdcard_clk_gate_pins: sdcard_clk_gate { + mux { + groups =3D "GPIOC_4"; + function =3D "gpio_periphs"; + bias-pull-down; + }; + }; + + sdio_pins: sdio { + mux-0 { + groups =3D "sdio_d0", + "sdio_d1", + "sdio_d2", + "sdio_d3", + "sdio_clk", + "sdio_cmd"; + function =3D "sdio"; + bias-pull-up; + }; + }; + + sdio_clk_gate_pins: sdio_clk_gate { + mux { + groups =3D "GPIOX_4"; + function =3D "gpio_periphs"; + bias-pull-up; + }; + }; }; =20 gpio_intc: interrupt-controller@4080 { --=20 2.49.0