From: sashiko-bot@kernel.org
To: "Ricardo Pardini" <ricardo@pardini.net>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 5/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on NanoPi R5S
Date: Fri, 11 Sep 2026 20:08:16 +0000 [thread overview]
Message-ID: <20260911200817.5481D1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260910-rk3588-dts-rtl-eth-describe-dt-alias-v5-5-c1b9e5f10cd6@pardini.net>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The PCI root port bridge nodes (`pcie@0,0`) specify invalid `bus-range` properties that incorrectly duplicate the host controllers' bus ranges, resulting in secondary buses that overlap with their primary buses and conflict with downstream child device configurations.
--
commit 9036af8384aaa0dde91ac21a4bd6adf0c3d12244
Author: Ricardo Pardini <ricardo@pardini.net>
arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on NanoPi R5S
The FriendlyElec NanoPi R5S (rk3568) carries two on-board Realtek
RTL8125 NICs behind pcie2x1 and pcie3x1, alongside the existing gmac0
RGMII PHY. This describes the fixed function nodes and attaches ethernet1
and ethernet2 aliases so U-Boot can inject MAC addresses for them.
> diff --git a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
> index 90ce6f0e1dcff..9ed11663c31c9 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
[ ... ]
> @@ -107,6 +109,20 @@ &pcie2x1 {
> num-lanes = <1>;
> reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
> status = "okay";
> +
> + pcie@0,0 {
> + reg = <0x000000 0 0 0 0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + ranges;
> + device_type = "pci";
> + bus-range = <0x00 0x0f>;
[Severity: Low]
Does this describe an invalid PCI topology where the pcie2x1 bridge's
secondary bus is identical to its primary bus? Setting the secondary
bus to 0x00 conflicts with its primary bus (0x00) and the downstream
rtl_eth1 child node's bus (0x01).
> +
> + rtl_eth1: ethernet@0,0 {
> + compatible = "pci10ec,8125";
> + reg = <0x010000 0 0 0 0>;
> + };
> + };
> };
[ ... ]
> @@ -119,6 +135,20 @@ &pcie3x1 {
> reset-gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
> vpcie3v3-supply = <&vcc3v3_pcie>;
> status = "okay";
> +
> + pcie@0,0 {
> + reg = <0x100000 0 0 0 0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + ranges;
> + device_type = "pci";
> + bus-range = <0x10 0x1f>;
[Severity: Low]
Does this also configure the pcie3x1 bridge's secondary bus to 0x10,
conflicting with its own primary bus (0x10) and the downstream
rtl_eth2 child node's bus (0x11)?
> +
> + rtl_eth2: ethernet@0,0 {
> + compatible = "pci10ec,8125";
> + reg = <0x110000 0 0 0 0>;
> + };
> + };
> };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260910-rk3588-dts-rtl-eth-describe-dt-alias-v5-0-c1b9e5f10cd6@pardini.net?part=5
next prev parent reply other threads:[~2026-09-11 20:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 20:07 [PATCH v5 0/7] describe RTL8125 PCIe NICs on Rockchip boards (and add DT binding) Ricardo Pardini via B4 Relay
2026-09-10 20:07 ` [PATCH v5 1/7] dt-bindings: net: add Realtek RTL8125 PCIe Ethernet Ricardo Pardini via B4 Relay
2026-09-12 12:43 ` Heiko Stuebner
2026-09-10 20:07 ` [PATCH v5 2/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on NanoPC-T6 Ricardo Pardini via B4 Relay
2026-09-11 9:52 ` Diederik de Haas
2026-09-11 12:19 ` Ricardo Pardini
2026-09-11 13:04 ` Diederik de Haas
2026-09-10 20:07 ` [PATCH v5 3/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on ROCK 5 family Ricardo Pardini via B4 Relay
2026-09-10 20:07 ` [PATCH v5 4/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on CM3588-NAS Ricardo Pardini via B4 Relay
2026-09-11 20:08 ` sashiko-bot
2026-09-10 20:07 ` [PATCH v5 5/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on NanoPi R5S Ricardo Pardini via B4 Relay
2026-09-11 20:08 ` sashiko-bot [this message]
2026-09-10 20:07 ` [PATCH v5 6/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on NanoPi R6C Ricardo Pardini via B4 Relay
2026-09-10 20:07 ` [PATCH v5 7/7] arm64: dts: rockchip: describe PCIe RTL8125 Ethernet on ROCK 5 ITX Ricardo Pardini via B4 Relay
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=20260911200817.5481D1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ricardo@pardini.net \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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