From: sashiko-bot@kernel.org
To: "Aleksa Paunovic" <aleksa.paunovic@htecgroup.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 6/8] riscv: dts: mips: Initial support for the P8700 Boston board
Date: Mon, 23 Nov 2026 15:06:28 +0000 [thread overview]
Message-ID: <sashiko-outbox-229489@kernel.org> (raw)
In-Reply-To: <20261123-p8700-dts-v4-6-60bb7bf8a7a1@htecgroup.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] riscv: dts: mips: non-generic PCI node names and invalid unit
addresses
--
commit 79c2f7a61a39f331205c23d7c6c9e68fb0be373c
Author: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
riscv: dts: mips: Initial support for the P8700 Boston board
This commit adds the initial device tree for the MIPS P8700 SoC and the
Boston FPGA development board, along with the corresponding Kconfig and
Makefile entries.
> diff --git a/arch/riscv/boot/dts/mips/p8700-boston.dts b/arch/riscv/boot/dts/mips/p8700-boston.dts
> new file mode 100644
> index 0000000000000..4383ef7cec152
> --- /dev/null
> +++ b/arch/riscv/boot/dts/mips/p8700-boston.dts
> @@ -0,0 +1,135 @@
[ ... ]
> + pci2: pci@14000000 {
> + compatible = "xlnx,axi-pcie-host-1.00.a";
> + device_type = "pci";
> + reg = <0x14000000 0x2000000>;
> +
> + #address-cells = <3>;
> + #size-cells = <2>;
> + #interrupt-cells = <1>;
> +
> + interrupt-parent = <&aplic_s0>;
> + interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
> +
> + ranges = <0x02000000 0 0x16000000
> + 0x16000000 0 0x100000>;
> +
> + bus-range = <0x00 0xff>;
> +
> + interrupt-map-mask = <0 0 0 7>;
> + interrupt-map = <0 0 0 1 &pci2_intc 1>,
> + <0 0 0 2 &pci2_intc 2>,
> + <0 0 0 3 &pci2_intc 3>,
> + <0 0 0 4 &pci2_intc 4>;
> +
> + pci2_intc: interrupt-controller {
> + interrupt-controller;
> + #address-cells = <0>;
> + #interrupt-cells = <1>;
> + };
> +
> + pci2_root@0,0 {
> + compatible = "pci10ee,7021";
> + reg = <0x00000000 0 0 0 0>;
> +
> + #address-cells = <3>;
> + #size-cells = <2>;
> +
> + eg20t_bridge@1,0,0 {
> + compatible = "pci8086,8800";
> + reg = <0x00010000 0 0 0 0>;
> +
> + #address-cells = <3>;
> + #size-cells = <2>;
> +
> + eg20t_mac@2,0,1 {
> + compatible = "pci8086,8802";
> + reg = <0x00020100 0 0 0 0>;
> + phy-reset-gpios = <&eg20t_gpio 6 GPIO_ACTIVE_LOW>;
> + };
> +
> + eg20t_gpio: eg20t_gpio@2,0,2 {
> + compatible = "pci8086,8803";
> + reg = <0x00020200 0 0 0 0>;
> +
> + gpio-controller;
> + #gpio-cells = <2>;
> + };
> +
> + eg20t_i2c@2,12,2 {
> + compatible = "pci8086,8817";
> + reg = <0x00026200 0 0 0 0>;
[Severity: Low]
Should the PCI child nodes under pci@14000000 use generic node names,
standard PCI unit addresses, and include device_type = "pci" and ranges on
the PCI bridges?
The underscore-separated names (pci2_root, eg20t_bridge, eg20t_mac,
eg20t_gpio, eg20t_i2c) trigger dtc W=2 warnings, fail dtbs_check against
xlnx,axi-pcie-host.yaml (which expects generic names such as pci,
ethernet, gpio, and i2c), and prevent dtc and dtschema from recognizing
eg20t_i2c as an I2C bus.
In addition, PCI unit addresses take the hex form <dev> or <dev>,<func>
without the bus number (so @1,0,0, @2,0,1, @2,0,2, and @2,12,2 with
decimal 12 should be @0, @0,1, @0,2, and @c,2), and the two PCI-to-PCI
bridge nodes need device_type = "pci" and ranges to satisfy
check_pci_bridge() in dtc and pci-pci-bridge.yaml.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-p8700-dts-v4-0-60bb7bf8a7a1@htecgroup.com?part=6
next prev parent reply other threads:[~2026-11-23 15:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 14:46 [PATCH v4 0/8] Add support for MIPS P8700 Aleksa Paunovic via B4 Relay
2026-11-23 14:46 ` [PATCH v4 1/8] dt-bindings: riscv: cpus: add mips,p8700 Aleksa Paunovic via B4 Relay
2026-11-23 14:46 ` [PATCH v4 2/8] dt-bindings: riscv: Add MIPS Boston board compatible Aleksa Paunovic via B4 Relay
2026-11-23 14:46 ` [PATCH v4 3/8] dt-bindings: interrupt-controller: Add MIPS P8700 APLIC Aleksa Paunovic via B4 Relay
2026-11-23 14:46 ` [PATCH v4 4/8] dt-bindings: interrupt-controller: Add MIPS P8700 ACLINT MSWI Aleksa Paunovic via B4 Relay
2026-11-23 14:47 ` [PATCH v4 5/8] dt-bindings: timer: Add MIPS P8700 ACLINT MTIMER Aleksa Paunovic via B4 Relay
2026-11-23 14:47 ` [PATCH v4 6/8] riscv: dts: mips: Initial support for the P8700 Boston board Aleksa Paunovic via B4 Relay
2026-11-23 15:06 ` sashiko-bot [this message]
2026-11-23 14:47 ` [PATCH v4 7/8] MAINTAINERS: Add entry for MIPS RISC-V SoC support Aleksa Paunovic via B4 Relay
2026-11-23 14:47 ` [PATCH v4 8/8] riscv: defconfig: Enable MIPS SoCs Aleksa Paunovic 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=sashiko-outbox-229489@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=aleksa.paunovic@htecgroup.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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