Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 832E2C77B72 for ; Mon, 17 Apr 2023 09:21:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3EABE85FAD; Mon, 17 Apr 2023 11:20:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="KtAKqok/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E8A2485F44; Mon, 17 Apr 2023 11:20:13 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8D3CC85F44 for ; Mon, 17 Apr 2023 11:20:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=eugen.hristev@collabora.com Received: from eugen-station.. (unknown [86.122.159.151]) (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: ehristev) by madras.collabora.co.uk (Postfix) with ESMTPSA id D257B66031F1; Mon, 17 Apr 2023 10:20:06 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681723207; bh=gcsO5ZvZ1jCLleTdPDkk3oz/+tFo71BRn2joRRevXUg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KtAKqok/+kZc0gETJewi2+599wcKP4UwcRT1EYd7oZJo/z/SnrATAIpGTaWGNzHpu H6pr1RN7jZUjzTk162i02AeT6bkc5klDspQ/z12fa6wIzX7T480sj3ZeNqn/mDh/+C HdEQ0ylXj3qourXxIxHcEVQlio8tYrG4g7PSthktSshbpz3b5QETIelZFA3mSS1eNn cQeLXFDff77GsAwQKhQxG9I+QRrfSZkkgwm75dh5RvjnaWOhZbVe2sV2Rr+uod8d+8 5ucUR2d6IQPgw69QUs5KE4Vdf4ypeKiIerGmIlqQUE+waYvXoCSLbuHT+w9fvbeqPO fWhNR7iLr7rcw== From: Eugen Hristev To: u-boot@lists.denx.de, kever.yang@rock-chips.com, jonas@kwiboo.se Cc: jagan@edgeble.ai, eugen.hristev@collabora.com, Christopher Obbard Subject: [PATCH 6/7] ARM: dts: rockchip: rock5b: enable pcie2x1l2 and associated combphy Date: Mon, 17 Apr 2023 12:19:50 +0300 Message-Id: <20230417091951.4640-6-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417091951.4640-1-eugen.hristev@collabora.com> References: <20230417091951.4640-1-eugen.hristev@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Christopher Obbard Enable the pciE 2x1l 2 device and associated combphy. On this bus, the Rock5B has an Ethernet transceiver connected. Signed-off-by: Christopher Obbard [eugen.hristev@collabora.com: minor tweaks] Signed-off-by: Eugen Hristev --- arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi b/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi index 8a5b0ce42034..8293738407c4 100644 --- a/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi +++ b/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi @@ -31,10 +31,21 @@ }; }; +&combphy0_ps { + status = "okay"; +}; + &fspim2_pins { bootph-all; }; +&pcie2x1l2 { + pinctrl-names = "default"; + pinctrl-0 = <&pcie_reset_h>; + reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + &sdmmc { bus-width = <4>; bootph-all; @@ -45,6 +56,12 @@ &pinctrl { bootph-all; + pcie { + pcie_reset_h: pcie-reset-h { + rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + usb { vcc5v0_host_en: vcc5v0-host-en { rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; -- 2.34.1