Skip to content

Commit

Permalink
ARM: dts: bcm2835-rpi: Move duplicate firmware-clocks to bcm2835-rpi.…
Browse files Browse the repository at this point in the history
…dtsi

The Raspberry Pi firmware handles clocks on all BCM2835-derived SoCs. It
is currently defined identically in both bcm2711-rpi.dtsi and
bcm2835-rpi-common.dtsi. Move the definitions to the common
bcm2835-rpi.dtsi file.

Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Dave Stevenson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Florian Fainelli <[email protected]>
  • Loading branch information
pinchartl authored and ffainelli committed Apr 4, 2024
1 parent e54c32f commit f702475
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
5 changes: 0 additions & 5 deletions arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
};

&firmware {
firmware_clocks: clocks {
compatible = "raspberrypi,firmware-clocks";
#clock-cells = <1>;
};

expgpio: gpio {
compatible = "raspberrypi,firmware-gpio";
gpio-controller;
Expand Down
7 changes: 0 additions & 7 deletions arch/arm/boot/dts/broadcom/bcm2835-rpi-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@

#include <dt-bindings/power/raspberrypi-power.h>

&firmware {
firmware_clocks: clocks {
compatible = "raspberrypi,firmware-clocks";
#clock-cells = <1>;
};
};

&hdmi {
clocks = <&firmware_clocks 9>,
<&firmware_clocks 13>;
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
firmware: firmware {
compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
mboxes = <&mailbox>;

firmware_clocks: clocks {
compatible = "raspberrypi,firmware-clocks";
#clock-cells = <1>;
};
};

power: power {
Expand Down

0 comments on commit f702475

Please sign in to comment.