[PATCH v2 0/2] Add support for EmbedFire LubanCat 4 board

Pufan Jin posted 2 patches 1 week, 3 days ago
Only 0 patches received!
.../devicetree/bindings/arm/rockchip.yaml     |   5 +
arch/arm64/boot/dts/rockchip/Makefile         |   1 +
.../boot/dts/rockchip/rk3588s-lubancat-4.dts  | 786 ++++++++++++++++++
3 files changed, 792 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-lubancat-4.dts
[PATCH v2 0/2] Add support for EmbedFire LubanCat 4 board
Posted by Pufan Jin 1 week, 3 days ago
The LubanCat 4 is a single board computer from EmbedFire based on the
Rockchip RK3588S SoC.

This series adds a device tree binding compatible and a board DTS
covering the peripherals needed to boot into a userspace from eMMC or
SD card with networking:

  - UART2 debug console
  - RK806 SPI PMIC with the full regulator tree, and RK8602/RK8603
    fan53555-family supplies for the big CPU cluster and NPU
  - eMMC (HS400 enhanced strobe) and SD card (UHS SDR104)
  - GMAC1 with RGMII PHY on MDIO1 (Realtek RTL8211F, described via
    the generic clause-22 compatible)
  - HDMI0 output through hdptxphy0 and VOP2
  - PCIe 2.0 x1 (mini PCIe slot) via combphy0_ps
  - USB 2.0 host ports and one USB 3.0 host port
  - HYM8563 RTC on I2C0
  - On-board heartbeat LED and PWM fan header

Peripherals that require drivers or bindings not yet in mainline
(ES8388 audio codec, FUSB302-based USB-C, MIPI-CSI, NPU/VDEC/VENC,
DSI panels, IR receiver) are deliberately left out and can be added
in follow-up series.

The board has been tested on hardware: it boots to userspace over the
serial console from both eMMC and SD card, and Ethernet on GMAC1
negotiates 1000Mbps/Full duplex with phy-mode = "rgmii".

Changes since v1:
  - Use real name in From/Signed-off-by/Copyright (Conor Dooley)
  - Correct PHY identification: board revision 20241026 uses Realtek
    RTL8211F, not JLSemi JL21xx as stated in v1
  - Change phy-mode from "rgmii-rxid" to "rgmii": the PCB provides
    ~2ns of trace delay on both TXC and RXC, so neither the MAC nor
    the PHY should add internal delay (Andrew Lunn)
  - Drop tx_delay property
  - Add comment explaining why "rgmii" is correct here (Andrew Lunn)

Pufan Jin (2):
  dt-bindings: arm: rockchip: Add EmbedFire LubanCat 4 board
  arm64: dts: rockchip: Add EmbedFire LubanCat 4 board

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3588s-lubancat-4.dts  | 786 ++++++++++++++++++
 3 files changed, 792 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-lubancat-4.dts


base-commit: b143af2d0da7b01f82f8ea795a0623effab394e7
-- 
2.55.0