Skip to content

arm: dts: ls1028a: sync device tree with linux

Michael Walle u-boot 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest28 patches 4 repliesIn review
  2. v429 patches 3 repliesSuperseded
  3. v329 patches 31 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v29 patches19 repliesSuperseded
v19 patches21 repliesSuperseded

Changes in v5 from the cover letter

- drop the following patch which isn't needed anymore, because it was fixed in the linux dtsi:
arm: dts: ls1028a: drop non-removable property from esdhc controller
- sync dtsi with linux 5.14.12

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28armv8: ls1028a: use the official compatible string for the GPUarch/arm/cpu/armv8/fsl-layerscape/fdt.c arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c+2 -20 replies
2/28arm: dts: ls1028a: remove /memory nodearch/arm/dts/fsl-ls1028a.dtsi+0 -60 replies
3/28arm: dts: ls1028a-{rdb, qds}: remove dm-pre-reloc propertyarch/arm/dts/fsl-ls1028a-qds.dtsi arch/arm/dts/fsl-ls1028a-rdb.dts+0 -20 replies
4/28arm: dts: ls1028a: add an empty /socarch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi arch/arm/dts/fsl-ls1028a.dtsi+11 -00 replies
5/28arm: dts: ls1028a: move the clockgen node into /socarch/arm/dts/fsl-ls1028a.dtsi+7 -70 replies
6/28arm: dts: ls1028a: move I2C controller nodes into /socarch/arm/dts/fsl-ls1028a-qds-1xxx-sch-30842.dtsi arch/arm/dts/fsl-ls1028a-qds-6xxx-sch-30842.dtsi arch/arm/dts/fsl-ls1028a-qds-7777-sch-30841.dtsi +9 more+115 -1150 replies
7/28arm: dts: ls1028a: move the FlexSPI controller nodearch/arm/dts/fsl-ls1028a.dtsi+13 -130 replies
8/28arm: dts: ls1028a: move the SPI and eSDHC controller nodes into /socarch/arm/dts/fsl-ls1028a.dtsi+58 -580 replies
9/28arm: dts: ls1028a: move the UART controller nodes into /socarch/arm/dts/fsl-ls1028a.dtsi+16 -160 replies
10/28arm: dts: ls1028a: move the low-power UART nodes into /socarch/arm/dts/fsl-ls1028a.dtsi+60 -600 replies
11/28arm: dts: ls1028a: move the GPIO controller nodes into /socarch/arm/dts/fsl-ls1028a.dtsi+33 -330 replies
12/28arm: dts: ls1028a: move SATA and USB controller nodes into /socarch/arm/dts/fsl-ls1028a.dtsi+25 -250 replies
13/28arm: dts: ls1028a: move the PCIe controller nodes into /socarch/arm/dts/fsl-ls1028a.dtsi+32 -320 replies
14/28arm: dts: ls1028a: move the watchdog node into /socarch/arm/dts/fsl-ls1028a.dtsi+5 -50 replies
15/28arm: dts: ls1028a: move the iRC node and its devices into /socarch/arm/dts/fsl-ls1028a.dtsi+103 -990 replies
16/28arm: dts: ls1028a: update the labelsarch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi arch/arm/dts/fsl-ls1028a-kontron-sl28-var1-u-boot.dtsi arch/arm/dts/fsl-ls1028a-kontron-sl28-var1.dts +20 more+81 -810 replies
17/28watchdog: sp805_wdt: use correct compatible stringarch/arm/dts/fsl-ls1028a.dtsi arch/arm/dts/hi3660.dtsi drivers/watchdog/sp805_wdt.c+4 -40 replies
18/28spi: fsl_dspi: add new compatible fsl, ls1021a-v1.0-dspiarch/arm/dts/fsl-ls1028a.dtsi drivers/spi/fsl_dspi.c+4 -30 replies
19/28spi: fsl_dspi: rename num-cs to spi-num-chipselectsarch/arm/dts/fsl-ls1012a.dtsi arch/arm/dts/fsl-ls1028a.dtsi arch/arm/dts/fsl-ls1043a.dtsi +7 more+20 -190 replies
20/28serial: lpuart: add new compatible fsl, ls1028a-lpuartarch/arm/dts/fsl-ls1028a.dtsi drivers/serial/serial_lpuart.c+8 -120 replies
21/28scsi: ceva: rename the resource name to match the linux kernel onearch/arm/dts/fsl-ls1012a.dtsi arch/arm/dts/fsl-ls1028a.dtsi arch/arm/dts/fsl-ls1043a.dtsi +4 more+7 -70 replies
22/28usb: xhci: fsl: add new compatible fsl,ls1028a-dwc3arch/arm/dts/fsl-ls1028a.dtsi drivers/usb/host/xhci-fsl.c+3 -20 replies
23/28pci: layerscape: add official ls1028a binding supportarch/arm/dts/fsl-ls1028a.dtsi drivers/pci/pcie_layerscape_rc.c+53 -281 reply
24/28arm: dts: ls1028a: remove num-lanes in the PCIe controller nodesarch/arm/dts/fsl-ls1028a.dtsi+0 -20 replies
25/28arm: dts: ls1028a: move the PCI I/O window to matcharch/arm/dts/fsl-ls1028a.dtsi+2 -20 replies
26/28arm: dts: ls1028a: disable the PCIe controller by defaultarch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi arch/arm/dts/fsl-ls1028a-qds.dtsi arch/arm/dts/fsl-ls1028a-rdb.dts +1 more+31 -00 replies
27/28arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linuxarch/arm/dts/fsl-ls1028a.dtsi include/dt-bindings/clock/fsl,qoriq-clockgen.h+785 -900 replies
28/28arm: dts: sl28: sync dtbsarch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi arch/arm/dts/fsl-ls1028a-kontron-sl28-var1.dts arch/arm/dts/fsl-ls1028a-kontron-sl28-var2-u-boot.dtsi +3 more+265 -923 replies

