Skip to content

Commit 568680a

Browse files
6by9ffainelli
authored andcommitted
arm64: dts: broadcom: Add firmware clocks and power nodes to Pi5 DT
BCM2712 still uses the firmware clocks and power drivers, so add them to the base device tree. The brcm,bcm2836-l1-intc controller isn't used on this platform. It is used on 32-bit kernels for the smp_boot_secondary hook, but BCM2712 can't run a 32-bit kernel. Signed-off-by: Dave Stevenson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 40384c8 commit 568680a

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,31 @@
6262
sd-uhs-ddr50;
6363
sd-uhs-sdr104;
6464
};
65+
66+
&soc {
67+
firmware: firmware {
68+
compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
69+
#address-cells = <1>;
70+
#size-cells = <1>;
71+
72+
mboxes = <&mailbox>;
73+
dma-ranges;
74+
75+
firmware_clocks: clocks {
76+
compatible = "raspberrypi,firmware-clocks";
77+
#clock-cells = <1>;
78+
};
79+
80+
reset: reset {
81+
compatible = "raspberrypi,firmware-reset";
82+
#reset-cells = <1>;
83+
};
84+
};
85+
86+
power: power {
87+
compatible = "raspberrypi,bcm2835-power";
88+
firmware = <&firmware>;
89+
#power-domain-cells = <1>;
90+
};
91+
92+
};

arch/arm64/boot/dts/broadcom/bcm2712.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,6 @@
221221
#mbox-cells = <0>;
222222
};
223223

224-
local_intc: interrupt-controller@7cd00000 {
225-
compatible = "brcm,bcm2836-l1-intc";
226-
reg = <0x7cd00000 0x100>;
227-
};
228-
229224
uart10: serial@7d001000 {
230225
compatible = "arm,pl011", "arm,primecell";
231226
reg = <0x7d001000 0x200>;

0 commit comments

Comments
 (0)