From nobody Fri Oct 3 21:56:43 2025 Received: from smtp1.ms.mff.cuni.cz (smtp-in1.ms.mff.cuni.cz [195.113.20.234]) (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 B50391C8603; Sun, 24 Aug 2025 11:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.113.20.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756033342; cv=none; b=hxAHlbid2Pw2RUKrkMoqB8Cg1fv1/LsjsGsfwaYmPD90yay8ae/4z6gHjNnXU4H3NfdoIpTGT3f98U8ShjhE4dEhLlgoRMXU6VSKmdSDhuq71Ud71eaOQEufI+ctoPRELq+dj8W3vdbtHwkxdbGjRVnNB401HF/cTjhAoCLFqA8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756033342; c=relaxed/simple; bh=2AVkNJrzePsAwMqI0z9iPMD2+BeeAMyJ8+B2Mp+EkRA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RBcY2VO1jTCVANCeQ+vxN7nFgd7r+AO/p5nqNOouEKnofLDd6JNlwhJOxn3EUAGz0vlWkpdJOAuS/I2JDghatLbfS0X8ypQg7D9RwwqY/SjSMsTawQuaOEJ1H32LbpZPMzBG0MWo9tfjxgzZh8vUAvm9Tx7qLlbaybqSJMdlSnc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=matfyz.cz; spf=pass smtp.mailfrom=matfyz.cz; dkim=pass (2048-bit key) header.d=mff.cuni.cz header.i=@mff.cuni.cz header.b=AkLRjobE; arc=none smtp.client-ip=195.113.20.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=matfyz.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=matfyz.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mff.cuni.cz header.i=@mff.cuni.cz header.b="AkLRjobE" X-SubmittedBy: id balejk@matfyz.cz subject /postalCode=110+2000/O=Univerzita+20Karlova/street=Ovocn+5CxC3+5CxBD+20trh+20560/5/ST=Praha,+20Hlavn+5CxC3+5CxAD+20m+5CxC4+5Cx9Bsto/C=CZ/CN=Karel+20Balej/emailAddress=balejk@matfyz.cz serial F5FD910E8FE2121B897F7E55B84E351D issued by /C=NL/O=GEANT+20Vereniging/CN=GEANT+20Personal+20CA+204 auth type TLS.CUNI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mff.cuni.cz; s=submission; t=1756033282; x=1757333282; bh=BIttbaon04d2Rvlw9j5ImGFlCSyQwHXs+hliMJ7LO+o=; h=From; b=AkLRjobEuUDghIilXe3TbwaEbnRywcDUzkz+gRf8Xt0NDsSJ0aZ4MIl+HGE9aHUSM m9TK1pWAvaDQY5nguuP+HT0iM9dcmDC8b2G5R4EKPdAY4fmZUob9Hpu93gxWll8BVV odXnZvDoXpcnu3++yj3+Snoj20kFUzW5XkRz3SoVf9a3t8Zjd5sAGqdgONCM0Zn4MB 8OHd6b1CsGYAYZigjCjtvUxAr1hbh2llGPNTWb6WNFm6Be15d6yjzswiYiexipXJeX 8FkPlHYw24vtKcSkD3j46vUib8cP5k6z22+DZ+7BnWBBP2Iop6TGnJ/HxcvaNyWRNu 1h7QUM9DxATGw== Received: from localhost (internet5.mraknet.com [185.200.108.250]) (authenticated) by smtp1.ms.mff.cuni.cz (8.16.1/8.16.1) with ESMTPS id 57OB1L4X083631 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Sun, 24 Aug 2025 13:01:22 +0200 (CEST) (envelope-from balejk@matfyz.cz) From: Karel Balej To: linux-mmc@vger.kernel.org, ulf.hansson@linaro.org, =?UTF-8?q?Duje=20Mihanovi=C4=87?= , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Karel Balej Subject: [PATCH mmc/next 1/3] arm64: dts: samsung,coreprimevelte: add PMIC Date: Sun, 24 Aug 2025 12:53:43 +0200 Message-ID: <20250824110039.28258-2-balejk@matfyz.cz> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250824110039.28258-1-balejk@matfyz.cz> References: <20250824110039.28258-1-balejk@matfyz.cz> 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" Bind power management chip to the samsung,coreprimevelte smartphone. This enables support for onkey and RTC as well as for regulators two of which are explicitly bound here to the SD card. Signed-off-by: Karel Balej --- .../mmp/pxa1908-samsung-coreprimevelte.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte= .dts b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts index 47a4f01a7077..240021e7a371 100644 --- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts +++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts @@ -303,6 +303,28 @@ &twsi1 { =20 &twsi2 { status =3D "okay"; + + pmic@30 { + compatible =3D "marvell,88pm886-a1"; + reg =3D <0x30>; + interrupts =3D <0 4 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent =3D <&gic>; + wakeup-source; + + regulators { + ldo6: ldo6 { + regulator-boot-on; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo14: ldo14 { + regulator-boot-on; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <3300000>; + }; + }; + }; }; =20 &twsi3 { @@ -328,4 +350,6 @@ &sdh0 { cd-inverted; bus-width =3D <4>; wp-inverted; + vmmc-supply =3D <&ldo14>; + vqmmc-supply =3D <&ldo6>; }; --=20 2.50.1 From nobody Fri Oct 3 21:56:43 2025 Received: from smtp1.ms.mff.cuni.cz (smtp-in1.ms.mff.cuni.cz [195.113.20.234]) (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 B4FC617C91; Sun, 24 Aug 2025 11:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.113.20.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756033343; cv=none; b=ViPbppgAOnzzKvd8Eq9xkh3XpUs6kcMjjDdLFOgH6sBUnllAjaYBnOFzPqNslUV4Y2CLWqaZofP2xGzJ+Io8K5Csm9Fx7BKBWnzlalezLMzHJQ+mfP/lVBwG/eGwmmH7tsW1j7qkcVX6tlH+NWVJQmAxBaah4qGLEvAdPQxGBdA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756033343; c=relaxed/simple; bh=jRWqCu6ox8FhYgTv8HmAvGfmvKNLit4r6YWSaS4+4zY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FDgMoIYn+30PNIn67TrbiJxntW23qVXUUCm1ydYczu/L6BfwYAatGo24lh9s5oSvdxeA/kVvP2VkMZLo/S7Qq0LVC8MeslYqbzougjEWN5N9bDKWSQxwOGhjgLOrGUEQS18/gMNLGnADujAowxVWqpzKYBBJNOybLcQYkNXBPps= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=matfyz.cz; spf=pass smtp.mailfrom=matfyz.cz; dkim=pass (2048-bit key) header.d=mff.cuni.cz header.i=@mff.cuni.cz header.b=bXRStTSj; arc=none smtp.client-ip=195.113.20.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=matfyz.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=matfyz.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mff.cuni.cz header.i=@mff.cuni.cz header.b="bXRStTSj" X-SubmittedBy: id balejk@matfyz.cz subject /postalCode=110+2000/O=Univerzita+20Karlova/street=Ovocn+5CxC3+5CxBD+20trh+20560/5/ST=Praha,+20Hlavn+5CxC3+5CxAD+20m+5CxC4+5Cx9Bsto/C=CZ/CN=Karel+20Balej/emailAddress=balejk@matfyz.cz serial F5FD910E8FE2121B897F7E55B84E351D issued by /C=NL/O=GEANT+20Vereniging/CN=GEANT+20Personal+20CA+204 auth type TLS.CUNI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mff.cuni.cz; s=submission; t=1756033284; x=1757333284; bh=XpMC3BrM1uIB0XbsX1fqE/ZITuthT+QHhc9H0DCFYDU=; h=From; b=bXRStTSjPngcKJy7ovasYiZxGDbWwFqFjxD7iCJDgaYdEg2czS3dN9Xwq17YhZh94 LdpKiMYPy9/2x75MYkbmijSSQZUrU9r9fYu5uXS6M4AmVSgF5v5aBtl02sjXFIwqF8 43YlJDgh3l0/Wv9PMgV5TdZkKpDwBXhHnhQ2OYSsQ4PoGnFJDkemrPVHqXHxILVl6D 3iRpkoGXsxGKh5DIHx/t9zLMy9hMuVKHDQ22lUEvm133+5zScxn6QuQ47XZ7KIR8It gHw/PBFLLEHK6bptL9cTxSHwgJnKs/KrLAT0LF9RFZfs7clzEApjUXlSI5HaXEKvnN rwfEun+gfal9w== Received: from localhost (internet5.mraknet.com [185.200.108.250]) (authenticated) by smtp1.ms.mff.cuni.cz (8.16.1/8.16.1) with ESMTPS id 57OB1N4a083637 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Sun, 24 Aug 2025 13:01:24 +0200 (CEST) (envelope-from balejk@matfyz.cz) From: Karel Balej To: linux-mmc@vger.kernel.org, ulf.hansson@linaro.org, =?UTF-8?q?Duje=20Mihanovi=C4=87?= , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Karel Balej Subject: [PATCH mmc/next 2/3] arm64: dts: samsung,coreprimevelte: add touchscreen Date: Sun, 24 Aug 2025 12:53:44 +0200 Message-ID: <20250824110039.28258-3-balejk@matfyz.cz> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250824110039.28258-1-balejk@matfyz.cz> References: <20250824110039.28258-1-balejk@matfyz.cz> 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" Bind touchscreen for the samsung,coreprimevelte smartphone. The downstream code sets the VDD voltage to the exact value of 3.1 V, however it's been empirically verified that the lower bound used here sufficies for the proper operation of the chip and is thus used for power-saving purposes. Signed-off-by: Karel Balej --- .../mmp/pxa1908-samsung-coreprimevelte.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte= .dts b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts index 240021e7a371..834b2cf1a204 100644 --- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts +++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts @@ -312,6 +312,11 @@ pmic@30 { wakeup-source; =20 regulators { + ldo2: ldo2 { + regulator-min-microvolt =3D <1900000>; + regulator-max-microvolt =3D <3100000>; + }; + ldo6: ldo6 { regulator-boot-on; regulator-min-microvolt =3D <1200000>; @@ -329,6 +334,16 @@ ldo14: ldo14 { =20 &twsi3 { status =3D "okay"; + + touchscreen@50 { + compatible =3D "imagis,ist3032c"; + reg =3D <0x50>; + interrupt-parent =3D <&gpio>; + interrupts =3D <72 IRQ_TYPE_EDGE_FALLING>; + vdd-supply =3D <&ldo2>; + touchscreen-size-x =3D <480>; + touchscreen-size-y =3D <800>; + }; }; =20 &usb { --=20 2.50.1 From nobody Fri Oct 3 21:56:43 2025 Received: from smtp1.ms.mff.cuni.cz (smtp-in1.ms.mff.cuni.cz [195.113.20.234]) (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 B50D01DE3CA; Sun, 24 Aug 2025 11:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.113.20.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756033343; cv=none; b=uoM3j39bwfSk3ftZ6/vAmqPDO8uhzsm6Pnb/vah3JeYyGECCpbOav5kjQxThjfp+FkahcAtmAXtR+9oxv4kDJs03WmbC+0G+6y+0viMM4XWvl3gn4fO4n1QhWM5P+Kns5Pljbev4p+S4YCwVg+O6mnHrAzszDG8G5mAJbTnu7lo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756033343; c=relaxed/simple; bh=aZ6XhTh7UAaXtjvpRxQu6NZgfHHhEz7bxwt15peqbPg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TrEUd1B6dCYW67SjDvEVeUthKEUbqcqxJnRfMyOOROhvlZwJNylJeBUC4k3Z0MaiaOI48HX9Lh87VZwTBdb987nRNdqcXYLJdCGvGiGIBC8GxzTOKEXg7g0mv+hgHJxpIeRzpMwE1Xsm+bYFcWY4NZ3XLkGKwNRBVCnYLxsE79k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=matfyz.cz; spf=pass smtp.mailfrom=matfyz.cz; dkim=pass (2048-bit key) header.d=mff.cuni.cz header.i=@mff.cuni.cz header.b=V+PMLf4r; arc=none smtp.client-ip=195.113.20.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=matfyz.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=matfyz.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mff.cuni.cz header.i=@mff.cuni.cz header.b="V+PMLf4r" X-SubmittedBy: id balejk@matfyz.cz subject /postalCode=110+2000/O=Univerzita+20Karlova/street=Ovocn+5CxC3+5CxBD+20trh+20560/5/ST=Praha,+20Hlavn+5CxC3+5CxAD+20m+5CxC4+5Cx9Bsto/C=CZ/CN=Karel+20Balej/emailAddress=balejk@matfyz.cz serial F5FD910E8FE2121B897F7E55B84E351D issued by /C=NL/O=GEANT+20Vereniging/CN=GEANT+20Personal+20CA+204 auth type TLS.CUNI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mff.cuni.cz; s=submission; t=1756033287; x=1757333287; bh=xhfkWSdpuaORvEfamLdOOBI/0zxYWDPspeDCfhDyiM4=; h=From; b=V+PMLf4ry8qDzhAXsqp7htREfZF24+btAdwzStn3LGtwQmKj0XHRMmxP3KelEfWva OrFm4Rf6fvJzmXFUmmYtJZ6mn0QJQi0kfRPLQDlN9PVzoRjskXrspN9GwNgHoWTmfe 0Y/8nMmPqcF9KTC9HuVvZJR8tmZwcxDPpwlR9jaE2LfBdp037itF/3uKjWoiHqw1IC OTSIoEybKwGGdnL71ahR3svdvbXEKDVdQE63gR/sQIajunB93oZXSqH7INEOXmDCbk fw+M2N3IC2njcSoyCiUZ4X9FkBxmVTXNEsBkHW9vMh4bNjJB+saj18E4fdmkSv0HUb M2xePA29RfIVQ== Received: from localhost (internet5.mraknet.com [185.200.108.250]) (authenticated) by smtp1.ms.mff.cuni.cz (8.16.1/8.16.1) with ESMTPS id 57OB1PQ2083640 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Sun, 24 Aug 2025 13:01:27 +0200 (CEST) (envelope-from balejk@matfyz.cz) From: Karel Balej To: linux-mmc@vger.kernel.org, ulf.hansson@linaro.org, =?UTF-8?q?Duje=20Mihanovi=C4=87?= , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Karel Balej Subject: [PATCH mmc/next 3/3] arm64: dts: samsung,coreprimevelte: add SDIO Date: Sun, 24 Aug 2025 12:53:45 +0200 Message-ID: <20250824110039.28258-4-balejk@matfyz.cz> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250824110039.28258-1-balejk@matfyz.cz> References: <20250824110039.28258-1-balejk@matfyz.cz> 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" Set some basic properties of the SDIO card of the samsung,coreprimevelte smartphone. The SDIO is used as an interface for WiFi, Bluetooth and FM radio serviced by the Marvell 88W8777 (SD8777) chipset. Support for this chipset is currently not in-tree because the firmware is not available in linux-firmware, however it is possible to trivially run it out-of-tree using the mwifiex and Marvell Bluetooth drivers with some caveats. Link: https://lore.kernel.org/r/20231029111807.19261-1-balejk@matfyz.cz/ Signed-off-by: Karel Balej --- .../mmp/pxa1908-samsung-coreprimevelte.dts | 146 ++++++++++++++++++ 1 file changed, 146 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte= .dts b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts index 834b2cf1a204..53f62cbdb7e0 100644 --- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts +++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts @@ -10,6 +10,7 @@ / { aliases { mmc0 =3D &sdh2; /* eMMC */ mmc1 =3D &sdh0; /* SD card */ + mmc2 =3D &sdh1; /* SDIO */ serial0 =3D &uart0; }; =20 @@ -286,6 +287,142 @@ sdh0_pins_2: sdh0-pins-2 { pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; pinctrl-single,low-power-mode =3D <0x208 0x388>; }; + + sdh1_pins_0: sdh1-pins-0 { + pinctrl-single,pins =3D < + 0x170 1 + 0x174 1 + 0x178 1 + 0x17c 1 + 0x180 1>; + pinctrl-single,drive-strength =3D <0x1000 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0 0x388>; + }; + + sdh1_pins_1: sdh1-pins-1 { + pinctrl-single,pins =3D <0x184 1>; + pinctrl-single,drive-strength =3D <0 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0x208 0x388>; + }; + + sdh1_pins_2: sdh1-pins-2 { + pinctrl-single,pins =3D <0xec 0>; + pinctrl-single,drive-strength =3D <0x1000 0x1800>; + pinctrl-single,bias-pullup =3D <0x8000 0x8000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0x8000 0x8000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0 0x388>; + }; + + sdh1_fast_pins_0: sdh1-fast-pins-0 { + pinctrl-single,pins =3D < + 0x170 1 + 0x174 1 + 0x178 1 + 0x17c 1 + 0x180 1 + >; + pinctrl-single,drive-strength =3D <0x1800 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0 0x388>; + }; + + sdh1_fast_pins_1: sdh1-fast-pins-1 { + pinctrl-single,pins =3D < + 0x184 1 + >; + pinctrl-single,drive-strength =3D <0x1800 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0x208 0x388>; + }; + + sdh2_pins_0: sdh2-pins-0 { + pinctrl-single,pins =3D < + 0x24 1 + 0x28 1 + 0x2c 1 + 0x30 1 + 0x34 1 + 0x38 1 + 0x3c 1 + 0x40 1 + >; + pinctrl-single,drive-strength =3D <0x1000 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0 0x388>; + }; + + sdh2_pins_1: sdh2-pins-1 { + pinctrl-single,pins =3D <0x64 1>; + pinctrl-single,drive-strength =3D <0x1000 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0x208 0x388>; + }; + + sdh2_pins_2: sdh2-pins-2 { + pinctrl-single,pins =3D <0x5c 1>; + pinctrl-single,bias-pullup =3D <0xc000 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0x8000 0xa000 0x8000 0xa000>; + pinctrl-single,low-power-mode =3D <0x288 0x388>; + }; + + sdh2_fast_pins_0: sdh2-fast-pins-0 { + pinctrl-single,pins =3D < + 0x24 1 + 0x28 1 + 0x2c 1 + 0x30 1 + 0x34 1 + 0x38 1 + 0x3c 1 + 0x40 1 + >; + pinctrl-single,drive-strength =3D <0x1800 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0 0x388>; + }; + + sdh2_fast_pins_1: sdh2-fast-pins-1 { + pinctrl-single,pins =3D <0x64 1>; + pinctrl-single,drive-strength =3D <0x1800 0x1800>; + pinctrl-single,bias-pullup =3D <0 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0 0xa000 0 0xa000>; + pinctrl-single,input-schmitt =3D <0 0x30>; + pinctrl-single,input-schmitt-enable =3D <0x40 0 0x40 0x40>; + pinctrl-single,low-power-mode =3D <0x208 0x388>; + }; + + sdh2_fast_pins_2: sdh2-fast-pins-2 { + pinctrl-single,pins =3D <0x5c 1>; + pinctrl-single,drive-strength =3D <0x1800 0x1800>; + pinctrl-single,bias-pullup =3D <0xc000 0xc000 0 0xc000>; + pinctrl-single,bias-pulldown =3D <0x8000 0xa000 0x8000 0xa000>; + pinctrl-single,low-power-mode =3D <0x288 0x388>; + }; }; =20 &uart0 { @@ -368,3 +505,12 @@ &sdh0 { vmmc-supply =3D <&ldo14>; vqmmc-supply =3D <&ldo6>; }; + +&sdh1 { + pinctrl-names =3D "default", "state_uhs"; + pinctrl-0 =3D <&sdh1_pins_0 &sdh1_pins_1 &sdh1_pins_2>; + pinctrl-1 =3D <&sdh1_fast_pins_0 &sdh1_fast_pins_1 &sdh1_pins_2>; + bus-width =3D <4>; + broken-cd; + non-removable; +}; --=20 2.50.1