Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40ad4499 authored by Remi Pommarel's avatar Remi Pommarel Committed by Eric Anholt
Browse files

ARM: bcm2835: Add PWM clock support to the device tree



Signed-off-by: default avatarRemi Pommarel <repk@triplefau.lt>
[anholt: Rebased on 2835.dtsi -> 283x.dtsi change]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent f974d685
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -58,3 +58,7 @@
	status = "okay";
	bus-width = <4>;
};

&pwm {
	status = "okay";
};
+10 −0
Original line number Diff line number Diff line
@@ -180,6 +180,16 @@
			status = "disabled";
		};

		pwm: pwm@7e20c000 {
			compatible = "brcm,bcm2835-pwm";
			reg = <0x7e20c000 0x28>;
			clocks = <&clocks BCM2835_CLOCK_PWM>;
			assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
			assigned-clock-rates = <10000000>;
			#pwm-cells = <2>;
			status = "disabled";
		};

		sdhci: sdhci@7e300000 {
			compatible = "brcm,bcm2835-sdhci";
			reg = <0x7e300000 0x100>;