From nobody Thu Nov 14 04:51:48 2024 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 948D760EC7; Fri, 12 Jan 2024 09:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="h32px89D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052811; bh=45PTVpu/MLu2XZLF4j9xTan9RiiNLjDK7dk9hPp3Oa4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h32px89Di+MFxlU4WfgB9Ae9JEHxh0IupX7Upv6vnZxdkdRucyxJFba76WXCH3o8H 3hc1V6jW5JIsW/bN3t2kPvFEciK08WNpZauxW0Q59JIOHk2UsVvh8c0Eql32QnDiEz JUPgbLF2TX0Oh43I6EgGRC9kLjA7em93mvnwWckmkdCVz4ayd+YFvK0N0h3RXQayox VhakFOtsGUaDyOLfSGz7g6nHMVlSvQ7WUgdKn5EXEo0PemN+ca3oUhhNzheCIhvgyD GOQYzfeu5V3i7R33ZlWcnDTdyOauesNI+UhxC7amsZTN4aza+7meH3c4FszDbYpNVr MyoSxa/EeNy0g== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0F41A3782051; Fri, 12 Jan 2024 09:46:51 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, nfraprado@collabora.com, macpaul.lin@mediatek.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH 13/15] arm64: dts: mediatek: radxa-nio-12l: Enable SPI1/2 for 40pin header Date: Fri, 12 Jan 2024 10:46:30 +0100 Message-ID: <20240112094632.66310-14-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> References: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> 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" Enable the SPI1 and SPI2 controllers as pins for those are exposed on the 40pins header. Signed-off-by: AngeloGioacchino Del Regno --- .../dts/mediatek/mt8395-radxa-nio-12l.dts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/a= rm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts index be2094b8fe3c..191c059f5c97 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -582,6 +582,26 @@ pins-bus { }; }; =20 + spi1_pins: spi1-default-pins { + pins-bus { + pinmux =3D , + , + , + ; + bias-disable; + }; + }; + + spi2_pins: spi2-default-pins { + pins-bus { + pinmux =3D , + , + , + ; + bias-disable; + }; + }; + uart0_pins: uart0-pins { pins-bus { pinmux =3D , @@ -622,6 +642,26 @@ &scp { status =3D "okay"; }; =20 +&spi1 { + /* Exposed at 40 pin connector */ + pinctrl-0 =3D <&spi1_pins>; + pinctrl-names =3D "default"; + mediatek,pad-select =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "okay"; +}; + +&spi2 { + /* Exposed at 40 pin connector */ + pinctrl-0 =3D <&spi2_pins>; + pinctrl-names =3D "default"; + mediatek,pad-select =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "okay"; +}; + &spmi { #address-cells =3D <2>; #size-cells =3D <0>; --=20 2.43.0