Reviews trailers per patch

26 of 28 patches have a Reviewed-by or Acked-by.

PatchVladimir OlteanBin MengHou Zhiqiang
1/28
2/28R-b T-b
3/28R-b
4/28R-b
5/28R-b
6/28R-b
7/28R-b
8/28R-b
9/28R-b
10/28R-b
11/28R-b
12/28R-b
13/28R-b
14/28R-b
15/28R-b
16/28R-b T-b
17/28
18/28R-b
19/28R-b
20/28R-b
21/28R-b
22/28R-b
23/28R-b
24/28R-b
25/28R-b
26/28R-b
27/28R-b
28/28R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/28] arm: dts: ls1028a: sync device tree with linux

This series sync the device tree of the LS1028A SoC with the linux one. To ease future debugging and reviewing, we first clean up the existing one, removing bogus nodes, moving all CCSR related nodes in /soc and update the drivers to accept the offical compatible strings.

This was tested on a sl28 board, but the ls1028a.dtsi sync also affects the LS1028A-RDB and -QDS. It would be nice if someone could actually test it on such a board.

I didn't sync the device trees for the NXP boards because u-boot related things aren't split into its own -u-boot.dtsi file. So I'll leave that task to NXP :)

The following patch is a prerequisite for this series:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

changes since v4:
- drop the following patch which isn't needed anymore, because it was fixed in the linux dtsi:
arm: dts: ls1028a: drop non-removable property from esdhc controller
- sync dtsi with linux 5.14.12

changes since v3:
- rebase to latest master
- don't support fsl,ls1028a-gpu anymore, use the upstream compatible string

changes since v2:
- move the device tree nodes piece by piece and sort them to ease reviewing
- fix PCI driver (bindings)
- fix SATA driver (bindings)
- fix USB driver (bindings)
- split most changes which are caused by the sync of the linux device tree to own patches, eg. pcie io window, spi chip selects

The final diff for the sync is much nicer now ;)

changes since v1:
- remove u-boot,dm-pre-reloc from rdb and qds boards
- fix enetc0 and enetc2 labels

