Skip to content

Commit 65627d4

Browse files
committed
Merge tag 'arm-soc/for-6.18/devicetree-fixes' of https://github.com/Broadcom/stblinux into arm/fixes
This pull request contains Broadcom ARM-based SoCs Device Tree fixes for 6.18, please pull the following: - Stefan switches the V3D block to use the firmware clock, rather than the bare metal clock. This fixes hangs on boot after recent changes to the V3D driver clocking went in. * tag 'arm-soc/for-6.18/devicetree-fixes' of https://github.com/Broadcom/stblinux: ARM: dts: broadcom: rpi: Switch to V3D firmware clock Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 71a5970 + 4adc20b commit 65627d4

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@
7777
/delete-property/ pinctrl-0;
7878
};
7979

80+
&pm {
81+
clocks = <&firmware_clocks 5>,
82+
<&clocks BCM2835_CLOCK_PERI_IMAGE>,
83+
<&clocks BCM2835_CLOCK_H264>,
84+
<&clocks BCM2835_CLOCK_ISP>;
85+
clock-names = "v3d", "peri_image", "h264", "isp";
86+
};
87+
8088
&rmem {
8189
/*
8290
* RPi4's co-processor will copy the board's bootloader configuration

arch/arm/boot/dts/broadcom/bcm2835-rpi-common.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@
1313
clock-names = "pixel", "hdmi";
1414
};
1515

16+
&pm {
17+
clocks = <&firmware_clocks 5>,
18+
<&clocks BCM2835_CLOCK_PERI_IMAGE>,
19+
<&clocks BCM2835_CLOCK_H264>,
20+
<&clocks BCM2835_CLOCK_ISP>;
21+
clock-names = "v3d", "peri_image", "h264", "isp";
22+
};
23+
1624
&v3d {
25+
clocks = <&firmware_clocks 5>;
1726
power-domains = <&power RPI_POWER_DOMAIN_V3D>;
1827
};
1928

0 commit comments

Comments
 (0)