[PATCH v2 0/3] Sync PolarFire SoC dts with Linux

Conor Dooley conor.dooley at microchip.com
Thu Jun 15 12:12:41 CEST 2023


Hey,

Couple of patches here that do a long-overdue sync of the Linux
devicetree for PolarFire SoC & the Icicle kit with Linux.
This wasn't possible for a while due to an incorrect dts & clock driver
that were based on a pre-upstream version of the dt-binding. That's
fixed now, so a complete re-sync is possible.

To elide complaints about the mac address not being set for the second
ethernet, the code which set it for ethernet0 has been changed to set it
for whichever (or both) of the macbs that are enabled.

Hopefully I'll have a follow-on bit of work soonTM that will rework the
mac address setting code as it'll be needed to support another board.

Cheers,
Conor.

Changes in v2:
- Fix address in error print in 3/3

Conor Dooley (3):
  riscv: dts: drop microchip from dts filenames
  riscv: dts: sync mpfs-icicle devicetree with linux
  board: microchip: set mac address for ethernet1 on icicle

 arch/riscv/dts/Makefile                       |   2 +-
 arch/riscv/dts/microchip-mpfs-icicle-kit.dts  | 136 ------
 arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi    |  71 +++
 ...-boot.dtsi => mpfs-icicle-kit-u-boot.dtsi} |   0
 arch/riscv/dts/mpfs-icicle-kit.dts            | 208 +++++++++
 .../dts/{microchip-mpfs.dtsi => mpfs.dtsi}    | 442 ++++++++----------
 board/microchip/mpfs_icicle/mpfs_icicle.c     |  15 +-
 configs/microchip_mpfs_icicle_defconfig       |   2 +-
 doc/board/microchip/mpfs_icicle.rst           |   6 +-
 .../dt-bindings/clock/microchip-mpfs-clock.h  |  29 +-
 .../microchip-mpfs-plic.h                     | 196 --------
 .../interrupt-controller/riscv-hart.h         |  17 -
 12 files changed, 514 insertions(+), 610 deletions(-)
 delete mode 100644 arch/riscv/dts/microchip-mpfs-icicle-kit.dts
 create mode 100644 arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi
 rename arch/riscv/dts/{microchip-mpfs-icicle-kit-u-boot.dtsi => mpfs-icicle-kit-u-boot.dtsi} (100%)
 create mode 100644 arch/riscv/dts/mpfs-icicle-kit.dts
 rename arch/riscv/dts/{microchip-mpfs.dtsi => mpfs.dtsi} (57%)
 delete mode 100644 include/dt-bindings/interrupt-controller/microchip-mpfs-plic.h
 delete mode 100644 include/dt-bindings/interrupt-controller/riscv-hart.h

-- 
2.40.1



More information about the U-Boot mailing list