Commit f702475b authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Florian Fainelli
Browse files

ARM: dts: bcm2835-rpi: Move duplicate firmware-clocks to bcm2835-rpi.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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20240402000424.4650-6-laurent.pinchart@ideasonboard.com


Signed-off-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
parent e54c32f8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -20,11 +20,6 @@ aliases {
};

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

	expgpio: gpio {
		compatible = "raspberrypi,firmware-gpio";
		gpio-controller;
+0 −7
Original line number Diff line number Diff line
@@ -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>;
+5 −0
Original line number Diff line number Diff line
@@ -5,6 +5,11 @@ soc {
		firmware: firmware {
			compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
			mboxes = <&mailbox>;

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

		power: power {