Skip to content

arm64: dts: bcm2712-ds: Remove downstream duplication - #7797

Merged
pelwell merged 1 commit into
raspberrypi:rpi-6.18.yfrom
pelwell:dtdedup
Nov 25, 2026
Merged

pelwell merged 1 commit into
raspberrypi:rpi-6.18.yfrom
pelwell:dtdedup

Conversation

@pelwell

@pelwell pelwell commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Upstream are gradually populating bcm2712.dtsi with more of the SoC
features. Remove any duplicates from bcm2712-ds.dtsi, so that it only
contains differences.

@popcornmix

Copy link
Copy Markdown
Collaborator

Ignore the bisect (that will go with a squash).

Looks good. bcm2712.dtsi is now identical to v6.18.65, and the dtb results check out.

Built dtbs (bcm2712_defconfig, before vs after, phandles ignored)

  • Overlays and all bcm2710/2711/2837 dtbs: no change.
  • All 8 bcm2712 dtbs get the same change (CM5 only differs in its ant_pins line):
    • sdio2 moves from /axi/mmc@1100000 to /soc@107c000000/mmc@1100000. It is the same physical address via the /soc ranges, and sdio1 already sits under /soc. It gains clock-names = "sw_sdio" and the brcm,sdhci-brcmstb fallback.
    • v3d is renamed /axi/v3d@2000000 → /axi/gpu@1002000000 (the unit address is now correct).
    • pm gains the brcm,bcm2835-pm-wdt fallback and reg size 0x604. of_match_node still picks brcm,bcm2712-pm, so is_2712 is unchanged.
    • gio gains the brcm,bcm7445-gpio compatible.
    • uarta gains clocks = <&clk_sw_baud> (fixed 96 MHz) and interrupt-names. 8250_bcm7271 now takes the baud-mux path, but every rate resolves to 96 MHz, the same as clock-frequency.
  • No overlay or dts refers to the old paths. The wifi/wifi0 aliases follow the move.

Comments

  1. Bisect: commits 1 and 2 don't build on their own (Duplicate label 'v3d', then also 'sdio2'); only commit 3 fixes them. Worth squashing the two reverts into commit 3, or putting them after it.
  2. Nit (existing): clocks-names = "v3d"; in the &v3d override should be clock-names. It works only because v3d takes the first clock unnamed. pisp_be has the same typo.
  3. Nit: #include <dt-bindings/soc/bcm2835-pm.h> in bcm2712-ds.dtsi is now redundant, as bcm2712.dtsi includes it.

Upstream are gradually populating bcm2712.dtsi with more of the SoC
features. Remove any duplicates from bcm2712-ds.dtsi, so that it only
contains differences.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell

pelwell commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Updated, squashed and pushed.

@pelwell
pelwell merged commit 26f9eaa into raspberrypi:rpi-6.18.y Nov 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants