Skip to content

riscv: dts: sifive: fu740: Fix compatible strings per IP versioning

Max Hsu linux-devicetree linux-riscv lkml netdev 1 version In review

Get series with b4
b4 am [email protected] change-id 20260111-fu740-277eee3deae2

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Changes in this series from the cover letter

- Patch 1: Add FU740 ethernet compatible string to the Cadence MACB binding documentation
- Patch 2: Add FU740 PLIC compatible string to the PLIC binding documentation
- Patch 3: Add FU740-specific configuration to the Cadence MACB driver; the FU740 ethernet controller is functionally identical to FU540, so it reuses the existing implementation
- Patch 4: Update the FU740 DTS to use the correct ethernet compatible string "sifive,fu740-c000-gem"
- Patch 5: Update the FU740 DTS to use the correct PLIC compatible string "sifive,fu740-c000-plic"

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: net: macb: Add SiFive FU740-C000 supportDocumentation/devicetree/bindings/net/cdns,macb.yaml+5 -22 replies
2/5dt-bindings: interrupt-controller: Add SiFive FU740-C000 PLICDocumentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml+1 -03 replies
3/5net: macb: Add support for SiFive FU740-C000drivers/net/ethernet/cadence/macb_main.c+14 -33 replies
4/5riscv: dts: sifive: fu740: Use correct ethernet compatible stringarch/riscv/boot/dts/sifive/fu740-c000.dtsi+1 -10 replies
5/5riscv: dts: sifive: fu740: Use correct PLIC compatible stringarch/riscv/boot/dts/sifive/fu740-c000.dtsi+1 -10 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/5
2/5A-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] riscv: dts: sifive: fu740: Fix compatible strings per IP versioning

This series corrects the device tree compatible strings for the SiFive FU740-C000 SoC to comply with the SiFive IP versioning scheme documented in Documentation/devicetree/bindings/sifive/sifive-blocks-ip-versioning.txt.

According to the versioning guidelines, each SoC should use SoC-specific compatible strings even when IP blocks are functionally identical across different SoCs. This ensures proper hardware identification and allows for future flexibility.

The series updates both the ethernet (MACB) and PLIC compatible strings for the FU740, adds the corresponding device tree binding documentation, and adds driver support for the FU740 ethernet controller.

Changes in this series:
- Patch 1: Add FU740 ethernet compatible string to the Cadence MACB binding documentation
- Patch 2: Add FU740 PLIC compatible string to the PLIC binding documentation
- Patch 3: Add FU740-specific configuration to the Cadence MACB driver; the FU740 ethernet controller is functionally identical to FU540, so it reuses the existing implementation
- Patch 4: Update the FU740 DTS to use the correct ethernet compatible string "sifive,fu740-c000-gem"
- Patch 5: Update the FU740 DTS to use the correct PLIC compatible string "sifive,fu740-c000-plic"

Tested on HiFive Unmatched (FU740-C000) hardware with network functionality verified.

---
Max Hsu (5):
dt-bindings: net: macb: Add SiFive FU740-C000 support
dt-bindings: interrupt-controller: Add SiFive FU740-C000 PLIC
net: macb: Add support for SiFive FU740-C000
riscv: dts: sifive: fu740: Use correct ethernet compatible string
riscv: dts: sifive: fu740: Use correct PLIC compatible string

 .../interrupt-controller/sifive,plic-1.0.0.yaml         |  1 +
 Documentation/devicetree/bindings/net/cdns,macb.yaml    |  7 +++++--
 arch/riscv/boot/dts/sifive/fu740-c000.dtsi              |  4 ++--
 drivers/net/ethernet/cadence/macb_main.c                | 17 ++++++++++++++---
 4 files changed, 22 insertions(+), 7 deletions(-)

---
base-commit: 9702969978695d9a699a1f34771580cdbb153b33
change-id: 20260111-fu740-277eee3deae2

Best regards,

Signature · 1 line
Max Hsu <[email protected]>