Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lefteris Koutrakis" <lefteris.koutrakis@gmail.com>,
	devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v11 2/2] powerpc: dts: fsl: Add support for WatchGuard Firebox T30
Date: Sun, 29 Nov 2026 21:37:42 +0000	[thread overview]
Message-ID: <sashiko-outbox-240056@kernel.org> (raw)
In-Reply-To: <20261129212153.2663628-2-lefteris.koutrakis@gmail.com>

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] powerpc: dts: fsl: usb@23000 left enabled while conflicting
  localbus is active
- [Low] powerpc: dts: fsl: redundant gpio0 properties and misplaced
  Makefile entry
- [Low] powerpc: dts: fsl: invalid m25p,fast-read property on
  everspin,mr25h256 node
--

commit 87e68c655de9f98b735030e9b8a44417840db534
Author: Lefteris Koutrakis <lefteris.koutrakis@gmail.com>

powerpc: dts: fsl: Add support for WatchGuard Firebox T30

This commit adds initial device tree support for the WatchGuard Firebox
T30 board and enables building firebox-t30.dtb under CONFIG_MPC85xx_RDB.

> diff --git a/arch/powerpc/boot/dts/fsl/Makefile b/arch/powerpc/boot/dts/fsl/Makefile
> index d2cc8e1f007ea..8b5d0ac0ebadf 100644
> --- a/arch/powerpc/boot/dts/fsl/Makefile
> +++ b/arch/powerpc/boot/dts/fsl/Makefile
> @@ -44,3 +44,4 @@ dtb-$(CONFIG_GEF_SBC310) += gef_sbc310.dtb
>  dtb-$(CONFIG_GEF_SBC610) += gef_sbc610.dtb
>  dtb-$(CONFIG_GEF_PPC9A) += gef_ppc9a.dtb
>  dtb-$(CONFIG_MVME7100) += mvme7100.dtb
> +dtb-$(CONFIG_MPC85xx_RDB) += firebox-t30.dtb
> diff --git a/arch/powerpc/boot/dts/fsl/firebox-t30.dts b/arch/powerpc/boot/dts/fsl/firebox-t30.dts
> new file mode 100644
> index 0000000000000..f5d75e81819a6
> --- /dev/null
> +++ b/arch/powerpc/boot/dts/fsl/firebox-t30.dts

[ ... ]

> +	soc: soc@ffe00000 {
> +		ranges = <0x0 0x0 0xffe00000 0x100000>;
> +
> +		gpio0: gpio-controller@fc00 {
> +			#gpio-cells = <2>;
> +			compatible = "fsl,pq3-gpio";
> +			reg = <0xfc00 0x100>;
> +			interrupts = <47 0x2 0 0>;
> +			gpio-controller;
> +		};

[Severity: Low]
This isn't a bug, but pq3-gpio-0.dtsi (included via p1020si-post.dtsi)
already defines all of these properties for gpio-controller@fc00, so an
empty node is enough to attach the gpio0 label, matching spi0 and enet0
below.

Also, in arch/powerpc/boot/dts/fsl/Makefile above, firebox-t30.dtb is
added at the end of the file under the "# MPC86xx platforms" section
rather than with the other CONFIG_MPC85xx_RDB entries under "# MPC85xx
platforms".

[ ... ]

> +		spi0: spi@7000 {
> +			flash@0 {
> +				compatible = "everspin,mr25h256", "jedec,spi-nor";
> +				reg = <0>;
> +				spi-max-frequency = <40000000>;
> +				m25p,fast-read;

[Severity: Low]
Should m25p,fast-read be dropped from flash@0?

The Everspin MR25H256 MRAM does not support the 0x0b Fast Read opcode.
In Linux, everspin_nor_default_init() masks out SNOR_HWCAPS_READ_FAST to
prevent issuing 0x0b, so m25p,fast-read should not be set on this node.

[ ... ]

> +		usb@22000 {
> +			phy_type = "ulpi";
> +			dr_mode = "host";
> +		};

[Severity: Medium]
Should usb@23000 be explicitly disabled here?

p1020si-post.dtsi includes pq3-usb2-dr-1.dtsi, which leaves usb@23000
enabled by default.  On the P1020, USB2 shares pins with the active eLBC
controller (localbus@ffe05000).  Leaving usb@23000 enabled causes
fsl_usb2_mph_dr_of_probe() to warn about a missing dr_mode property,
fall back to host mode, and call ehci_fsl_setup_phy(), which writes
USB_CTRL_USB_EN to FSL_SOC_USB_CTRL on a controller whose pins are muxed
to the NOR flash localbus.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261129212153.2663628-1-lefteris.koutrakis@gmail.com?part=2

      reply	other threads:[~2026-11-29 21:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 21:21 [PATCH v11 1/2] dt-bindings: vendor-prefixes: Add WatchGuard Technologies, Inc Lefteris Koutrakis
2026-11-29 21:21 ` [PATCH v11 2/2] powerpc: dts: fsl: Add support for WatchGuard Firebox T30 Lefteris Koutrakis
2026-11-29 21:37   ` sashiko-bot [this message]

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-240056@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lefteris.koutrakis@gmail.com \
    --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