blob: 098903d2e118e1de363ae88209d7b9a7ec4e1ffd [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From a0ebfa1829b5d3a1f698426c29f99078640b498f Mon Sep 17 00:00:00 2001
2From: Maxime Ripard <maxime@cerno.tech>
3Date: Mon, 23 Dec 2019 19:58:30 +0100
4Subject: [PATCH] ARM: dts: bcm2711: Add firmware clocks node
5
6Now that we have a clock driver for the clocks exposed by the firmware,
7let's add the device tree nodes for it.
8
9Signed-off-by: Maxime Ripard <maxime@cerno.tech>
10---
11 arch/arm/boot/dts/bcm2711-rpi.dtsi | 2 +-
12 arch/arm/boot/dts/bcm2711.dtsi | 5 +++++
13 2 files changed, 6 insertions(+), 1 deletion(-)
14
15--- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
16+++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
17@@ -33,7 +33,7 @@
18
19 power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>;
20 resets = <&pm BCM2835_RESET_V3D>;
21- clocks = <&clocks BCM2835_CLOCK_V3D>;
22+ clocks = <&firmware_clocks 5>;
23 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
24 status = "disabled";
25 };
26--- a/arch/arm/boot/dts/bcm2711.dtsi
27+++ b/arch/arm/boot/dts/bcm2711.dtsi
28@@ -31,6 +31,11 @@
29 };
30 };
31
32+ firmware_clocks: firmware-clocks {
33+ compatible = "raspberrypi,firmware-clocks";
34+ raspberrypi,firmware = <&firmware>;
35+ #clock-cells = <1>;
36+ };
37
38 soc {
39 /*