Skip to content

sunxi: sync H3, H5, A64 DTs from mainline Linux

Andre Przywara u-boot 12 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 0 repliesNew
  2. v6 posting 3/30 of 7 patches 0 repliesSuperseded
  3. v6 posting 2/30 of 7 patches 0 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v6 posting 1/37 patches0 repliesSuperseded
v5 posting 2/20 of 11 patches0 repliesSuperseded
v5 posting 1/211 patches0 repliesSuperseded
v4 posting 4/40 of 19 patches0 repliesSuperseded
v4 posting 3/40 of 19 patches0 repliesSuperseded
v4 posting 2/40 of 19 patches0 repliesSuperseded
v4 posting 1/419 patches6 repliesSuperseded
v320 patches2 repliesSuperseded
v11 patch0 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sunxi: DT: A64: update device tree file for Allwinner A64 SoCarch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi arch/arm/dts/sun50i-a64.dtsi include/dt-bindings/clock/sun8i-r-ccu.h +1 more+399 -790 replies
2/6sunxi: DT: A64: update board .dts files from Linuxarch/arm/dts/axp803.dtsi arch/arm/dts/sun50i-a64-bananapi-m64.dts arch/arm/dts/sun50i-a64-nanopi-a64.dts +5 more+900 -720 replies
3/6sunxi: DT: update device tree files for Allwinner H3 and H5 SoCsarch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts arch/arm/dts/sun50i-h5-nanopi-neo2.dts arch/arm/dts/sun50i-h5-orangepi-pc2.dts +17 more+1018 -5540 replies
4/6sunxi: DT: H5: update board .dts files from Linuxarch/arm/dts/sun50i-h5-libretech-all-h3-cc.dts arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts arch/arm/dts/sun50i-h5-nanopi-neo2.dts +3 more+536 -630 replies
5/6sunxi: DT: H3: update board .dts files from Linuxarch/arm/dts/sun8i-h2-plus-orangepi-zero.dts arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts +12 more+604 -1610 replies
6/6sunxi: DT: A64: add proper SoPine baseboard device treearch/arm/dts/Makefile arch/arm/dts/sun50i-a64-sopine-baseboard.dts arch/arm/dts/sun50i-a64-sopine.dtsi +1 more+295 -20 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMaxime Ripard
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

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

Read the v7 thread

Cover letter [U-Boot] [PATCH v7 0/6] sunxi: sync H3, H5, A64 DTs from mainline Linux

This is an updated version of the series which brings the exact mainline Linux device tree files for various Allwinner boards into U-Boot. Apart from using the usually more correct reference DT files, this offers the big benefit of being able to use U-Boot's DT copy for directly passing it to the kernel. This avoids to actually load a .dtb file from somewhere, and allows seamless and automatic UEFI booting, so distribution installer images should just work (TM).

This covers the ARMv8 SoCs (H5, A64), but also all boards with the H3, as this is somewhat married to the H5 and can only be updated together. The H3 and H5 DT files have diverged quite a bit, but as U-Boot's own usage of the DT is (yet) quite limited, there should be no regressions. The patches are split to first update the SoC .dtsi file, then the board .dts files in a second patch. They are grouped to handle the A64 first, then the H5 and H3. I put the respective kernel commit IDs in the commit messages.
Patch 6 brings in the mainline DT for the SoPine baseboard, for which we didn't have a separate .dts in U-Boot so far.

This is based on origin/master, and requires the USB shutdown fix. Please let me know what I should it base it against, maybe closer to the time we actually want to merge this (to avoid playing cat and mouse here).

Maxime, I kept you Acked-by: from the previous posts, as I literally just updated to the latest Linux master, which went through your review anyway. Hope that's OK for you.

Cheers,
Andre.

Changelog v6 .. v7:
- drop Pine64-LTS DT (will send it to Linux first)
- update to Linux v4.18-rc3

Changelog v5 .. v6:
- bring back DT update patches
- update to Linux v4.17-rc5

Changelog v4 .. v5:
- drop Linux DT update patches for now
- fix minor checkpatch complaints

Changelog v3 .. v4:
- remove MMC environment for all Allwinner boards (including 32 bit ones)
- keep MMC environment offset to the old values
- drop DT adjustments to use fixed MMC regulator

Changelog v2 .. v3:
01: added, was on the list before
02: drop redundant H5 line
03-08: unchanged
09-20: added

Changelog v1 .. v2:
01, 02, 03: unchanged
04, 05, 06, 07: added

