From patchwork Fri Jan 12 09:46:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 187645 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp65426dyc; Fri, 12 Jan 2024 01:50:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8sF6cOxtjc60WhV2+aSjGag84ghQzPNCN3zLWq9k6ViZK0mbmfIQ7iGZ37fDhnixNUC+r X-Received: by 2002:ac8:5f87:0:b0:429:cf03:b4c4 with SMTP id j7-20020ac85f87000000b00429cf03b4c4mr764822qta.49.1705053046217; Fri, 12 Jan 2024 01:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705053046; cv=none; d=google.com; s=arc-20160816; b=yDduwmHbb/Ni+YGIpHsuX9xR10i9s2aCP8ELdPynDITTEszju4n/GrKe4LmDEA1bX2 MfEqhDp94E2mObUsbi296tLbf4oJfHqhbrqagFcZVjOGD4F6XXHm2bJyjDNTt1foH9O/ iQGHLtBuD88mGtgKjgwp8yRv2sQVUeYsKBcsPFf3vEP7f/KXFG8/yoezo8awZlyHvxpB iEr7abcA0D71ftgRbY83jUtkl9NP3iocSyno5di4kfk2gzrUtwHbc2L8Xmgp9DarpOmP goLsciXeBaOKVd4OIFEm6nEbSnIPQ4ThwDJCMgtMI2kobHCk0lQrVIx0oHT5trwWwGVP 3YwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4hDzwVL9hlvrw+EBTBX0nN4O9YeKBoXB8PgMdGHs6jY=; fh=jVP86127nqY6lQ2iFwv7XBo+ATUxJSI3LRZ9chA5Pqo=; b=BJ7hNIaHH73m3H8mbemQbsEF0PsH9DOI1b3/zt3eacE4UpkVdZNvOXfZ144iGigZaU uPTgmLe5G+9nkODSlFuA6xGDDKL/+t4zYUnWkNIm0sX2hki14k9AOXgVck8+J8vMHwUR fISS7jnjnrAQIZPYbvfHydaA2mG1n18GPsSHrLcnFQo0GoNzHgo7FPqwcuFqgoSSzH4/ EVSMiCl8+usS/Dxbe58wnmH66HxkD5KSOC8troG8I3zR9Xk9YwqBaPC8ot+WvkVcDYeS 7GhVjnDoZsNboeNMZcNrtDxBZjrlEIVqtWzV/CLExgnKkTASa5Gren17c8ATkSNff+t6 hRSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JgameZ7Q; spf=pass (google.com: domain of linux-kernel+bounces-24514-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24514-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v10-20020ac8578a000000b00429c6e07ab0si2410779qta.50.2024.01.12.01.50.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 01:50:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24514-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JgameZ7Q; spf=pass (google.com: domain of linux-kernel+bounces-24514-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24514-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EBB341C2146E for ; Fri, 12 Jan 2024 09:50:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F06662803; Fri, 12 Jan 2024 09:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="JgameZ7Q" 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 5D59360EE9; Fri, 12 Jan 2024 09:46:54 +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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052812; bh=gL9dBZTGnU9IkMRPqj3ewg2fNvV9dpUlTIdwuTp/HeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JgameZ7Qfy0yT8alx2+YKNEednVHANfwOvPmh9XyzJpaRvDVfl7mNGFizFGxgZlqr +sljUdc6UkzHSpUgDEgnOoTObIgshFnxILuxih0/Lg8RHIztL+IXyqjJkweN7J0h2A 48neMrJYNXFvRbHlTkRVseZ4/n5wxp3gmyRZvY4c9VQBq+LqhLKy2UZERh53VOlLxk LHMrkGCnd8duiyb9AdrBfQ7/P77NMtWW+i62CZ5217BIvAMFwI72fPCd2CVtcKNx16 4Hjr6PJw6CAaHp5GX8jZBdSLUAqAZUzyD9ypwEF7gghkoNri9Fkdy6tY4NSX3WFNyk lzbW0PqEiO2uA== 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 0D9443782035; Fri, 12 Jan 2024 09:46:52 +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 14/15] arm64: dts: mediatek: radxa-nio-12l: Enable UART1 for 40pin header Date: Fri, 12 Jan 2024 10:46:31 +0100 Message-ID: <20240112094632.66310-15-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787877702721542596 X-GMAIL-MSGID: 1787877702721542596 Enable the secondary UART port, exposed on the 40pins header. Signed-off-by: AngeloGioacchino Del Regno --- .../boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts index 191c059f5c97..b0d66fa139b5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -609,6 +609,13 @@ pins-bus { }; }; + uart1_pins: uart1-pins { + pins-bus { + pinmux = , + ; + }; + }; + wifi_vreg_pins: wifi-vreg-pins { pins-wifi-pmu-en { pinmux = ; @@ -707,6 +714,13 @@ &uart0 { status = "okay"; }; +&uart1 { + /* Exposed at 40 pin connector */ + pinctrl-0 = <&uart1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &xhci0 { vusb33-supply = <&mt6359_vusb_ldo_reg>; vbus-supply = <&otg_vbus_regulator>;