Michael Walle (28):
armv8: ls1028a: use the official compatible string for the GPU
arm: dts: ls1028a: remove /memory node
arm: dts: ls1028a-{rdb,qds}: remove dm-pre-reloc property
arm: dts: ls1028a: add an empty /soc
arm: dts: ls1028a: move the clockgen node into /soc
arm: dts: ls1028a: move I2C controller nodes into /soc
arm: dts: ls1028a: move the FlexSPI controller node
arm: dts: ls1028a: move the SPI and eSDHC controller nodes into /soc
arm: dts: ls1028a: move the UART controller nodes into /soc
arm: dts: ls1028a: move the low-power UART nodes into /soc
arm: dts: ls1028a: move the GPIO controller nodes into /soc
arm: dts: ls1028a: move SATA and USB controller nodes into /soc
arm: dts: ls1028a: move the PCIe controller nodes into /soc
arm: dts: ls1028a: move the watchdog node into /soc
arm: dts: ls1028a: move the iRC node and its devices into /soc
arm: dts: ls1028a: update the labels
watchdog: sp805_wdt: use correct compatible string
spi: fsl_dspi: add new compatible fsl,ls1021a-v1.0-dspi
spi: fsl_dspi: rename num-cs to spi-num-chipselects
serial: lpuart: add new compatible fsl,ls1028a-lpuart
scsi: ceva: rename the resource name to match the linux kernel one
usb: xhci: fsl: add new compatible fsl,ls1028a-dwc3
pci: layerscape: add official ls1028a binding support
arm: dts: ls1028a: remove num-lanes in the PCIe controller nodes
arm: dts: ls1028a: move the PCI I/O window to match
arm: dts: ls1028a: disable the PCIe controller by default
arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linux
arm: dts: sl28: sync dtbs

 arch/arm/cpu/armv8/fsl-layerscape/fdt.c       |    2 +-
 .../arm/cpu/armv8/fsl-layerscape/ls1028_ids.c |    2 +-
 arch/arm/dts/fsl-ls1012a.dtsi                 |    4 +-
 .../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi  |   37 +-
 .../fsl-ls1028a-kontron-sl28-var1-u-boot.dtsi |    2 +-
 .../arm/dts/fsl-ls1028a-kontron-sl28-var1.dts |   31 +-
 .../fsl-ls1028a-kontron-sl28-var2-u-boot.dtsi |    8 +
 .../arm/dts/fsl-ls1028a-kontron-sl28-var2.dts |   46 +-
 .../fsl-ls1028a-kontron-sl28-var3-u-boot.dtsi |    2 +-
 .../fsl-ls1028a-kontron-sl28-var4-u-boot.dtsi |    4 +-
 .../arm/dts/fsl-ls1028a-kontron-sl28-var4.dts |   18 +-
 arch/arm/dts/fsl-ls1028a-kontron-sl28.dts     |  256 ++-
 .../dts/fsl-ls1028a-qds-1xxx-sch-30842.dtsi   |    4 +-
 .../dts/fsl-ls1028a-qds-6xxx-sch-30842.dtsi   |    4 +-
 .../dts/fsl-ls1028a-qds-7777-sch-30841.dtsi   |   12 +-
 .../dts/fsl-ls1028a-qds-7xx7-sch-30841R.dtsi  |    8 +-
 .../dts/fsl-ls1028a-qds-8xxx-sch-24801.dtsi   |    4 +-
 .../fsl-ls1028a-qds-9999-sch-24801-LBRW.dtsi  |   12 +-
 .../dts/fsl-ls1028a-qds-9999-sch-24801.dtsi   |   12 +-
 arch/arm/dts/fsl-ls1028a-qds-duart.dts        |    2 +-
 .../fsl-ls1028a-qds-x3xx-sch-30841-LBRW.dtsi  |   12 +-
 .../fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi  |   12 +-
 .../dts/fsl-ls1028a-qds-x7xx-sch-30842.dtsi   |    6 +-
 .../dts/fsl-ls1028a-qds-xx7x-sch-30842.dtsi   |    6 +-
 arch/arm/dts/fsl-ls1028a-qds.dtsi             |   25 +-
 arch/arm/dts/fsl-ls1028a-rdb.dts              |   31 +-
 arch/arm/dts/fsl-ls1028a.dtsi                 | 1443 ++++++++++++-----
 arch/arm/dts/fsl-ls1043a.dtsi                 |    6 +-
 arch/arm/dts/fsl-ls1046a.dtsi                 |    6 +-
 arch/arm/dts/fsl-ls1088a.dtsi                 |    4 +-
 arch/arm/dts/fsl-ls2080a.dtsi                 |    2 +-
 arch/arm/dts/fsl-lx2160a.dtsi                 |    6 +-
 arch/arm/dts/hi3660.dtsi                      |    4 +-
 arch/arm/dts/ls1021a.dtsi                     |    6 +-
 arch/arm/dts/vf.dtsi                          |    4 +-
 drivers/ata/sata_ceva.c                       |    2 +-
 drivers/pci/pcie_layerscape_rc.c              |   61 +-
 drivers/serial/serial_lpuart.c                |    2 +
 drivers/spi/fsl_dspi.c                        |    6 +-
 drivers/usb/host/xhci-fsl.c                   |    1 +
 drivers/watchdog/sp805_wdt.c                  |    2 +-
 .../dt-bindings/clock/fsl,qoriq-clockgen.h    |   15 +
 42 files changed, 1530 insertions(+), 602 deletions(-)
 create mode 100644 include/dt-bindings/clock/fsl,qoriq-clockgen.h
Signature · 1 line
2.30.2