Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp370304rdb; Mon, 18 Sep 2023 19:12:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY0htLtg9AebdZ+Dh4Id5kqJ8VmfWUZqZce+v8WHxFoHD9RrhT1glhWzgKb0dWQH1jdudq X-Received: by 2002:a05:6a00:23d6:b0:690:422f:4f17 with SMTP id g22-20020a056a0023d600b00690422f4f17mr10816848pfc.4.1695089543884; Mon, 18 Sep 2023 19:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695089543; cv=none; d=google.com; s=arc-20160816; b=t/owxz3rLxNq985A6HU5cPH8YAy/+R3khP1FAoZ5Eue7tEL8SNqyPY9y1Mji14Lff9 b0YPad/b7WvX4WXNjWQLhoyx3eZ/mRxrwOUoyEJrGsWJaO79Hw6s8vgmOzGi1m03fpWg tJz2s75HiEUhPIUFpxgokqPVpF3asTliGBVm3IvpkF96NLWyfp7v/q5Zwti90RUTR8TV h6iilxgHz96Gi8ZiTngI10/5BIrfdrx8MIrUGNyAY8Uka9NpT9ftRJQkN5x8qDVKuala QrKby9c6lDjl/hSfyKHCzQIdWpZCKV+lyff7YI42NWIklXPV42PlRjT/b5R+qjND1xJ/ BAtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yTGu3nXCf3Urs84a0PNmoybm8AIN9fOoAFUDE9/7Lxc=; fh=GTJIzdjfRddsbECYS2NPf2cTBoGzj7EWzl+KjtEu2+s=; b=DyxnDnACWBeuhVluvBn+3VX8yLAYmk6FZMimSoTuHG7wlPE25ZeoEzqsYJbNbUlRuh EY6UfPjbMqTEAJY2H2XlP1C8eDXInRgQ5oFqeRgGazQ6ZCQvRJLrFL4uvNVgHd8nqtft o4dzf58n2+aDGvQtbcnmpKcwGkuUJtnJ/1glLWojGrwr5ECm4hqFyMY5Mv58SIqI/vIL 35QT6mUDzPyHBJh53Q8w5M8vjW7CDQEk57UrRRFLxMEZ1kSkDL8JXJfB7BDXwQUTNETz EBTZCdbNaU00Z9xPJcX+hxSnVj7UZmXlE0bFigHU5HCLAg2wpZfEe+0BHlY7Ni9cerlo wgkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XhhNyc3U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id j73-20020a638b4c000000b005789e2752e8si1237333pge.246.2023.09.18.19.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 19:12:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XhhNyc3U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4AFFF8205D37; Mon, 18 Sep 2023 08:44:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229631AbjIRPox (ORCPT + 99 others); Mon, 18 Sep 2023 11:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbjIRPoq (ORCPT ); Mon, 18 Sep 2023 11:44:46 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4263310F4; Mon, 18 Sep 2023 08:42:24 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-188-252.ewe-ip-backbone.de [91.248.188.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3D6636607201; Mon, 18 Sep 2023 15:14:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1695046498; bh=fexmH11W8W4v7URTCHuJ5kQTk9dY/yuzuXTeYE9KXXo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XhhNyc3UkOixPt6WBmb5KvAqCLpNDC7iKt2u3EK+tXDd9LXRG2vY81nQrnYI1mFIc +NkuwFYHr8eYfLQEVo82LdWoHJyhaAQLQ5aNE6gmxMuhPVGW4ilVR3jOn2mUgP+hyZ fyJ3vE9NTIOmglw56YrxTXaqDRHlLZaSgXUrT2qLeZ45XZnfQl3xHeIBQ0vZGP1dTy 2pYn2bVxuu2gMIzUCYhdtoL7aaT+zplfwIBCt5uF+4UcNuJuRU8YunHkluAKf+q178 S1NR3upNR6o/5PW2+Gaj3LMU3sJjvsXOKkc6gEpHnNgbufmFat8rpOQJqcgbWUyKfd FrJnLUeLnC4Lg== Received: by jupiter.universe (Postfix, from userid 1000) id 8120D4800CF; Mon, 18 Sep 2023 16:14:56 +0200 (CEST) From: Sebastian Reichel To: Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH 1/3] arm64: dts: rockchip: rock-5b: add PCIe network controller Date: Mon, 18 Sep 2023 16:14:49 +0200 Message-Id: <20230918141451.131247-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230918141451.131247-1-sebastian.reichel@collabora.com> References: <20230918141451.131247-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 08:44:59 -0700 (PDT) Enable the RTL8125 network controller, which is connected via PCIe. Signed-off-by: Sebastian Reichel --- .../boot/dts/rockchip/rk3588-rock-5b.dts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 8ab60968f275..0752b0fb4b54 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -44,6 +44,15 @@ fan: pwm-fan { #cooling-cells = <2>; }; + vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3_pcie2x1l2"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <5000>; + vin-supply = <&vcc_3v3_s3>; + }; + vcc5v0_host: vcc5v0-host-regulator { compatible = "regulator-fixed"; regulator-name = "vcc5v0_host"; @@ -78,6 +87,10 @@ vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { }; }; +&combphy0_ps { + status = "okay"; +}; + &cpu_b0 { cpu-supply = <&vdd_cpu_big0_s0>; }; @@ -204,6 +217,14 @@ i2s0_8ch_p0_0: endpoint { }; }; +&pcie2x1l2 { + pinctrl-names = "default"; + pinctrl-0 = <&pcie2_2_rst>; + reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; + vpcie3v3-supply = <&vcc3v3_pcie2x1l2>; + status = "okay"; +}; + &pinctrl { hym8563 { hym8563_int: hym8563-int { @@ -217,6 +238,12 @@ hp_detect: hp-detect { }; }; + pcie2 { + pcie2_2_rst: pcie2-2-rst { + 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.40.1