From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC97ECA1002 for ; Sat, 6 Sep 2025 14:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=igOrsfiqychDx42vEKAlH9FbEQ9//jlfYCScr2VLO8k=; b=mXb5uzxr+8CS2L 3+bDGh55EFNhK8B0yVu6DgzxwpzwO1wBXws7GE0CrQ7f6rtcHA9w251j34GUhBCjyUUswdH7nxq2y moIVv7dZKEwqmv7cWKv94S6fhTFAGSVED+awaA0yTBQqnSRiLZ4E5KzEdpDkkGXL75lJ5Re9Xg83y dhgdxy4IMKJiLxG/6jBKZ2Pz6Axe7aS0LuUasq/nkkWm21ne+20oCIDVb2Ztmy3Li+FIjsEtKR7Pw JXo9yAIfe4wi5J6nF9paQXLTkKZ55GCWaeIjfcjnNgPFzpUBuxH3N42HRs3UoItnbOxttj4qPQnKC 1KMOchU1jsc8Jtx0miKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uutX4-00000007ssz-2mRI; Sat, 06 Sep 2025 14:04:46 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uutMk-00000007qzi-2FkO; Sat, 06 Sep 2025 13:54:07 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1D6D920285; Sat, 6 Sep 2025 15:54:05 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 15xGSrIbygqB; Sat, 6 Sep 2025 15:54:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1757166844; bh=Dw5uo181Dm3Fr9E03p865uWj8jVKOwAN1D+SIhGoS3E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QnenhXeTVnAZ4hc1cPKPDtuClk2YEMAQ1CvdjE8PRoj4rTwwfuAekElrTBr7hQSgB N7IvFyxXZ34NEK28AsfeUGPCS0Oqsudvn3qk7kPn8TGAgNI+IJgPITbWXXnKXe3qso Zc35meOMW+qDjq4diZXyxFRBSk9bgCZyZ9It6mwk5G6qgvILI2F+58bJ70+sKAuUon dnIfrXCdRUVWoa3Kc7raD2OP716eQrQLe8uSes1OZIP9KDhq9b1QszVP4VmnEY9/nL yGstc9ZF08io+5dtjwoQr/FUt2mRNqNjW6CLLXu71fEkiltKNK7Umc7qK19o6bEvce PuVkMK5WfjdwQ== From: Yao Zi To: Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Lin , Simon Xue Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman , Chukun Pan , Yao Zi Subject: [PATCH 3/3] arm64: dts: rockchip: Enable PCIe controller on Radxa E20C Date: Sat, 6 Sep 2025 13:52:46 +0000 Message-ID: <20250906135246.19398-4-ziyao@disroot.org> In-Reply-To: <20250906135246.19398-1-ziyao@disroot.org> References: <20250906135246.19398-1-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250906_065406_707866_835ED0C4 X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Radxa E20C provides one of its GbE ports through RTL8111H connected to SoC's PCIe controller. Let's enable the controller and the PHY used by it to allow usage of the port. Signed-off-by: Yao Zi --- .../boot/dts/rockchip/rk3528-radxa-e20c.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts b/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts index 12eec2c1db22..e880c7a7e674 100644 --- a/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts +++ b/arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts @@ -171,6 +171,10 @@ vdd_logic: regulator-vdd-logic { }; }; +&combphy { + status = "okay"; +}; + &cpu0 { cpu-supply = <&vdd_arm>; }; @@ -229,6 +233,13 @@ rgmii_phy: ethernet-phy@1 { }; }; +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pciem1_pins>, <&pcie_reset_g>; + reset-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + &pinctrl { ethernet { gmac1_rstn_l: gmac1-rstn-l { @@ -256,6 +267,12 @@ wan_led_g: wan-led-g { }; }; + pcie { + pcie_reset_g: pcie-reset-g { + rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + sdmmc { sdmmc_vol_ctrl_h: sdmmc-vol-ctrl-h { rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; -- 2.50.1 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip