From: Heiko Stuebner <heiko@sntech.de>
To: heiko@sntech.de
Cc: ukleinek@debian.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/8] arm64: dts: rockchip: enable second PCIe controller on the Qnap-TS433
Date: Sat, 20 Jul 2024 23:08:48 +0200 [thread overview]
Message-ID: <20240720210856.778014-3-heiko@sntech.de> (raw)
In-Reply-To: <20240720210856.778014-1-heiko@sntech.de>
The TS433 uses both pcie controllers for sata and the 2nd network
interface. Set the needed data-lanes in the pcie3 phy and enable
the second pcie controller, as well as remove the bifurcation comment.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
index 889838b4079ae..0636a08986572 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
@@ -78,16 +78,23 @@ rgmii_phy0: ethernet-phy@0 {
};
&pcie30phy {
+ data-lanes = <1 2>;
status = "okay";
};
&pcie3x1 {
- /* The downstream dts has: rockchip,bifurcation, XXX: find out what this is about */
reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};
+&pcie3x2 {
+ num-lanes = <1>;
+ reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
+ vpcie3v3-supply = <&vcc3v3_pcie>;
+ status = "okay";
+};
+
&sdhci {
bus-width = <8>;
max-frequency = <200000000>;
--
2.39.2
next prev parent reply other threads:[~2024-07-20 21:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 21:08 [PATCH 0/8] Expand available features on Qnap TS433 Heiko Stuebner
2024-07-20 21:08 ` [PATCH 1/8] arm64: dts: rockchip: add PCIe supply regulator to Qnap-TS433 Heiko Stuebner
2024-07-20 21:08 ` Heiko Stuebner [this message]
2024-07-20 21:08 ` [PATCH 3/8] arm64: dts: rockchip: enable uart0 on qnap ts433 Heiko Stuebner
2024-07-20 21:11 ` Heiko Stübner
2024-07-20 21:08 ` [PATCH 3/8] arm64: dts: rockchip: enable uart0 on Qnap-TS433 Heiko Stuebner
2024-07-20 21:08 ` [PATCH 4/8] arm64: dts: rockchip: enable usb ports on qnap ts433 Heiko Stuebner
2024-07-20 21:11 ` Heiko Stübner
2024-07-20 21:08 ` [PATCH 4/8] arm64: dts: rockchip: enable usb ports on Qnap-TS433 Heiko Stuebner
2024-07-20 21:08 ` [PATCH 5/8] arm64: dts: rockchip: add stdout path " Heiko Stuebner
2024-07-20 21:08 ` [PATCH 6/8] arm64: dts: rockchip: enable sata1+2 " Heiko Stuebner
2024-07-20 21:08 ` [PATCH 7/8] arm64: dts: rockchip: add board-aliases for Qnap-TS433 Heiko Stuebner
2024-07-20 21:08 ` [PATCH 8/8] arm64: dts: rockchip: add hdd leds to Qnap-TS433 Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240720210856.778014-3-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=ukleinek@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).