From patchwork Fri Jan 12 09:46:27 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: 187641 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp65123dyc; Fri, 12 Jan 2024 01:49:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdEuy/4pp2MbKNGAylv4HtdzXadsOCTrmEgV1m3vLwrXVd+Qs/AauQYPAxuWO5YRS0KYhv X-Received: by 2002:a17:906:6b17:b0:a28:9621:40b4 with SMTP id q23-20020a1709066b1700b00a28962140b4mr435700ejr.141.1705052991092; Fri, 12 Jan 2024 01:49:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705052991; cv=none; d=google.com; s=arc-20160816; b=Uxjhtsf4Lta80iwQWkSspNuOd2aWdIJy2ZHSheVnjQfCClqch8m9/iyf+mBzGjxydn fAmlNto9tcqueq3p3wRzXSwXQTWMYuul2Dt+09lpeNT64ZVAfi7LeTGmVaEvaxBBl10W cXXx/O1vv+q2lTQYhoFnxF+CaTtVxpZCDySTKhulwDbRKtzQbkn7w8ZIrX20JmneyE6W DjafSLraF6uPqLRVjqFNXId2l9mk+kEqOyL7SiAi8UP3mj7JDZrA0Lswt8J9ZLSiIhDz G9GjNMTu/boOROVDtydSsjAyjAfkwKmP1OLuRDkXXY353Xfq1PPDq7JWDaqjiRdIoecU jKGg== 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=b5ECUvJvsXBj4/NOO4guY2IQc2L2V+eZ7O40UHnHmWI=; fh=jVP86127nqY6lQ2iFwv7XBo+ATUxJSI3LRZ9chA5Pqo=; b=DGk4VH1FKedKuhiEXTppqhQhHANtlgXbliDGe0XfV4RpLm11f8ejSHOTKURsbSdp0Z rM5ECHX4pXDqpQVGUmGXrMzIZWwBYRZCLen5vgZsRJxPaq7edwKnwvJpgRpv8GiVTQfB 922Vur6Q2UVI2JEI6w1MeFKulxQUqnDn1LHdoq+qjeq5PxdouWlpbjmKHvT7FYoE4eDE RPye1IC6A+5Ypx2ZSDBco/BKFpAEEMEu5Pm6L+eixHJ3kdGEIhoHKOliK3qZu3PeAA8x qwZdRE0P3UiXEBRRYEaO/qZ1zagWyK/TpTg0W4WTsjhbD8FKXNnDYw+bw91ttRHNRdTZ 2hSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="D3x/KrQG"; spf=pass (google.com: domain of linux-kernel+bounces-24510-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24510-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g23-20020a1709063b1700b00a26ae3c6702si1249279ejf.248.2024.01.12.01.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 01:49:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24510-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="D3x/KrQG"; spf=pass (google.com: domain of linux-kernel+bounces-24510-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24510-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B29251F26B5E for ; Fri, 12 Jan 2024 09:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 282F357301; Fri, 12 Jan 2024 09:46:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="D3x/KrQG" 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 2B6835FEE0; Fri, 12 Jan 2024 09:46:50 +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=1705052808; bh=PBInGRQ7u56PJ5kAhJgP+h9Q1n6mnFxfoN7YCdPzwaw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D3x/KrQGs5mZR32NTRZBSUZgSKwCRsHUE9HUveVzAwgj70HdsQHEyI9Tqr9PtweLH 4FI4pfF5uIvFCDjABr+efx7uhxfy8H5umrSm2ZLXGAGqkSQRucs8S+KIf5TuF/lZd7 LVRfsZeguGmQ/RKItOhwtFJoivbUVRuutEuOkfPuEzpxrVm6wlJWj8pbmstl5jwPql 3LaVtJeWUUatUFQHxC7/L5BW2trHj81nmUfsqZ6ZhyVg/Tf4bcLgMFqSMyhsBjLvX3 1m9TQSJSoj8EeZqX6Q9w1NA0HRlUJDM3wmIc5E9DSWqymdYYgdxBPAmFv25VZv59CP MPeZ/K1gmfJmQ== 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 E61713781FCF; Fri, 12 Jan 2024 09:46:47 +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 10/15] arm64: dts: mediatek: radxa-nio-12l: Enable PCI-Express 0 for USB HUB Date: Fri, 12 Jan 2024 10:46:27 +0100 Message-ID: <20240112094632.66310-11-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: 1787877645117855499 X-GMAIL-MSGID: 1787877645117855499 Enable the PCIe0 controller, providing part of the USB connectivity found on this board through a USB HUB connected over PCI-Express. Signed-off-by: AngeloGioacchino Del Regno --- .../boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 15 +++++++++++++++ 1 file changed, 15 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 5a9e33013209..dbde2c7b3c64 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -564,6 +564,15 @@ pins-irq { }; }; + pcie0_default_pins: pcie0-default-pins { + pins-bus { + pinmux = , + , + ; + bias-pull-up; + }; + }; + uart0_pins: uart0-pins { pins-bus { pinmux = , @@ -583,6 +592,12 @@ pins-wifi-vreg-en { }; }; +&pcie0 { + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_default_pins>; + status = "okay"; +}; + &pmic { interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>; };