Andre Przywara (6):
sunxi: DT: A64: update device tree file for Allwinner A64 SoC
sunxi: DT: A64: update board .dts files from Linux
sunxi: DT: update device tree files for Allwinner H3 and H5 SoCs
sunxi: DT: H5: update board .dts files from Linux
sunxi: DT: H3: update board .dts files from Linux
sunxi: DT: A64: add proper SoPine baseboard device tree

 arch/arm/dts/Makefile                           |   3 +-
 arch/arm/dts/axp803.dtsi                        | 155 +++++
 arch/arm/dts/sun50i-a64-bananapi-m64.dts        | 195 +++++-
 arch/arm/dts/sun50i-a64-nanopi-a64.dts          | 111 ++-
 arch/arm/dts/sun50i-a64-olinuxino.dts           | 153 ++++-
 arch/arm/dts/sun50i-a64-orangepi-win.dts        | 135 +++-
 arch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi |  59 --
 arch/arm/dts/sun50i-a64-pine64-plus.dts         |  17 +-
 arch/arm/dts/sun50i-a64-pine64.dts              | 186 ++++-
 arch/arm/dts/sun50i-a64-sopine-baseboard.dts    | 150 +++++
 arch/arm/dts/sun50i-a64-sopine.dtsi             | 142 ++++
 arch/arm/dts/sun50i-a64.dtsi                    | 305 ++++++++-
 arch/arm/dts/sun50i-h5-libretech-all-h3-cc.dts  |   5 +-
 arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts     | 122 +++-
 arch/arm/dts/sun50i-h5-nanopi-neo2.dts          |  91 ++-
 arch/arm/dts/sun50i-h5-orangepi-pc2.dts         | 151 ++++-
 arch/arm/dts/sun50i-h5-orangepi-prime.dts       | 176 ++++-
 arch/arm/dts/sun50i-h5-orangepi-zero-plus2.dts  |  64 +-
 arch/arm/dts/sun50i-h5.dtsi                     |  38 +-
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts    |  55 +-
 arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts      |  96 ++-
 arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts   |   3 +-
 arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts        |  78 +++
 arch/arm/dts/sun8i-h3-nanopi-m1.dts             |  42 ++
 arch/arm/dts/sun8i-h3-nanopi-neo-air.dts        |  28 +-
 arch/arm/dts/sun8i-h3-nanopi-neo.dts            |  17 +
 arch/arm/dts/sun8i-h3-nanopi.dtsi               |  13 +-
 arch/arm/dts/sun8i-h3-orangepi-2.dts            |  92 ++-
 arch/arm/dts/sun8i-h3-orangepi-lite.dts         |  57 +-
 arch/arm/dts/sun8i-h3-orangepi-one.dts          | 116 +++-
 arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts      |  11 +-
 arch/arm/dts/sun8i-h3-orangepi-pc.dts           | 141 +++-
 arch/arm/dts/sun8i-h3-orangepi-plus.dts         |  29 +-
 arch/arm/dts/sun8i-h3-orangepi-plus2e.dts       |  15 +-
 arch/arm/dts/sun8i-h3.dtsi                      | 602 +++--------------
 arch/arm/dts/sunxi-h3-h5.dtsi                   | 860 ++++++++++++++++++++++++
 arch/arm/dts/sunxi-libretech-all-h3-cc.dtsi     |   2 -
 configs/sopine_baseboard_defconfig              |   2 +-
 include/dt-bindings/clock/sun8i-de2.h           |  18 +
 include/dt-bindings/clock/sun8i-r-ccu.h         |  59 ++
 include/dt-bindings/reset/sun8i-de2.h           |  14 +
 include/dt-bindings/reset/sun8i-r-ccu.h         |  53 ++
 42 files changed, 3741 insertions(+), 920 deletions(-)
 create mode 100644 arch/arm/dts/axp803.dtsi
 delete mode 100644 arch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi
 create mode 100644 arch/arm/dts/sun50i-a64-sopine-baseboard.dts
 create mode 100644 arch/arm/dts/sun50i-a64-sopine.dtsi
 create mode 100644 arch/arm/dts/sunxi-h3-h5.dtsi
 create mode 100644 include/dt-bindings/clock/sun8i-de2.h
 create mode 100644 include/dt-bindings/clock/sun8i-r-ccu.h
 create mode 100644 include/dt-bindings/reset/sun8i-de2.h
 create mode 100644 include/dt-bindings/reset/sun8i-r-ccu.h
Signature · 1 line
2.14.4