dt-bindings: vendor-prefixes: Add WatchGuard Technologies, Inc.
Subsystems (2)
PATCH v11 1/2 dt-bindings: vendor-prefixes: Add WatchGuard Technologies, Inc.
Add the vendor prefix for WatchGuard Technologies, Inc.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -1891,6 +1891,8 @@ patternProperties: description: Wanchanglong Electronics Technology(SHENZHEN)Co.,Ltd. "^wand,.*": description: Wandbord (Technexion) + "^watchguard,.*": + description: WatchGuard Technologies, Inc. "^waveshare,.*": description: Waveshare Electronics "^wd,.*":
Signature · 1 line
2.53.0
PATCH v11 2/2 powerpc: dts: fsl: Add support for WatchGuard Firebox T30
Add initial device tree support for the WatchGuard Firebox T30 board and enable building firebox-t30.dtb under CONFIG_MPC85xx_RDB in arch/powerpc/boot/dts/fsl/Makefile.
---
Sorry for sending v11 so soon after v10. While testing v10 on the board I noticed that the reset button was missing, and dtbs_check complained about the name of the NOR flash node. I preferred to fix both now rather than have v10 reviewed as is.
Changes in v11:
- Describe the reset button (GPIO 1, active low) with a gpio-keys node. Checked on the device by reading the GPIO while pressing it.
- Rename the NOR flash node from nor@0 to flash@0, as required by the mtd-physmap binding (fixes the dtbs_check node name warning).
- No changes to patch 1/2.
Changes in v10:
- The LED on GPIO 4 is the front-panel "Mode" LED, which shows the WAN connection state. There is no USB LED on this board, so use LED_FUNCTION_WAN_ONLINE instead of LED_FUNCTION_USB.
- Collect Acked-by from Krzysztof on patch 1/2.
arch/powerpc/boot/dts/fsl/Makefile | 1 + arch/powerpc/boot/dts/fsl/firebox-t30.dts | 396 ++++++++++++++++++++++ 2 files changed, 397 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/firebox-t30.dts
arch/powerpc/boot/dts/fsl/Makefile +1 -0
@@ -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
arch/powerpc/boot/dts/fsl/firebox-t30.dts new file +396 -0
396 lines not on this page · raw message
Signature · 1 line
2.53.0
[email protected]
AI reviewRe: [PATCH v11 2/2] powerpc: dts: fsl: Add support for WatchGuard Firebox T30
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…
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 <[email protected]>
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.
Quoted 14 lines
arch/powerpc/boot/dts/fsl/Makefile +1
-0@@ -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.dtbarch/powerpc/boot/dts/fsl/firebox-t30.dts new file +0
-0
[ ... ]
arch/powerpc/boot/dts/fsl/firebox-t30.dts line 139
Quoted 10 lines
arch/powerpc/boot/dts/fsl/firebox-t30.dts new file +10
-0+ 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".
[ ... ]
arch/powerpc/boot/dts/fsl/firebox-t30.dts line 160
Quoted 6 lines
arch/powerpc/boot/dts/fsl/firebox-t30.dts new file +6
-0+ 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.
[ ... ]
arch/powerpc/boot/dts/fsl/firebox-t30.dts line 184
Quoted 4 lines
arch/powerpc/boot/dts/fsl/firebox-t30.dts new file +4
-0+ 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.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2