Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: rockchip: Add Firefly AIO-3588Q
@ 2026-11-25 11:47 Saeed Nourian
  2026-11-25 11:47 ` [PATCH 1/2] dt-bindings: arm: " Saeed Nourian
  2026-11-25 11:47 ` [PATCH 2/2] arm64: dts: " Saeed Nourian
  0 siblings, 2 replies; 3+ messages in thread
From: Saeed Nourian @ 2026-11-25 11:47 UTC (permalink / raw)
  To: Heiko Stuebner, linux-rockchip
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
	linux-arm-kernel, linux-kernel, Saeed Nourian

Add a device tree for the Firefly AIO-3588Q, an AIO carrier board for the
iCore-3588Q system-on-module.

The module itself is already described by rk3588-firefly-icore-3588q.dtsi,
so the new file only describes the carrier: the two RGMII Ethernet ports
with their RTL8211F PHYs, microSD, the USB hubs and ports, the PCIe 3.0 x4
slot, the M.2 PCIe slot, the PCA9555 GPIO expander, the HYM8563 RTC, the
fan, the LEDs, the recovery key on SARADC channel 1 and the three Rocket
NPU cores.

Besides the board bring-up itself, this series enables the RK3588 NPU
on mainline. The three cores and their IOMMUs come from the SoC dtsi
and are bound by the Rocket accel driver; all this board has to supply
is npu-supply and sram-supply. Testing details are below.

The first patch only adds the compatible string to the existing "Firefly
iCore-3588Q-based boards" enum.

Tested on hardware with Linux 7.4-rc1 (for-next, e19bd795e8, plus this
series), booted from TFTP with a RAM-only initramfs, without touching the
existing image on the eMMC:

  - eMMC comes up in HS400 Enhanced strobe, all existing partitions intact
  - both GMACs bind, RTL8211F is detected on both MDIO buses, and both
    ports link up at 1 Gbit/s and pass ICMP traffic cleanly
  - the GL3523 hub enumerates on both its USB 2.0 and USB 3.0 side, the
    four type-A ports are its downstream ports and a USB 2.0 device works
    on each of them; the onboard FE1.1S hub enumerates on the EHCI port
  - a microSD card enumerates as UHS-I SDR104; no card detect events were
    seen, so broken-cd is set and the slot is polled
  - both PCIe host bridges come up (both slots were empty during the test)
  - the PMIC regulators, PCA9555 and HYM8563 (rtc0) are present on I2C
  - NPU: all three cores probe and report "Rockchip NPU core N version:
    1179210309", the IOMMUs attach, /dev/accel/accel0 is created, and
    a runtime probe through it passes
  - the devicetree has no deferred devices

The hub RESET# lines are wired to the PCA9555 and are released with
gpio-hog nodes; describing the hubs themselves is left for later.  The
display outputs (HDMI0, DP0, VGA through DP1, eDP, DSI0), the Type-C port,
the ES8388 audio codec, HDMI-in, the camera connectors and the 4G/5G modem
are not described yet and are left for follow-up patches.  PCA9555 line 3
is used both as the user LED and as an SD power enable; only the LED is
modelled here, and the card slot is powered through line 13.

AI coding assistants were used to help prepare the DTS (cross-checking the
board's hardware description and some of the edits, mainly the USB hub
nodes). I reviewed all of it and tested the result on the board.

Saeed Nourian (2):
  dt-bindings: arm: rockchip: Add Firefly AIO-3588Q
  arm64: dts: rockchip: Add Firefly AIO-3588Q

 .../devicetree/bindings/arm/rockchip.yaml     |   1 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588-firefly-aio-3588q.dts | 434 ++++++++++++++++++
 3 files changed, 436 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-firefly-aio-3588q.dts

-- 
2.43.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-25 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 11:47 [PATCH 0/2] arm64: dts: rockchip: Add Firefly AIO-3588Q Saeed Nourian
2026-11-25 11:47 ` [PATCH 1/2] dt-bindings: arm: " Saeed Nourian
2026-11-25 11:47 ` [PATCH 2/2] arm64: dts: " Saeed Nourian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox