Skip to content

arm/arm64: Backport DTB support for Raspberry Pi Compute Module 3 to 4.19.y

Cyril Brulebois stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: dts: add Raspberry Pi Compute Module 3 and IO boardarch/arm/boot/dts/Makefile arch/arm/boot/dts/bcm2837-rpi-cm3-io3.dts arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi+140 -04 replies
2/3arm64: dts: broadcom: Add reference to Compute Module IO Board V3arch/arm64/boot/dts/broadcom/Makefile arch/arm64/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts+4 -10 replies
3/3arm64: dts: broadcom: Use the .dtb name in the rule, rather than .dtsarch/arm64/boot/dts/broadcom/Makefile+1 -10 replies

Reviews trailers per patch

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

PatchCharles FendtStefan Wahren
1/3T-b
2/3T-b
3/3T-b A-b

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/3] arm/arm64: Backport DTB support for Raspberry Pi Compute Module 3 to 4.19.y

The Raspberry Pi Compute Module 3 gathers components that are already supported in 4.19.y kernels except there's no DTB for it. This small series of patches backports:
1. the DTB addition on the arm platform
2. the extension of this addition to the arm64 platform
3. the correction of this extension.

I chose to backport patch 2 and 3 separately instead of squashing them together but I can resubmit with patches 2 and 3 merged if that's desirable.

This was successfully tested on bare metal, in 64-bit mode, with an extra patch to the raspi3-firmware packages to get the DTB installed in the right place, under the right name (bcm2710-rpi-cm3.dtb) so that the bootloader finds it. The base kernel was 4.19.37-5 as packaged in Debian.

The summary of changes follows.

Liviu Dudau (1):
arm64: dts: broadcom: Use the .dtb name in the rule, rather than .dts

Stefan Wahren (2):
ARM: dts: add Raspberry Pi Compute Module 3 and IO board
arm64: dts: broadcom: Add reference to Compute Module IO Board V3

 arch/arm/boot/dts/Makefile                         |  1 +
 arch/arm/boot/dts/bcm2837-rpi-cm3-io3.dts          | 87 ++++++++++++++++++++++
 arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi             | 52 +++++++++++++
 arch/arm64/boot/dts/broadcom/Makefile              |  3 +-
 .../boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts      |  2 +
 5 files changed, 144 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/bcm2837-rpi-cm3-io3.dts
 create mode 100644 arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi
 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts